4.15 OSPF故障排除

1.router-id一致故障

[R2]ospf 1 router-id 1.1.1.1
Info: The configuration succeeded. You need to restart the OSPF process to validate the new router ID.

2.重启OSPF进程

<R2>reset ospf process 
Warning: The OSPF process will be reset. Continue? [Y/N]:y

3.因 Router ID一致,导致R1无法看到邻居

<R1>display ospf peer
         OSPF Process 1 with Router ID 1.1.1.1

4.查看错误信息

<R1>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
 0     : Interface down                 0     : Unknown neighbor
 0     : Bad net segment                0     : Extern option mismatch
 4     : Router id confusion

5.修改Router ID错误

[R2]ospf 1 router-id 2.2.2.2
<R2>reset ospf process 
Warning: The OSPF process will be reset. Continue? [Y/N]:y

6.R2区域ID错误故障,导致R1看不到邻居

[R2]ospf 1 router-id 2.2.2.2
[R2-ospf-1]area 1
[R2-ospf-1-area-0.0.0.1]undo network 12.1.1.0 0.255.255.255
[R2-ospf-1]area 0
[R2-ospf-1-area-0.0.0.0]network 12.1.1.0 0.255.255.255

<R1>display ospf peer brief 
         OSPF Process 1 with Router ID 1.1.1.1
                  Peer Statistic Information

7.R2掩码错误

[R2]interface GigabitEthernet 0/0/0
[R2-GigabitEthernet0/0/0]ip address 12.1.1.2 255.255.255.128

<R1>display ospf peer brief
         OSPF Process 1 with Router ID 1.1.1.1
                  Peer Statistic Information

<R1>display ospf error
HELLO packet errors:
 7     : Netmask mismatch               

8.R2上hello时间不一致故障

[R2-GigabitEthernet0/0/0]ospf timer hello 5

<R1>display ospf error
HELLO packet errors:
 12    : Netmask mismatch               2     : Hello timer mismatch

9.认证错误故障

[R1-GigabitEthernet0/0/0]ospf authentication-mode simple plain dsrw.com
[R2-GigabitEthernet0/0/0]ospf authentication-mode md5 1 plain dsrw.com

[R1-GigabitEthernet0/0/0]display ospf error 
 12    : Bad authentication type
© 版权声明
THE END
喜欢就支持一下吧
点赞12 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称

    请登录后查看评论内容