当前位置: 首页 > news >正文

思科Nexus交换机 --- 华为CE6800 STP生成树对接故障

思科Nexus93180与华为6857(堆叠)2层互联。
STP MODE:
思科:RSTP-PVST
华为:RSTP
STP Priority:
思科:32768
华为:49152

先说结论:思科的RSTP不是标准的RSTP,而是pvst的增强,所以华为侧需要使用VBST对接。

2 故障描述

2端都使用RSTP对接后,根桥选举失败
华为自己为根
Eth-trunk101 正常应该为root

[~Huawei-6857]dis stp brief MSTID Port Role STP State Protection Cost Edged0Eth-Trunk101 DESI forwarding none500enable0Eth-Trunk102 DESI forwarding none125enable<Huawei-6857>display stp vlan2ProcessId InstanceId Port Role State ----------------------------------------------------------------------00Eth-Trunk101 DESI forwarding00Eth-Trunk102 DESI forwarding<Huawei-6857>dis stp interface Eth-Trunk101CIST Global Information: Mode :RSTP CIST Bridge :49152.7c33-f906-6881 Config Times :Hello 2s MaxAge 20s FwDly 15s MaxHop20Active Times :Hello 2s MaxAge 20s FwDly 15s MaxHop20CIST Root/ERPC :49152.7c33-f906-6881 /0(This bridge is the root)CIST RegRoot/IRPC :49152.7c33-f906-6881 /0(This bridge is the root)CIST RootPortId :0.0 BPDU-Protection :Disabled TC or TCN received :0 TC count per hello :0 STP Converge Mode :Normal Share region-configuration :Enabled Time since last TC :0 days 0h:0m:0s Number of TC :0 Topo Change Flag :0 CIST Port Information: Port Id :1 Port Name :Eth-Trunk101 Port State :Forwarding Port Protocol :Enabled Port Role :Designated Port Port Priority :128 Port Cost(Dot1T):Config=auto /Active=500Designated Bridge/Port :49152.7c33-f906-6881 /128.1Port Edged :Config=default /Active=enabled Point-to-point :Config=auto /Active=true Transit Limit :6 packets/s Protection Type :None Port STP Mode :RSTP Port Protocol Type :Config=auto /Active=dot1s BPDU Encapsulation :Config=stp /Active=stp PortTimes :Hello 2s MaxAge 20s FwDly 15s RemHop20TC or TCN send :0 TC or TCN received :0 TC Restriction :False BPDU Sent :0 TCN:0, Config:0, RST:74, MST:0BPDU Received :0 TCN:0, Config:0, RST:0, MST:0Last forwarding time:2026-03-1814:23:16 Message Age :0<Huawei-6857>

从上面看到,收到的BPDU为0

3 Huawei修改为vbst

3.1 Change mode

Stp mode vbst Commit

3.2 Confirm stp mode

<Huawei-6857>dis stp CIST Global Information: Mode :VBST CIST Bridge :49152.7c33-f906-6881 Config Times :Hello 2s MaxAge 20s FwDly 15s MaxHop20Active Times :Hello 2s MaxAge 20s FwDly 15s MaxHop20CIST Root/ERPC :49152.7c33-f906-6881 /0(This bridge is the root)CIST RegRoot/IRPC :49152.7c33-f906-6881 /0(This bridge is the root)CIST RootPortId :0.0 BPDU-Protection :Disabled TC or TCN received :0 TC count per hello :0 STP Converge Mode :Normal Share region-configuration :Enabled Time since last TC :0 days 0h:0m:0s Number of TC :0 Topo Change Flag :0<Huawei-6857>

3.3 Check bpdu statistics

<Huawei-6857>display stp vlan2bpdu statistics --------------------------------------------------------------------------- BPDUSent TCN Config RST VLANID Interface BPDUReceived TCN Config RST ---------------------------------------------------------------------------2Eth-Trunk1016006179173001791732Eth-Trunk102179081001790812002---------------------------------------------------------------------------

3.4 查看指定vlan的根

<Huawei-6857>display stp vlan2bridge root ------------------------------------------------------------------------------ Hello Max Forward VLANID RootID RootCost Time Age Delay RootPort ------------------------------------------------------------------------------232770.0023-04ee-be6550022015Eth-Trunk101 ------------------------------------------------------------------------------<Huawei-6857>

3.5 查看所有vlan的根

