Reference Guide

Table Of Contents
spanning-tree bpduguard
Enables or disables BPDU guard on an interface.
Syntax
spanning-tree bpduguard {enable | disable}
Parameters
enable Enables the BPDU guard filter on an interface.
disable Disables the BPDU guard filter 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 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 configured with the spanning-tree mode command globally on the switch or on specified
interfaces.
Syntax
spanning-tree disable
Parameters None
Default Not configured.
Usage
Information
The no version of this command re-enables STP and applies the currently configured 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 configured
Usage
Information
Root guard and loop guard configurations are mutually exclusive. Configuring one overwrites the other
from the active configuration.
Command Mode INTERFACE
Example
OS10(conf-if-eth1/1/4)# spanning-tree guard root
Layer 2 219