简介
本文档说明了如何排除 OSPF-5-ADJCHG 故障:...邻居已关闭:Too many retransmissions 开放最短路径优先 (OSPF) 错误消息。
错误消息说明
OSPF 邻接关系关闭并生成此错误消息:
%OSPF-5-ADJCHG: Process 1, Nbr 10.1.1.1 on TenGigabitEthernet2/1 from FULL
to DOWN, Neighbor Down: Too many retransmissions
此错误消息表示,OSPF 数据包一直在重发,直到达到 25 次重发的极限值。那时候 OSPF 邻接关系将关闭,并生成错误消息。
故障排除命令
输入 show ip ospf neighbor detail 命令以检查 OSPF 的重发状态。以下是 show ip ospf neighbor detail 命令的输出示例:
Router#show ip ospf neighbor gigabitEthernet 0/1 detail
Neighbor 10.100.100.1, interface address 10.1.1.1
In the area 0 via interface GigabitEthernet0/1
Neighbor priority is 0, State is LOADING, 5 state changes
DR is 0.0.0.0 BDR is 0.0.0.0
Options is 0x12 in Hello (E-bit L-bit )
Options is 0x52 in DBD (E-bit L-bit O-bit)
LLS Options is 0x1 (LR)
Dead timer due in 00:00:33
Neighbor is up for 00:02:06
Index 1/1, retransmission queue length 0, number of retransmission 0
First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0)
Last retransmission scan length is 0, maximum is 0
Last retransmission scan time is 0 msec, maximum is 0 msec
Number of retransmissions for last link state request packet 25
Poll due in 00:00:03
或者,您可以输入 show ip ospf retransmission-list 命令以检查 OSPF 重发状态。此命令显示一个列表,里面包含等待再次发送的所有链路状态通告 (LSA)。以下是 show ip ospf retransmission-list 命令的输出示例:
Router# show ip ospf retransmission-list serial 0
OSPF Router with ID (192.168.1.12) (Process ID 1)
Neighbor 192.168.1.11, interface Serial0 address 172.16.1.11
Link state retransmission due in 3764 msec, Queue length 2
Type LS ID ADV RTR Seq NO Age Checksum
1 192.168.1.12 192.168.1.12 0x80000210 0 0xB196
可能的原因
以下是可能导致生成错误消息的一些原因(不完整列表):