Reference Guide
spanning-tree bpduguard
Enables or disables BPDU guard on an interface.
Syntax
spanning-tree bpduguard {enable | disable}
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 as a protective measure.
Example
OS10(conf-if-eth1/1/4)# spanning-tree bpduguard enable
Supported Releases 10.2.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
spanning-tree mode
Enables an STP type (RSTP, Rapid-PVST+, or MST).
Syntax
spanning-tree mode {rstp | mst | rapid-pvst}
Parameters
• rstp — Sets the STP mode to RSTP.
• mst — Sets the STP mode to MST.
• rapid-pvst — Sets the STP mode to RPVST+.
Default RPVST+
Layer 2 205