DGS-6604
m
spanning-tree (Interface configuration)
CLI Reference Guide
860
spanning-tree (Interface configuration)
This setting is used to configure the STP function on the specified port. Use the
no form of the command to disable the function.
spanning-tree
no spanning-tree
Syntax
None
Default
Enabled
Command Mode
Interface configuration
Usage Guideline
When setting the interface with the
no spanning-tree
command, the interface
will not participate in the spanning tree topology port state calculation.
If the global spanning-tree state is disabled (no matter STP is disabled/enabled
at the interface), then STP BPDU is treated as a normal multicast packet and will
be flooded to the other VLAN member ports.
If the global spanning-tree state is enabled, then the STP state at the interface
must be enabled, then the interface can participate in the STP calculation.
Both physical ports and channel group are valid interfaces for this command.
Example
This example shows how to configure the STP state for interface port eth3.7.
Verify the settings by entering the
show spanning-tree interface
command.
Switch(config)# interface eth3.7
Switch(config-if)# spanning-tree