Chapter 38: STP Commands
498 Section VI: Spanning Tree Protocols
SHOW SPANNING-TREE
Syntax
show spanning-tree [interface
port
]
Parameters
port Specifies a port. You can specify more than one port
at a time in the command. The switch displays the
STP settings for all the ports if you omit this
parameter.
Modes
Privileged Exec mode
Description
Use this command to display the STP settings on the switch. An example
of the display is shown in Figure 98.
Figure 98. SHOW SPANNING-TREE Command for STP
Examples
This command displays the STP settings for all the ports:
awplus# show spanning-tree
This command displays the STP settings for ports 1 and 4:
awplus# show spanning-tree interface port1.0.1,port1.0.4
% Default: Bridge up - Spanning Tree Enabled
% Default: Bridge Priority 32768
% Default: Forward Delay 15 - Hello Time 2 - Max Age 20
% Default: Root Id 001577cce242
% Default: Bridge Id 001577cce242
% port1.0.1: Port Id 33025 - Role Disabled - State Disabled
% port1.0.1: Designated Path Cost 0
% port1.0.1: Configured Path Cost 0 - Add type Explicit ref count 1
% port1.0.1: Designated Port Id 33025 - Priority 128 -
% port1.0.1: Root 000000000000
% port1.0.1: Designated Bridge 000000000000
% port1.0.1: Max Age 20
% port1.0.1: Hello Time 2 - Forward Delay 15
% port1.0.1: Version Spanning Tree Protocol