OSPF Troubleshooting

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/tladagio/article/details/87804084

A clear failure count OSPF

reset OSPF counters (counter is used to clear the OSPF)

Second, the case topology

1, the interface down (see OSPF interfaces enable state)

<Huawei>display  ospf error  

     OSPF Process 1 with Router ID 1.1.1.1
         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
 1     : Interface down                 0     : Unknown neighbor
 0     : Bad net segment                0     : Extern option mismatch
 0     : Router id confusion


2, both inconsistent area region (region connected to the device to be consistent OSPF)
[the Huawei] the display error OSPF 

     OSPF Process 1 with Router ID 1.1.1.1
         OSPF error statistics 

General Packet errors:
 0: the IP: Received My own Packet 0: of Bad Packet
 0: of Bad Version 0: of Bad Checksum
 . 4: of Bad Area ID 0: the Drop ON Unnumbered. Interface
 0: of Bad Virtual Link 0: of Bad authentication type
 0: of 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: Extem the Option mismatch the
 0: Router the above mentioned id Confusion
 
 3, certified open error
 a device opens the OSPF authentication , B does not turn the device authentication
 apparatus A:
 OSPF Router-ID. 1 1.1.1.1
 Area 0.0.0.0
  authentication-mode simple cipher J"8a#i1FF(EBi%T]n/.IO9"#
  network 192.168.1.0 0.0.0.255
  network 192.168.0.0 0.0.0.255
  设备B:
  ospf 2 router-id 2.2.2.2
 area 0.0.0.0
  network 192.168.0.0 0.0.0.255
  network 192.168.2.0 0.0.0.255

 
 [Huawei]display  ospf error  

     OSPF Process 1 with Router ID 1.1.1.1
         OSPF error statistics 

General Packet errors:
 0: the IP: Received My own Packet. 3: of Bad Packet
 0: of Bad Version 0: of Bad Checksum
 0: of Bad Area ID 0: the Drop ON Unnumbered. Interface
 0: of Bad Virtual Link. 3: of Bad authentication type
 0: of 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: Extem the Option mismatch The
 0: Router the above mentioned id Confusion
 
 4, password authentication error
 A device is turned on OSPF authentication password as: ABC, B password authentication device is turned on: ABCD
 device A:
 OSPF Router-ID. 1 1.1.1.1
 area 0.0.0.0
  authentication-mode simple cipher J"8a#i1FF(EBi%T]n/.IO9"#
  network 192.168.1.0 0.0.0.255
  network 192.168.0.0 0.0.0.255
 设备B:
 ospf 2 router-id 2.2.2.2
 area 0.0.0.0
  authentication-mode simple cipher zs+H1Hqdc.EBi%T]n/.I[PR#
  network 192.168.0.0 0.0.0.255
  network 192.168.2.0 0.0.0.255
 
 <Huawei>display ospf error

     OSPF Process 1 with Router ID 1.1.1.1
         OSPF error statistics 

General packet errors:
 0     : IP: received my own packet     14    : 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
 14    : 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

Guess you like

Origin blog.csdn.net/tladagio/article/details/87804084