Network structures
6.3 Spanning Tree
SCALANCE W760/W720 to IEEE 802.11n Command Line Interface
Configuration Manual, 10/2015, C79000-G8976-C351-05
265
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.
You are in the Interface Configuration mode.
The command prompt is as follows:
cli(config-if-$$$)#
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:
Keyword
Describes the costs of the port for
calculating 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
disables the interface for spanning tree -
Default:
The spanning tree function is