stp生成树三台二层
拓扑图
指定S1为根桥
S1(config)#spanning-tree vlan 1 priority 0
S1(config)#do sh sp
This bridge is the root
---------------- ---- --- --------- -------- --------------------------------
Fa0/1 Desg FWD 19 P2p
Fa0/2 Desg FWD 19 P2p
设置S0优先级为4096
Switch(config)#spanning-tree vlan 1 priority 4096
Switch(config)#do sh sp
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 1
Cost 19
Port 1(FastEthernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 4097 (priority 4096 sys-id-ext 1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/1 Root FWD 19 P2p
Fa0/2 Desg FWD 19 P2p
stp生成树三台二层 来自淘豆网m.daumloan.com转载请标明出处.