show spanning-tree
This topic explains the command that displays the spanning tree configuration of the switch.
|
Syntax |
show spanning-tree |
|
Parameter |
None |
|
Default |
No default value. |
|
Mode |
Privileged EXEC |
|
Usage |
Use this command to display the spanning tree configuration. |
Example: This example shows how to display the spanning tree configuration:
CODE
Switch# show spanning-tree
Spanning tree enabled mode RSTP
Default port cost method: short
Root ID Priority 32768
Address 00:11:22:33:44:55
This switch is the root
Hello Time 4 sec Max Age 10 sec Forward Delay 25 sec
Number of topology changes 2 last change occurred 20:34:30 ago
Times: hold 0, topology change 0, notification 0
hello 4, max age 10, forward delay 25
Interfaces
Name State Prio.Nbr Cost Sts Role EdgePort Type
------ ------- -------- ----- ------ ---- -------- -----------
g23 enabled 128.23 19 Blk Desg No P2P (RSTP)