| 场景 | 精细根桥控制、多实例场景 |
|---|---|
| 适用 | 全部交换机 |
| 命令族 | stp priority / spanning-tree vlan priority / stp priority |
华为 VRP
华为 VRP
[Huawei] stp priority 4096 ! 步进 4096,默认 32768
! 按实例:[Huawei] stp instance 1 priority 4096
<Huawei> display stp | include Bridge思科 IOS
思科 IOS
SW-CORE-01(config)# spanning-tree vlan 10 priority 4096
SW-CORE-01# show spanning-tree vlan 10 | include priorityH3C Comware
H3C Comware
[H3C] stp priority 4096
[H3C] stp instance 1 priority 4096
<H3C> display stp | include priority数值必须是 4096 的倍数(4096/8192/…/61440);38144 之类非倍数会被拒绝或取整。规划建议:主根 4096、备根 8192、汇聚固定 8192-12288、接入保持 32768 默认。