Specifications
12-20 STP Commands
show spantree
DisplaysSTPconfigurationandport‐stateinformation.
Syntax
show spantree [port port-list | vlan vlan-id] [active]
Parameters
Defaults
None.
Mode
All.
Example
ThefollowingcommanddisplaysSTPinformationforVLANdefault:
RBT-8100# show spantree vlan default
VLAN 1
Spanning Tree Mode PVST+
Spanning Tree Type IEEE
Spanning Tree Enabled
Designated Root 00-02-4a-70-49-f7
Designated Root Priority 32768
Designated Root Path Cost 19
Designated Root Port 1
Root Max Age 20 sec Hello Time 2 sec Forward Delay 15 sec
Bridge ID MAC ADDR 00-0b-0e-02-76-f7
Bridge ID Priority 32768
Bridge Max Age 20 sec Hello Time 2 sec Forward Delay 15 sec
Port Vlan STP-State Cost Prio Portfast
------------------------------------------------------------------------------
1 1 Forwarding 19 128 Disabled
2 1 STP Off 19 128 Disabled
3 1 Disabled 19 128 Disabled
4 1 Disabled 19 128 Disabled
5 1 Disabled 19 128 Disabled
6 1 Disabled 19 128 Disabled
7 1 Disabled 19 128 Disabled
portport‐list Listofports.Ifyoudonotspecifyanyports,MSSdisplaysSTPinformation
forallports.
vlanvlan‐id VLANnameornumber.Ifyoudonotspeci fyaVLAN,MSSdisplaysSTP
informationforallVLANs.
active Displaysinformationforonlytheactive(forwarding )ports.