Viewing status for a specific VLAN
Syntax:
show spanning-tree vlan vlan-id
Displays detailed spanning tree information for the VLAN and the ports belonging to the specified VLAN.
Viewing status for a specific VLAN
switch(config)# show spanning-tree vlan 20 Spanning Tree Information STP Enabled [No] : Yes Mode : RPVST Extended System ID : Disabled Ignore PVID Inconsistency : Disabled Switch MAC Address : 0024a8-d13a40 VLAN ID : 20 RPVST Enabled : Enabled Root MAC Address : 0024a8-d13a40 Root Priority : 32,768 Root Path Cost : 0 Root Port : This switch is root Operational Hello Time (secs) : 2 Topology Change Count : 38 Time Since Last Change : 23 hours Designated Port Type Cost Priority Role State Bridge ----- ---------- ------ --------- ---------- ---------- --------------- 9 100/1000T 20000 128 Designated Forwarding 0024a8-d13a40 21 100/1000T 20000 128 Designated Forwarding 0024a8-d13a40 22 100/1000T 20000 128 Designated Forwarding 0024a8-d13a40 23 100/1000T 200000 128 Designated Forwarding 0024a8-d13a40 24 100/1000T 0 128 Disabled