Reference Guide

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 as a protective measure.
Example
OS10(conf-if-eth1/1/4)# spanning-tree bpduguard enable
Supported Releases 10.2.0E or later
spanning-tree disable
Disables the spanning-tree mode congured with the spanning-tree mode command globally on the switch or on specied interfaces.
Syntax
spanning-tree disable
Parameters None
Default Not congured.
Usage Information The no version of this command re-enables STP and applies the currently congured 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 congured
Usage Information Root guard and loop guard congurations are mutually exclusive. Conguring one overwrites the other from the
active conguration.
Command Mode INTERFACE
Example
OS10(conf-if-eth1/1/4)# spanning-tree guard root
Supported Releases 10.2.0E or later
206 Layer 2