Users Guide

Table Of Contents
Layer 2 Switching Commands 804
Configuration Format Selector..... 0
show spanning-tree vlan
Use the show spanning-tree vlan command to display spanning tree
information per VLAN and also list out the port roles and states as well as
port cost.
Syntax
show spanning-tree vlan { vlan-list | all }
vlan-list — A list of VLANs or VLAN ranges separated by commas and
with no embedded blank spaces. VLAN ranges are of the form X-Y where X
and Y are valid VLAN identifiers and X < Y.
all—Show all VLANs.
Default Configuration
There is no default configuration for this command.
Command Modes
Privileged Exec and above
User Guidelines
There are no user guidelines for this command.
Example
console(config)#show spanning-tree vlan 2
VLAN 2
Spanning Tree: Enabled Mode: rapid-pvst
RootID Priority 32770
Address 001E.C9DE.D447
Cost 0
Port This switch is the root
Hello Time: 2s Max Age: 20s Forward Delay: 15s
BridgeID Priority 32770 (priority 32768 sys-id-ext 2)
Address 001E.C9DE.D447
Hello Time: 2s Max Age: 20s Forward Delay: 15s
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr
--------- ---------- ------------- --------- --------