PVST 实验

4507#show spanning-tree

VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 24577
Address 001d.4555.a080
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 24577 (priority 24576 sys-id-ext 1)
Address 001d.4555.a080
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300

Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi3/1 Desg FWD 19 128.129 P2p
Gi3/2 Desg FWD 19 128.130 P2p
Gi3/3 Desg FWD 19 128.131 P2p
Gi3/4 Desg FWD 19 128.132 P2p
Gi3/5 Desg FWD 19 128.133 P2p
Gi3/9 Desg FWD 19 128.137 P2p
Gi3/10 Desg FWD 19 128.138 P2p
Gi3/11 Desg FWD 19 128.139 P2p
Gi3/12 Desg FWD 19 128.140 P2p
Gi3/15 Desg FWD 19 128.143 P2p

 
黄色部分显示根网桥的信息(根网桥优先级、根网桥MAC地址),如果本网桥为根,它会显示,This bridge is root
蓝色部分为本交换机的信息(本网桥优先级、本网桥MAC地址)

 
4507#show spanning-tree
VLAN0002
Spanning tree enabled protocol ieee
Root ID Priority 32773
Address 0007.0e6f.d580
Cost 3019
Port 138 (GigabitEthernet3/10)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 49157 (priority 49152 sys-id-ext 5)
Address 001d.4555.a080
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Uplinkfast enabled

Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi3/1 Desg FWD 3019 128.129 P2p
Gi3/2 Altn BLK 3019 128.130 P2p
Gi3/3 Altn BLK 3019 128.131 P2p
Gi3/4 Desg FWD 3019 128.132 P2p

 
黄色部分显示根网桥的信息(根网桥优先级、根网桥MAC地址),如果本网桥不是根,它还会显示哪个是根端口,到根的Cost 是多少
蓝色部分为本交换机的信息(本网桥优先级、本网桥MAC地址)

 

你可能感兴趣的:(PVST,spanning-tree,生成树协议)