Network structures
6.3 Spanning Tree
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 11/2015, C79000-G8976-C252-10
233
Commands in the interface configuration mode
This section describes commands that you can call up in the interface configuration mode.
Depending on the Interface selected, various command sets are available.
In the Global configuration mode, enter the
interface command to change to this mode.
Commands relating to other topics that can be called in the interface configuration mode can
be found in the relevant sections.
● If you exit the Interface configuration mode with the
exit command, you return to the
Global configuration mode.
● If you exit the Interface configuration mode with the
end command, you return to the
Privileged EXEC mode.
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-$$$)#