C122-E003-02EN 8-65
GSWB
8.2 Configuration Definition Commands
Action: Check the system status, and reenter the command. If the error occurs again,
collect unit information, configuration definition information, and the
information in different types of logs, and restart the unit. Alternatively,
contact a certified service engineer.
8.2.8.9 spanning-tree
This command enables or disables the spanning tree protocol on the specified
interface. The settings are reflected in the device only if STP (8.2.8.1) is enabled for
the whole device.
When making this setting for a port-channel port, no setting is required for a physical
link that is part of the target port-channel. The contents of settings made for such
links are not reflected. The setting for a physical link in the port-channel is reflected
in the physical link at the time the link is removed from the port-channel.
(1) Synopsis
• Enables the spanning tree protocol for the specified interface when STP is
enabled for the whole device (default: Enable)
• Disables the spanning tree protocol for the specified interface
(2) Options
None
(3) Command mode
Interface configuration
(4) See also
spanning-tree (Global)
(5) Examples
• Disables the STP function on a port
spanning-tree
no spanning-tree