<Huawei-6857>dis stp vlan bridge root ------------------------------------------------------------------------------ Hello Max Forward VLANID RootID RootCost Time Age Delay RootPort ------------------------------------------------------------------------------132769.7c33-f906-6881022015232770.0023-04ee-be6550022015Eth-Trunk101432772.0023-04ee-be6550022015Eth-Trunk101532773.0023-04ee-be6550022015Eth-Trunk101632774.0023-04ee-be6550022015Eth-Trunk101732775.0023-04ee-be6550022015Eth-Trunk101832776.0023-04ee-be6550022015Eth-Trunk101932777.0023-04ee-be6550022015Eth-Trunk101 ```

3.6 查看指定vlan的端口状态

<Huawei-6857>display stp vlan2information brief -------------------------------------------------------------------------------- VLANID Interface Role STPState Protection Cost Edged --------------------------------------------------------------------------------2Eth-Trunk101 ROOT forwarding none500disable2Eth-Trunk102 DESI forwarding none125disable --------------------------------------------------------------------------------

3.7 查看所有vlan的接口状态

<Huawei-6857>display stp vlan information brief -------------------------------------------------------------------------------- VLANID Interface Role STPState Protection Cost Edged --------------------------------------------------------------------------------2Eth-Trunk101 ROOT forwarding none500disable2Eth-Trunk102 DESI forwarding none125disable4Eth-Trunk101 ROOT forwarding none500disable4Eth-Trunk102 DESI forwarding none125disable5Eth-Trunk101 ROOT forwarding none500disable5Eth-Trunk102 DESI forwarding none125disable6Eth-Trunk101 ROOT forwarding none500disable6Eth-Trunk102 DESI forwarding none125disable7Eth-Trunk101 ROOT forwarding none500disable
http://www.jsqmd.com/news/512717/

相关文章:

  • 2026白酒制造商排名出炉,雄盛橄榄酒以特色工艺和服务性价比入选 - mypinpai
  • Grid网格布局从入门到精通:像大师一样布局
  • 探讨适合家居行业的AIGEO搜索优化品牌如何选择 - 工业设备
  • 从零开始:使用ArcGIS系列工具高效生成TPK与mmpk离线地图包
  • Python 开发“设计模式”指南
  • 设计旅途之照明篇(四)——照明系统图
  • 在国产替代中如何选择可靠连接器?2026年针对赫斯曼与Lumberg插头等三款主流产品的专业评测 - 速递信息
  • DS18B20 单总线(1-Wire)协议:UART 模拟篇
  • 2026年南京口碑好的日立空调售后服务推荐,专业维修与保养全解析 - 工业品网
  • GPT-5.4降价血战:mini当老大,nano做小弟,独立开发者的省钱攻略
  • 基于博途1200PLC+HMI的‘大小球分拣控制系统仿真‘工程
  • 探讨日立空调售后靠谱吗,张尤达全品牌服务有保障 - 工业品牌热点
  • 本地部署openclaw
  • 响应式设计的核心:深入理解CSS媒体查询
  • 从静态检索到动态记忆:面向长篇 AI 写作的一种 Memory-First 架构思路
  • 分析服务不错的日立空调售后服务,南京有哪些品牌性价比高 - 工业推荐榜
  • 终于在红磡必嘉坊,找到了香港生活的“最优解”:首匯 Chester 置业笔记
  • MySQL安全加固十大硬核操作技术
  • JS消除异步传染性
  • 2026年日立空调选购后售后保障,资质齐全24小时服务电话是啥 - myqiye
  • IT疑难杂症诊疗室
  • 模板方法模式:复杂业务代码的解耦与复用之道
  • 阿里云代理商:阿里云无影云电脑部署 OpenClaw 接入钉钉机器人全攻略
  • 动态调整转弯率才是灵魂所在
  • UG CAM加工二次开发,型腔铣CAVITY_MILL设置 切削参数-刀路方向 向内、向外API方法
  • 分布式AI Coding: Claude Code 系统架构与技术方案设计文档 1
  • 2026揭阳雄盛橄榄酒选购支招,实力与客户反馈能满足自饮不 - mypinpai
  • 写论文如何又快又好?资深教授推荐这几个AI写作辅助软件
  • 广州钡源:电源模块5大常见故障及成因分析
  • 实用工具分享:让论文图表、数据表述更专业的AI写作辅助软件