466
Spanning-Tree Commands
FILE LOCATION: C:\Users\gina\Desktop\Checkout_new\CLI Folders\Dell Contax
CLI\files\Spanning-Tree.fm
D E L L C O N F ID E N T IA L – P R E L IM I N A RY 5 / 1 5 /1 2 - F O R P R O O F O N LY
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 gigabitethernet port
1/0/
1 from being the
root port of the device..
Console(config)#
interface
gigabitethernet 1/0/1
Console(config-if)#
spanning-tree guard root
spanning-tree bpduguard
Use the
spanning-tree bpduguard
Interface Configuration (Ethernet, port-
channel) 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
enable
—Enables BPDU Guard.
disable
—Disables BPDU Guard.
Default Configuration
BPDU Guard is disabled.
Command Mode
Interface Configuration (Ethernet, Port-channel) mode
User Guidelines
The command can be enabled when the spanning tree is enabled (useful
when the port is in the PortFast mode) or disabled.