2-426
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter2Cisco IOS Commands for the Catalyst 4500 Series Switches
spanning-tree guard
spanning-tree guard
To enable root guard, use the spanning-tree guard command. To disable root guard, use the no form of
this command.
spanning-tree guard {loop | root | none}
no spanning-tree guard
Syntax Description
Defaults Root guard is disabled.
Command Modes Interface configuration
Command History
Examples This example shows how to enable root guard:
Switch(config-if)# spanning-tree guard root
Switch(config-if)#
Related Commands show spanning-tree
loop Enables the loop guard mode on the interface.
root Enables root guard mode on the interface.
none Sets the guard mode to none.
Release Modification
12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch.
12.1(12c)EW Loop guard support was added.