%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