%May 22 13:22:05:358 2025 To-ZongDiaoZX-SW-1 LLDP/5/LLDP_NEIGHBOR_AGE_OUT: Nearest bridge agent neighbor aged out on port GigabitEthernet1/0/51 (IfIndex 51), neighbor's chassis ID is 8061-6cba-2880, port ID is Ten-GigabitEthernet1/0/5.
目前端口up,stp正常,但是業務不通,ping不通對端
(0)
最佳答案
你遇到的問題是:LLDP 鄰居老化(LLDP_NEIGHBOR_AGE_OUT
),盡管端口 物理狀態為 up,STP 狀態也正常,但業務無法通信,也 ping 不通對端設備。
LLDP_NEIGHBOR_AGE_OUT:
LLDP檢測到鄰居設備長時間無響應,鄰居信息已老化移除。
說明 對端設備沒有持續發送 LLDP 包
通常意味著對端設備:
已重啟
或鏈路中斷但鏈路未 down
或數據/轉發異常(例如 STP block、MAC/ARP未學習)
類別 | 原因說明 |
---|---|
✅ 數據轉發異常 | MAC地址未學習 / 被清除,ARP異常、ACL限製 |
✅ STP 問題 | STP雖然顯示正常,但實際可能處於 Forward Delay、TCN中,仍未轉發數據 |
✅ LLDP老化誤導 | 對端設備其實掉線了或卡死,但端口未down(如某些SFP模塊光模塊假Up) |
✅ 下層鏈路異常 | 光模塊、雙絞線損傷、接口協商異常(即 up 但收不到包) |
display mac-address interface GigabitEthernet 1/0/51
如果沒有學習對端MAC地址,說明該接口雖然up,但實際沒有接收到有效幀,可能是光模塊、對端設備問題。
display lldp neighbor interface GigabitEthernet 1/0/51
如果 LLDP 鄰居信息已經消失,說明對端未發 LLDP 包
可確認是否是對端設備死機、配置LLDP關閉、或鏈路異常
display stp brief
display stp interface GigabitEthernet 1/0/51
確認該端口是否處於 Forwarding 狀態。如果 STP 在進行 TCN 學習或臨時 Blocking,也可能導致轉發中斷。
reset arp all
reset mac-address-table
再 ping
對端設備 IP,看是否能恢複。
若使用光纖,檢查是否為 兼容模塊、模塊溫度過高、光功率低:
display transceiver interface GigabitEthernet 1/0/51 verbose
關注:
Current Rx/Tx Power:是否接收不到光信號
模塊告警(temperature, voltage)
某些配置會允許 LLDP 但阻斷 IP 轉發
可用 display acl
和對端策略核查是否意外阻斷
操作 | 說明 |
---|---|
shutdown / undo shutdown 接口 | 可強製觸發鏈路重新協商,重新建立鄰居信息 |
換光模塊/跳線測試 | 檢查硬件物理鏈路 |
與對端運維配合查看該接口收發包情況 | 確認對端是否真的在工作 |
建議動作 | 目的 |
---|---|
🔍 查看MAC地址是否學習 | 判斷是否真正收到了對端數據幀 |
🔍 查看光模塊收發光功率 | 判斷鏈路是否實際通信正常 |
🧪 重啟接口測試 | 強製鏈路重協商觸發LLDP和MAC學習 |
🔍 查看對端接口是否shutdown或者block | 需要與對端設備協同確認 |
🔁 考慮做端口mirror抓包 | 確認是否有單向通信、是否收到ARP響應等 |
如果你能提供以下信息,我可以進一步幫你精確定位:
display interface GigabitEthernet 1/0/51
display mac-address interface GigabitEthernet 1/0/51
display stp interface GigabitEthernet 1/0/51
display transceiver interface ...
(如是光口)
(0)
[To-ZongDiaoZX-SW-1]dis interface GigabitEthernet 1/0/51 GigabitEthernet1/0/51 Current state: UP Line protocol state: UP IP packet frame type: Ethernet II, hardware address: 00dd-b6da-67ce Description: GigabitEthernet1/0/51 Interface Bandwidth: 1000000 kbps Loopback is not set Media type is optical fiber, Port hardware type is 1000_BASE_LX_SFP 1000Mbps-speed mode, full-duplex mode Link speed type is autonegotiation, link duplex type is autonegotiation Flow-control is not enabled Maximum frame length: 10240 Allow jumbo frames to pass Broadcast max-ratio: 100% Multicast max-ratio: 100% Unicast max-ratio: 100% PVID: 1181 MDI type: Automdix Port link-type: Access Tagged VLANs: None Untagged VLANs: 1181 Port priority: 0 Last link flapping: 31 weeks 0 days 4 hours 17 minutes Last clearing of counters: Never Current system time:2025-05-22 17:23:35 Last time when physical state changed to up:2024-10-17 13:06:23 Last time when physical state changed to down:2024-10-17 13:06:23 Peak input rate: 228 bytes/sec, at 2024-11-19 11:02:47 Peak output rate: 281 bytes/sec, at 2024-11-19 13:02:53 Last 300 seconds input: 1 packets/sec 106 bytes/sec 0% Last 300 seconds output: 1 packets/sec 172 bytes/sec 0% Input (total): 71724676 packets, 6588609465 bytes 50183886 unicasts, 19565719 broadcasts, 1975071 multicasts, 0 pauses Input (normal): 71724676 packets, - bytes 50183886 unicasts, 19565719 broadcasts, 1975071 multicasts, 0 pauses Input: 0 input errors, 0 runts, 0 giants, 0 throttles 0 CRC, 0 frame, - overruns, 0 aborts - ignored, - parity errors Output (total): 87922680 packets, 10303146967 bytes 49565903 unicasts, 257225 broadcasts, 38099552 multicasts, 0 pauses Output (normal): 87922680 packets, - bytes 49565903 unicasts, 257225 broadcasts, 38099552 multicasts, 0 pauses Output: 0 output errors, - underruns, - buffer failures 0 aborts, 0 deferred, 0 collisions, 0 late collisions 0 lost carrier, - no carrier [To-ZongDiaoZX-SW-1]dis mac-address interface GigabitEthernet 1/0/51 MAC Address VLAN ID State Port/Nickname Aging 000f-e207-f2e0 1181 Learned GE1/0/51 Y 8061-6cba-2881 1181 Learned GE1/0/51 Y [To-ZongDiaoZX-SW-1]dis stp interface GigabitEthernet 1/0/51 ----[CIST][Port51(GigabitEthernet1/0/51)][FORWARDING]---- Port protocol : Enabled Port role : Designated Port (Boundary) Port ID : 128.51 Port cost(Legacy) : COnfig=auto, Active=20 Desg.bridge/port : 32768.00dd-b6da-678e, 128.51 Port edged : COnfig=disabled, Active=disabled Point-to-Point : COnfig=auto, Active=true Transmit limit : 10 packets/hello-time TC-Restriction : Disabled Role-Restriction : Disabled Protection type : COnfig=none, Active=none MST BPDU format : COnfig=auto, Active=802.1s Port Config- Digest-Snooping : Disabled Rapid transition : True Num of VLANs mapped : 1 Port times : Hello 2s MaxAge 20s FwdDelay 15s MsgAge 0s RemHops 20 BPDU sent : 9382160 TCN: 0, Config: 0, RST: 0, MST: 9382160 BPDU received : 12183 %May 22 15:59:43:410 2025 To-ZongDiaoZX-SW-1 SHELL/5/SHELL_LOGOUT: ddzx-admin logged out from aux0. %May 22 16:46:13:462 2025 To-ZongDiaoZX-SW-1 STP/4/STP_DISPUTE: Instance 0's port GigabitEthernet1/0/51 received an inferior BPDU from a designated port which is in forwarding or learning state. %May 22 16:46:15:447 2025 To-ZongDiaoZX-SW-1 STP/4/STP_DISPUTE: Instance 0's port GigabitEthernet1/0/51 received an inferior BPDU from a designated port which is in forwarding or learning state. %May 22 16:46:17:461 2025 To-ZongDiaoZX-SW-1 STP/4/STP_DISPUTE: Instance 0's port GigabitEthernet1/0/51 received an inferior BPDU from a designated port which is in forwarding or learning state. %May 22 16:46:19:446 2025 To-ZongDiaoZX-SW-1 STP/4/STP_DISPUTE: Instance 0's port GigabitEthernet1/0/51 received an inferior BPDU from a designated port which is in forwarding or learning state. %May 22 16:46:21:461 2025 To-ZongDiaoZX-SW-1 STP/4/STP_DISPUTE: Instance 0's port GigabitEthernet1/0/51 received an inferior BPDU from a designated port which is in forwarding or learning state. %May 22 16:46:23:447 2025 To-ZongDiaoZX-SW-1 STP/4/STP_DISPUTE: Instance 0's port GigabitEthernet1/0/51 received an inferior BPDU from a designated port which is in forwarding or learning state. %May 22 16:46:25:461 2025 To-ZongDiaoZX-SW-1 STP/4/STP_DISPUTE: Instance 0's port GigabitEthernet1/0/51 received an inferior BPDU from a designated port which is in forwarding or learning state. %May 22 16:46:27:447 2025 To-ZongDiaoZX-SW-1 STP/4/STP_DISPUTE: Instance 0's port GigabitEthernet1/0/51 received an inferior BPDU from a designated port which is in forwarding or learning state. %May 22 16:46:29:461 2025 To-ZongDiaoZX-SW-1 STP/4/STP_DISPUTE: Instance 0's port GigabitEthernet1/0/51 received an inferior BPDU from a designated port which is in forwarding or learning state. %May 22 16:46:31:447 2025 To-ZongDiaoZX-SW-1 STP/4/STP_DISPUTE: Instance 0's port GigabitEthernet1/0/51 received an inferior BPDU from a designated port which is in forwarding or learning state. %May 22 16:46:33:461 2025 To-ZongDiaoZX-SW-1 STP/4/STP_DISPUTE: Instance 0's port GigabitEthernet1/0/51 received an inferior BPDU from a designated port which is in forwarding or learning state. %May 22 16:46:34:427 2025 To-ZongDiaoZX-SW-1 LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port GigabitEthernet1/0/51 (IfIndex 51), neighbor's chassis ID is 8061-6cba-2880, port ID is Ten-GigabitEthernet1/0/5. %May 22 16:46:35:447 2025 To-ZongDiaoZX-SW-1 STP/4/STP_DISPUTE: Instance 0's port GigabitEthernet1/0/51 received an inferior BPDU from a designated port which is in forwarding or learning state. %May 22 16:46:35:970 2025 To-ZongDiaoZX-SW-1 STP/4/STP_DISPUTE_RESTORATION: The block action by dispute guard was undone on Instance 0's port GigabitEthernet1/0/51. The port transited to learning state. 產生這個日誌的時候業務通了,這些截圖都是目前業務正常的截圖
在斷的時候,arp和mac地址都是沒學到的,光模塊收發也正常
lldp消息不影響業務,如果接口老頻繁up/Down或stp變化,定位原因再說吧
接口問題通常是物理線路質量問題
stp的話,通常是人為環路或錯接等
建議搞清楚細節進一步分析定位吧
如果情況複雜搖人吧
(1)
目前接口沒有UP/DOWN的記錄。stp 是正常的
親~登錄後才可以操作哦!
確定你的郵箱還未認證,請認證郵箱或綁定手機後進行當前操作
舉報
×
侵犯我的權益
×
侵犯了我企業的權益
×
抄襲了我的內容
×
原文鏈接或出處
誹謗我
×
對根叔社區有害的內容
×
不規範轉載
×
舉報說明
stp轉發都是forwarding