6.3.5.1
spanning-tree
Description
With this command, you configure the various properties of the spanning tree function:
● With the
cost
option, you configure the port costs used to calculate the lowest-cost path.
● With the
disable
option, you disable the interface for the spanning tree function.
● With the
link-type
option, you configure the connection status of the following network
segment. The following settings are possible:
–
point-to-point
– the interface communicates with precisely one network component
–
shared
- the interface is connected to more than one network component
● With the
portfast
option, you enable the PortFast function on the interface. The interface
is connected to an end device and can therefore ignore the waiting time before changing
to Forwarding mode.
● With the
port-priority
option, you configure the priority of the interface for negotiating
a spanning tree configuration.
Requirement
You are in the Interface Configuration mode.
The command prompt is as follows:
cli(config-if-$$$)#
Syntax
Call up the command with the following parameters:
spanning-tree {cost <0-200000000>|disable|
link-type{point-to-point|shared}|portfast|
port-priority<0-240>}
The parameters have the following meaning:
Parameter
Description
Range of values / note
cost
Keyword
Describes the costs of the port for cal‐
culating the lowest cost path.
0 ... 200000000
Default:
if dynamic calculation of the path
costs is not enabled:
● 200000 for physical interfaces
● 199999 for port channels
disable
disables the interface for spanning tree -
Default:
The spanning tree function is ena‐
bled on the interface
Network structures
6.3 Spanning Tree
SCALANCE XB-200/XC-200/XF-200BA/XP-200/XR-300WG Command Line Interface
242
Configuration Manual, 07/2017, C79000-G8976-C361-06