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
Address
Cost
Port
Hello Time: 2s Max Age: 20s Forward Delay: 15s
BridgeID
Priority
Address
Hello Time: 2s Max Age: 20s Forward Delay: 15s
Aging Time 300 sec
Interface Role
--------- ---------- ------------- --------- --------
Gi1/0/1
Designated Forwarding
Gi1/0/2
Designated Forwarding
spanning-tree
Use the spanning-tree command in Global Configuration mode to enable
spanning-tree functionality. To disable spanning-tree functionality, use the no
form of this command.
Syntax
spanning-tree
no spanning-tree
Default Configuration
Spanning-tree is enabled.
32770
001E.C9DE.D447
0
This switch is the root
32770 (priority 32768 sys-id-ext 2)
001E.C9DE.D447
Sts
Cost
20000
20000
Prio.Nbr
128.1
128.2
Layer 2 Switching Commands
744