这个问题是一个重新发布同样的问题在思科网络学习空间; 然而,答案是 Stack Exchange 独有的。
我一直接受 STP (802.1d) 的默认优先级值为 32768 (32768 + sys-id-ext x),如下面的“show spanning-tree”所示 -
SW3#show spanning-tree
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 24577
Address 00D0.D3E6.9838
Cost 19
Port 1(FastEthernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 00D0.BCB5.B556
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/8 Desg FWD 19 128.8 P2p
Fa0/1 Root FWD 19 128.1 P2p
Fa0/24 Altn BLK 19 128.24 P2p
SW3#
现在,当我想配置优先级时,我不明白为什么优先级必须以 4096 为增量?这两个数字的默认值是否有特定原因?
SW3(config)#spanning-tree vlan 1 priority ?
<0-61440> bridge priority in increments of 4096
SW3(config)#spanning-tree vlan 1 priority
提前致谢。