Network structures
6.3 Spanning Tree
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 06/2016, C79000-G8976-C252-11
237
Syntax
Call the command without parameters:
show spanning-tree detail
Result
The detailed settings for the spanning tree function are displayed.
6.3.1.5
show spanning-tree interface
Description
This command shows the settings of the ports for the spanning tree function.
Requirement
You are in the User EXEC mode or in the Privileged EXEC mode.
The command prompt is as follows:
cli>
or
cli#
Syntax
Call up the command with the following parameters:
show spanning-tree interface <interface-type><interface-id>
[{cost|priority|portfast|rootcost|restricted-role|
restricted-tcn|state|stats|detail}]
The parameters have the following meaning:
Parameter
Description
Range of values / note
interface-type
Type or speed of the interface
Enter a valid interface.
interface-id
Module no. and port no. of the interface
cost
Shows the port costs used to calculate
the lowest-cost path.
-
priority
Shows the priority of the port.
-
portfast
Shows whether
spanning-tree port-
fast
is enabled.
-
rootcost
Shows the costs of the path to the root
bridge.
-
restricted-role
Shows whether
spanning-tree re-
stricted-role
is enabled.
-
restricted-tcn
Shows whether
spanning-tree re-
stricted-tcn
is enabled.
-
state
Shows the status of the interface.
-