Network structures
6.3 Spanning Tree
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
216 Configuration Manual, 11/2015, C79000-G8976-C252-10
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:
Type or speed of the interface
Enter a valid interface.
Module no. and port no. of the interface
Shows the port costs used to calculate
-
Shows the priority of the port. -
Shows whether spanning-tree port-
-
Shows the costs of the path to the root
-
Shows whether spanning-tree re-
stricted-role is enabled.
-
Shows whether spanning-tree re-
-
Shows the status of the interface.
Shows the counters of the various
-
Shows detailed information about the
spanning tree settings of the interface.
-
For information on identifiers of addresses and interfaces, refer to the section "Interface
identifiers and addresses (Page 39)".
The settings of the ports for the spanning tree function are displayed.
show spanning-tree interface layer2-gateway-port
Description
This command shows the settings of Layer 2 Gateway Port (L2GP). For example the priority,
the MAC address and the status of L2GP are displayed.
You are in the User EXEC mode or in the Privileged EXEC mode.
The command prompt is as follows:
cli> or cli#