Spanning-Tree Commands
901
OL-32830-01 Command Line Interface Reference Guide
46
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
gi1
1 from being the root port of the device.
switchxxxxxx(config)#
interface
gi1
1
switchxxxxxx(config-if)#
spanning-tree guard root
46.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
{enable | disable}
no spanning-tree bpduguard
Parameters
bpduguard
enable
—Enables BPDU Guard.
bpduguard
disable
—Disables BPDU Guard.
Default Configuration
BPDU Guard is disabled.
Содержание 300 Series
Страница 2: ......