C613-50170-01 Rev B
Command Reference for x510 Series
638
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
S
PANNING
T
REE
C
OMMANDS
SHOW
SPANNING
-
TREE
show spanning-tree
Overview
Use this command to display detailed spanning tree information on the specified
port or on all ports. Use this command for RSTP, MSTP or STP.
For information on filtering and saving command output, see the
with AlliedWare Plus” Feature Overview and Configuration Guide
Syntax
show spanning-tree [interface <
port-list
>]
Mode
User Exec and Privileged Exec
Usage
Note that any list of interfaces specified must not span any interfaces that are not
installed.
A topology change counter has been included for RSTP and MSTP. You can see the
topology change counter for RSTP by using the
show spanning-tree
command.
You can see the topology change counter for MSTP by using the
show
spanning-tree mst instance
command.
Example
To display spanning tree information about port1.0.3, use the command:
awplus#
show spanning-tree interface port1.0.3
Parameter
Description
interface
Display information about the following port only.
<
port-list
>
The ports to display information about. A port-list can be:
•
a switch port (e.g. port1.0.6) a static channel group (e.g. sa2) or a
dynamic (LACP) channel group (e.g. po2)
•
a continuous range of ports separated by a hyphen, e.g.
port1.0.1-1.0.4, or sa1-2, or po1-2
•
a comma-separated list of ports and port ranges, e.g.
port1.0.1,port1.0.4-1.0.6. Do not mix switch ports, static channel
groups, and dynamic (LACP) channel groups in the same list