华三S1850交换机 作为一台汇聚交换机 G1/0/1口是接上联交换机S5130H-34C G1/0/24口 S1850交换机 G1/0/13 G1/0/14 G1/0/15 下接接入二层交换机 每台接入层交换机都下联30台PC设备 出现的问题是 经常性断网一分钟然后恢复 在故障发生时查看S1850交换机的日志如下显示 请问是什么问题呢?求助
日志不全
STP状态老化
日志内容 | Instance [UINT32]"s port [STRING] received no BPDU within the rcvdInfoWhile interval. Information of the port aged out. |
参数解释 | $1:生成树实例编号 $2:接口名 |
日志等级 | 5 |
举例 | MSTP/5/MSTP_BPDU_RECEIVE_EXPIRY: Instance 0"s port GigabitEthernet 0/4/1 received no BPDU within the rcvdInfoWhile interval. Information of the port aged out. |
日志说明 | 如果非指定端口在BPDU超时之前没有收到任何BPDU报文,端口状态会改变 |
处理建议 | 检查上行设备的STP状态及是否存在恶意攻击 |
%Oct 14 13:46:06:989 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:46:09:569 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:46:14:070 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:46:16:344 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:46:29:028 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:46:31:531 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:47:08:193 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:47:10:415 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:47:11:431 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:47:13:661 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:47:14:584 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:47:17:073 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:47:18:618 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:47:20:952 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:47:23:986 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:47:25:968 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:47:26:947 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:47:29:139 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:47:54:086 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:47:56:337 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:47:59:189 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:48:01:343 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:48:08:682 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:48:11:306 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:48:14:499 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:48:17:544 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:48:20:710 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:48:23:039 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:48:40:880 2026 S1850-28P-2F(PE) MSTP/5/MSTP_BPDU_RECEIVE_EXPIRY: Instance 0's port GigabitEthernet1/0/1 received no BPDU within the rcvdInfoWh ile interval. Information of the port aged out. %Oct 14 13:49:23:616 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:49:23:871 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:49:23:872 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:49:23:872 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:49:23:872 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:49:23:872 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:49:23:873 2026 S1850-28P-2F(PE) MSTP/6/MSTP_DISCARDING: Instance 0's port GigabitEthernet1/0/3 has been set to discarding state. %Oct 14 13:49:23:873 2026 S1850-28P-2F(PE) MSTP/6/MSTP_DISCARDING: Instance 0's port GigabitEthernet1/0/4 has been set to discarding state. %Oct 14 13:49:23:873 2026 S1850-28P-2F(PE) MSTP/6/MSTP_DISCARDING: Instance 0's port GigabitEthernet1/0/5 has been set to discarding state. %Oct 14 13:49:23:874 2026 S1850-28P-2F(PE) MSTP/6/MSTP_DISCARDING: Instance 0's port GigabitEthernet1/0/6 has been set to discarding state. %Oct 14 13:49:23:874 2026 S1850-28P-2F(PE) MSTP/6/MSTP_DISCARDING: Instance 0's port GigabitEthernet1/0/8 has been set to discarding state. %Oct 14 13:49:23:874 2026 S1850-28P-2F(PE) MSTP/6/MSTP_DISCARDING: Instance 0's port GigabitEthernet1/0/9 has been set to discarding state. %Oct 14 13:49:23:875 2026 S1850-28P-2F(PE) MSTP/6/MSTP_DISCARDING: Instance 0's port GigabitEthernet1/0/10 has been set to discarding state. %Oct 14 13:49:23:875 2026 S1850-28P-2F(PE) MSTP/6/MSTP_DISCARDING: Instance 0's port GigabitEthernet1/0/13 has been set to discarding state. %Oct 14 13:49:23:875 2026 S1850-28P-2F(PE) MSTP/6/MSTP_DISCARDING: Instance 0's port GigabitEthernet1/0/14 has been set to discarding state. %Oct 14 13:49:23:876 2026 S1850-28P-2F(PE) MSTP/6/MSTP_DISCARDING: Instance 0's port GigabitEthernet1/0/15 has been set to discarding state. %Oct 14 13:49:23:876 2026 S1850-28P-2F(PE) MSTP/6/MSTP_DISCARDING: Instance 0's port GigabitEthernet1/0/20 has been set to discarding state. %Oct 14 13:49:23:876 2026 S1850-28P-2F(PE) MSTP/6/MSTP_DISCARDING: Instance 0's port GigabitEthernet1/0/21 has been set to discarding state. %Oct 14 13:49:23:876 2026 S1850-28P-2F(PE) MSTP/6/MSTP_DISCARDING: Instance 0's port GigabitEthernet1/0/22 has been set to discarding state. %Oct 14 13:49:23:877 2026 S1850-28P-2F(PE) MSTP/6/MSTP_DISCARDING: Instance 0's port GigabitEthernet1/0/23 has been set to discarding state. %Oct 14 13:49:23:877 2026 S1850-28P-2F(PE) MSTP/6/MSTP_DISCARDING: Instance 0's port GigabitEthernet1/0/24 has been set to discarding state. %Oct 14 13:49:25:608 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:49:28:003 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:49:29:081 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:49:31:327 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:49:34:394 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:49:36:760 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:49:38:100 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:49:40:205 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:49:42:201 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:49:44:555 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:49:45:534 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:49:47:819 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:49:54:051 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change. %Oct 14 13:49:54:938 2026 S1850-28P-2F(PE) MSTP/6/MSTP_FORWARDING: Instance 0's port GigabitEthernet1/0/3 has been set to forwarding state. %Oct 14 13:49:54:938 2026 S1850-28P-2F(PE) MSTP/6/MSTP_FORWARDING: Instance 0's port GigabitEthernet1/0/4 has been set to forwarding state. [S1850-28P-2F(PE)]dis [S1850-28P-2F(PE)]display int [S1850-28P-2F(PE)]display interface br [S1850-28P-2F(PE)]display interface brief The brief information of interface(s) under route mode:
S1850 G1/0/1口 经常发生 %Oct 14 14:17:58:069 2026 S1850-28P-2F(PE) MSTP/6/MSTP_NOTIFIED_TC: Instance 0's port GigabitEthernet1/0/1 was notified of a topology change.
MSTP/5/MSTP_BPDU_RECEIVE_EXPIRY: Instance 0's port GigabitEthernet1/0/1 received no BPDU
G1/0/1(S1850 上联 S5130H 的口)在 MSTP 老化时间内,收不到上游 S5130 发送的 BPDU 报文,BPDU 信息老化,MSTP 触发重新计算拓扑,产生 TC(拓扑变更),全网所有交换机清空 MAC 地址表,这就是下联全部 PC 断网 30~60 秒然后自动恢复的根本原因 **H3C。
TC 报文下发后,所有交换机 MAC 表清空,只能泛洪流量,业务中断;等 MAC 表重新学习完成,业务自动恢复。
补充日志:
MSTP_NOTIFIED_TC就是拓扑变更通知,收到 TC 就会清空 MAC 地址表,全网震荡断网。
display stp bpdu-statistics
display interface GigabitEthernet 1/0/1
关注 CRC error、runts、giants,只要有持续增长,就是链路质量问题。 3. 核对 MSTP 域配置(S5130H 与 S1850 两边必须完全一致)
display stp region-configuration
MST 域名、修订级别、VLAN 映射必须一模一样。
display cpu-usage
system-view
stp tc-protection
stp tc-protection threshold 5
作用:10 秒内最多只允许 5 次 MAC 表刷新,防止大量 TC 反复清空 MAC 表,减少业务中断时间H3C。
G1/0/1 是 S1850 根端口,配置环路保护:当根端口持续收不到 BPDU,不会把端口自动变成指定端口,避免环路 + 拓扑震荡。
interface GigabitEthernet 1/0/1
stp loop-protection
S1850 的 G1/0/13 G1/0/14 G1/0/15 下联接入交换机,如果下联接入交换机不再接其他交换机,可以设为边缘端口;下联是交换机不能配边缘端口。
interface GigabitEthernet 1/0/13
stp edged-port enable
stp bpdu-protection
speed 1000 duplex full,关闭自动协商,排除协商抖动。S1850 是二层接入汇聚,如果你的网络不存在冗余二层链路(没有双上行),可以直接全局关闭 MSTP,从根源杜绝 STP 拓扑震荡、TC 断网。
system-view
undo stp global enable
⚠️ 关闭 STP 前提:确认全网没有二层环路,关闭后如果存在环路会直接广播风暴瘫痪网络。
你这就是stp到时间老化mstp收敛重新计算,时间就是几十秒也就是断网几十秒。
1、可以display stp brief查看根桥是不是都在核心。 2、确认下整个局域网使用的stp是不是都是mstp,别有些设备使用rstp有些使用mstp等。根桥是在核心 一个大的二层组网 太乱了 各种无管理的二层交换机 应该一直在冲突
你二层有配置边缘端口嘛,出现up/down问题,很有可能就是接了设备不是终端就会一直协商stp导致一直up/down。当然也可能是物理链路有问题。
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明