Connectivity Guide
Parameters
• enable — Enables the BPDU guard lter on an interface.
• disable — Disables the BPDU guard lter on an interface.
Default Disabled
Command Mode INTERFACE
Usage Information BPDU guard prevents a port from receiving BPDUs. If the port receives a BPDU, it is placed in the Error-Disabled
state.
Example
OS10(conf-if-eth1/1/4)# spanning-tree bpduguard enable
Supported Releases 10.2.0E or later
spanning-tree disable
Disables Spanning-Tree mode congured with the spanning-tree mode command globally on the switch or on specied interfaces.
Syntax
spanning-tree disable
Parameters None
Default Not congured.
Usage Information The no version of this command re-enables STP and applies the currently congured spanning-tree settings.
Command Mode
CONFIGURATION
INTERFACE
Example
OS10(config)# interface ethernet 1/1/4
OS10(config-if-eth1/1/4)# spanning-tree disable
Supported Releases 10.3.0E or later
spanning-tree guard
Enables or disables loop guard or root guard on an interface.
Syntax
spanning-tree guard {loop | root | none}
Parameters
• loop — Enables loop guard on an interface.
• root — Enables root guard on an interface.
• none — Sets the guard mode to none.
Default Not congured
Usage Information Root guard and loop guard congurations are mutually exclusive. Conguring one overwrites the other from the
active conguration.
Command Mode INTERFACE
Example
OS10(conf-if-eth1/1/4)# spanning-tree guard root
Supported Releases 10.2.0E or later
330 Layer 2