6.3
Spanning Tree
The Spanning Tree Protocol is used to monitor a LAN for redundant connections. These are
blocked and reactivated when necessary if there are changes to the network topology.
This section describes the commands of the Spanning Tree Protocol (STP), the Rapid
Spanning Tree Protocol (RSTP) and the Multiple Spanning Tree Protocol (MSTP).
Note
Avoiding bad configurations
When using the commands in this section, you should take particular care because a bad
configuration of this function can have serious negative affects on the network.
6.3.1
The "show" commands
This section describes commands with which you display various settings.
6.3.1.1
show spanning-tree
Description
This command shows the settings of 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 [{summary|blockedports|pathcost method}]
The parameters have the following meaning:
Parameter
Description
summary
Shows a summary
blockedports
Shows the blocked ports
pathcost method
Shows whether 16-bit (short) or 32 bit (long) values are used in the calculation
Network structures
6.3 Spanning Tree
SCALANCE XB-200/XC-200/XF-200BA/XP-200/XR-300WG Command Line Interface
218
Configuration Manual, 07/2017, C79000-G8976-C361-06