ECS2020 Series CLI Reference Guide-R04
Parameter
92
NULL
Global configuration mode
In global mode, it configures the spanning-tree trap information.
Enable the spanning-tree trap of a new-root:
ECS2020-10P(config)# spanning-tree trap new-root
22.2
Display relevant commands
show spanning-tree
Displays the current spanning tree status and configuration.
Spanning-tree[cr | interface gigabitEthernet 0/x | link-aggregation]
NULL
Privileged mode
In privileged mode, views the spanning tree status. Shows the global status without
parameters.
The following commands, from top to bottom, are to display the global state information of
the spanning tree and display the spanning tree status information of the Gi 0/1:
ECS2020-10P# show spanning-tree
ECS2020-10P# show spanning-tree interfaces GigabitEthernet 0/1
Parameter
Description
new-root
new root trap
toplogy-change
toplogy change trap
Command
Command
Description
show spanning-tree trap new-root
Display the spanning tree trap new-
root status and configuration
.
Parameter
Parameter
Description
Interface gigabitEthernet 0/x
Display the current port spanning tree status and
configuration. Note that "cr" means no
arguments
are entered.
Default
Mode
Usage
Example
Default
Mode
Usage
Example