The command prompt is as follows:
cli>
or
cli#
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
portfast
is enabled.
-
rootcost
Shows the costs of the path to the root
bridge.
-
restricted-role
Shows whether
spanning-tree
restricted-role
is enabled.
-
Network structures
6.3 Spanning Tree
SCALANCE XB-200/XC-200/XF-200BA/XP-200/XR-300WG Command Line Interface
Configuration Manual, 07/2017, C79000-G8976-C361-06
221