簡介
本文件說明如何疑難排解「OSPF-5-ADJCHG:...鄰居關閉:重新傳輸次數過多」的開放最短路徑優先 (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資料包的重新傳輸發生在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
可能原因
以下是可能導致產生錯誤訊息的一些可能原因(這不是完整的清單):