Spanning-Tree Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
interface. Root guard prevents the interface from becoming the root port of the
device. Use the no form of this command to disable the root guard on the interface.
Syntax
spanning-tree guard root
no spanning-tree guard root
Default Configuration
Root guard is disabled.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
User Guidelines
Root Guard can be enabled when the device operates in any mode (STP, RSTP
and MSTP).
When Root Guard is enabled, the port changes to the alternate state if the
spanning-tree calculations select the port as the root port.
Example
The following example prevents
switchxxxxxx(config)#
switchxxxxxx(config-if)#
58.16 spanning-tree bpduguard
Use the spanning-tree bpduguard Interface (Ethernet, Port Channel) Configuration
mode command to shut down an interface when it receives a Bridge Protocol Data
Unit (BPDU). Use the no form of this command to restore the default configuration.
Syntax
spanning-tree bpduguard
no spanning-tree bpduguard
1 from being the root port of the device.
gi1
interface
gi1
1
spanning-tree guard root
{enable | disable}
58
1114