| 场景 | 保护核心/汇聚的根桥地位 |
|---|---|
| 适用 | 三厂 |
华为 VRP
华为 VRP
interface GigabitEthernet0/0/1
stp root-protection
display stp interface GigabitEthernet0/0/1思科 IOS
思科 IOS
interface GigabitEthernet0/1
spanning-tree guard root
show spanning-tree inconsistentportsH3C Comware
H3C Comware
interface GigabitEthernet1/0/1
stp root-protection
display stp interface GigabitEthernet1/0/1差异:思科命令是 spanning-tree guard root,置于面向下级的口;华为/H3C 为 stp root-protection。触发后日志会提示 ROOT-Protected,排查时先看这个关键词。