LSDB(收集的LSA)
<R5>display ospf lsdb

	 OSPF Process 1 with Router ID 5.5.5.5
		 Link State Database 

		         Area: 0.0.0.0
 Type      LinkState ID    AdvRouter          Age  Len   Sequence   Metric
 Router    2.2.2.2         2.2.2.2             93  48    8000000E       1
 Router    1.1.1.1         1.1.1.1             93  48    8000000D       1
 Router    5.5.5.5         5.5.5.5             91  48    8000000D       1
 Network   10.1.12.2       2.2.2.2             93  36    80000004       0
 Sum-Net   10.1.23.0       2.2.2.2           1357  28    80000001       1
 Sum-Net   6.6.6.6         1.1.1.1           1622  28    80000001      48
 Sum-Net   10.1.27.0       2.2.2.2           1472  28    80000001       1
 Sum-Net   3.3.3.3         2.2.2.2           1320  28    80000001       1
 Sum-Net   10.1.37.0       2.2.2.2           1317  28    80000002       2
 Sum-Net   9.9.9.0         2.2.2.2           1434  28    80000001       2
 Sum-Net   7.7.7.7         2.2.2.2           1434  28    80000001       1
 Sum-Net   10.1.16.0       1.1.1.1           1632  28    80000001      48
查看接口下的OSPF信息
[R1]display ospf interface GigabitEthernet 0/0/0

	 OSPF Process 1 with Router ID 1.1.1.1
		 Interfaces 


 Interface: 10.1.12.1 (GigabitEthernet0/0/0)
 Cost: 1       State: DROther    Type: Broadcast    MTU: 1500  
 Priority: 1
 Designated Router: 10.1.12.2
 Backup Designated Router: 10.1.12.5
 Timers: Hello 10 , Dead 40 , Poll  120 , Retransmit 5 , Transmit Delay 1 
[R1]
查看OSPF错误信息
<R1>display ospf error 

	 OSPF Process 1 with Router ID 2.2.2.2
		 OSPF error statistics 

General packet errors:
 0     : IP: received my own packet     2     : Bad packet
 0     : Bad version                    0     : Bad checksum
 0     : Bad area id                    0     : Drop on unnumbered interface
 0     : Bad virtual link               0     : Bad authentication type
 0     : Bad authentication key         0     : Packet too small
 0     : Packet size > ip length        0     : Transmit error
 0     : Interface down                 2     : Unknown neighbor
 0     : Bad net segment                0     : Extern option mismatch
 7     : Router id confusion

HELLO packet errors:
 0     : Netmask mismatch               0     : Hello timer mismatch
 0     : Dead timer mismatch            0     : Virtual neighbor unknown
 0     : NBMA neighbor unknown          0     : Invalid Source Address

DD packet errors:
 0     : Neighbor state low             0     : Unknown LSA type
 0     : MTU option mismatch

LS ACK packet errors:
 0     : Neighbor state low             0     : Unknown LSA type

LS REQ packet errors:
 0     : Neighbor state low             0     : Empty request
 0     : Bad request

LS UPD packet errors:
 0     : Neighbor state low             0     : Newer self-generate LSA 
 0     : LSA checksum bad               0     : Received less recent LSA
 0     : Unknown LSA type

Opaque errors:
 0     : 9-out of flooding scope        0     : 10-out of flooding scope
 0     : 11-out of flooding scope       0     : Unkown TLV type

Retransmission for packet over Limitation errors:
 0     : Number for DD Packet           0     : Number for Update Packet
 0     : Number for Request Packet

Receive Grace LSA errors:
 0     : Number of invalid LSAs         0     : Number of policy failed LSAs
 0     : Number of wrong period LSAs

Configuration errors:
 0     : Tunnel cost mistake
清空OSPF错误信息
<R1>reset ospf counters 

<R1>display ospf error 

	 OSPF Process 1 with Router ID 2.2.2.2
		 OSPF error statistics 

General packet errors:
 0     : IP: received my own packet     0     : Bad packet
 0     : Bad version                    0     : Bad checksum
 0     : Bad area id                    0     : Drop on unnumbered interface
 0     : Bad virtual link               0     : Bad authentication type
 0     : Bad authentication key         0     : Packet too small
 0     : Packet size > ip length        0     : Transmit error
 0     : Interface down                 0     : Unknown neighbor
 0     : Bad net segment                0     : Extern option mismatch
 0     : Router id confusion

HELLO packet errors:
 0     : Netmask mismatch               0     : Hello timer mismatch
 0     : Dead timer mismatch            0     : Virtual neighbor unknown
 0     : NBMA neighbor unknown          0     : Invalid Source Address

DD packet errors:
 0     : Neighbor state low             0     : Unknown LSA type
 0     : MTU option mismatch

LS ACK packet errors:
 0     : Neighbor state low             0     : Unknown LSA type

LS REQ packet errors:
 0     : Neighbor state low             0     : Empty request
 0     : Bad request

LS UPD packet errors:
 0     : Neighbor state low             0     : Newer self-generate LSA 
 0     : LSA checksum bad               0     : Received less recent LSA
 0     : Unknown LSA type

Opaque errors:
 0     : 9-out of flooding scope        0     : 10-out of flooding scope
 0     : 11-out of flooding scope       0     : Unkown TLV type

Retransmission for packet over Limitation errors:
 0     : Number for DD Packet           0     : Number for Update Packet
 0     : Number for Request Packet

Receive Grace LSA errors:
 0     : Number of invalid LSAs         0     : Number of policy failed LSAs
 0     : Number of wrong period LSAs

Configuration errors:
 0     : Tunnel cost mistake
查看二型LSA
[R2]display ospf lsdb network 

	 OSPF Process 1 with Router ID 2.2.2.2
		         Area: 0.0.0.0
		 Link State Database 


  Type      : Network
  Ls id     : 10.1.12.2
  Adv rtr   : 2.2.2.2  
  Ls age    : 1211 
  Len       : 32 
  Options   :  E  
  seq#      : 80000005 
  chksum    : 0x55c3
  Net mask  : 255.255.255.0
  Priority  : Low
     Attached Router    2.2.2.2
     Attached Router    5.5.5.5
		         Area: 0.0.0.2
		 Link State Database