spanning-tree port-priority
- 機種
- Switch(K)
- モード
- Interface(M)
- デフォルト
- 128
- IOS
- 12.0(7)XE
- 試験レベル
- BCMSN
- 構文
- spanning-tree vlan-id port-priority port-priority
- 使用例
Switch#show spanning-tree VLAN0001 Spanning tree enabled protocol ieee Root ID Priority 1 Address 000c.8589.ba80 This bridge is the root Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 1 (priority 0 sys-id-ext 1) Address 000c.8589.ba80 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 300 Interface Role Sts Cost Prio.Nbr Type ---------------- ---- --- --------- -------- -------------------------------- Fa0/21 Desg FWD 19 128.21 Edge P2p Fa0/22 Desg FWD 19 128.22 P2p Po1 Desg FWD 12 128.65 P2p Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#interface fa0/22 Switch(config-if)#spanning-tree port-priority ? <0-240> port priority in increments of 16 Switch(config-if)#spanning-tree port-priority 80 Switch(config-if)#end Switch#show spanning-tree VLAN0001 Spanning tree enabled protocol ieee Root ID Priority 1 Address 000c.8589.ba80 This bridge is the root Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 1 (priority 0 sys-id-ext 1) Address 000c.8589.ba80 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 300 Interface Role Sts Cost Prio.Nbr Type ---------------- ---- --- --------- -------- -------------------------------- Fa0/21 Desg FWD 19 128.21 Edge P2p Fa0/22 Desg FWD 19 80.22 P2p Po1 Desg FWD 12 128.65 P2p Switch#
- 解説
- スパニングツリーのポートプライオリティ値を設定・変更します。
0〜240の範囲でプライオリティ値を変更する事が出来ます。
デフォルトの値は128です。
- Tips
- タグ
- STP
Counter: 6413,
today: 1,
yesterday: 1
最終更新: 2009-08-04 (火) 16:03:18 (JST) (5385d) by staff_mita