NE20E-V8R7,OSPF无法建立邻居

发布时间:  2017-02-18 浏览次数:  90 下载次数:  0
问题描述
1,两台NE20直连,ospf邻居无法建立
处理过程

1,查看邻居状态,显示为空

<XZSJCY-NE20E-02>dis ospf peer brief

          OSPF Process 65534 with Router ID 128.72.215.244
                   Peer Statistic Information
Total number of peer(s): 1      
 Peer(s) in full state: 1      
-------------------------------------------------------------------------
 Area Id         Interface                  Neighbor id      State      

由此看,初步确定应该是hello交互异常。


2,查看OSPF ERROR信息:

<XZSJCY-NE20E-02>dis ospf error

          OSPF Process 100 with Router ID 143.73.82.2
                  OSPF error statistics

General packet errors:
 0           : IP: received my own packet     169         : 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:
 169         : Netmask mismatch               0           : Hello timer mismatch
 0           : Dead timer mismatch            0           : Virtual neighbor unknown
 0           : NBMA neighbor unknown          0           : Invalid Source Address

提示子网掩码不一致


3,查看配置:

a:interface GigabitEthernet0/3/7
 undo shutdown
 ip address x.x.x.x 255.255.255.248

b:interface GigabitEthernet0/3/7
 description ==To-NE20E-02==
 undo shutdown
 ip address x.x.x.x 255.255.255.252

(涉及客户保密信息,地址用x.x.x.x代替)

根因
设备建立OSPF的地址掩码不一致导致,调整后正常
解决方案
设备建立OSPF的地址掩码不一致导致,调整后正常
建议与总结
dis ospf error,这个命令很管用,直达心脏

END