2-1010
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
spanning-tree portfast bpduguard default
spanning-tree portfast bpduguard default
To enable BPDU guard by default on all the PortFast ports, use the spanning-tree portfast bpduguard
default command. To return to the default settings, use the no form of this command.
spanning-tree portfast bpduguard default
no spanning-tree portfast bpduguard default
Syntax Description This command has no keywords or arguments.
Defaults BPDU guard is disabled.
Command Modes Global configuration mode
Command History
Usage Guidelines
Caution Use this command only with the interfaces that connect to the end stations; otherwise, an accidental
topology loop could cause a data packet loop and disrupt the Catalyst 4500 series switch and network
operation.
BPDU guard disables a port if it receives a BPDU. BPDU guard is applied only on ports that are PortFast
enabled and are in an operational PortFast state.
Examples This example shows how to enable BPDU guard by default:
Switch(config)# spanning-tree portfast bpduguard default
Switch(config)#
Related Commands
Release Modification
12.1(12c)EW Support for this command was introduced on the Catalyst 4500 series switch.
Command Description
show spanning-tree mst Displays MST protocol information.
spanning-tree bpduguard Enables BPDU guard on an interface.