Enabling Bpdu Guard - Cisco Catalyst 2960-XR Configuration Manual

Layer 2
Hide thumbs Also See for Catalyst 2960-XR:
Table of Contents

Advertisement

Enabling BPDU Guard

Related Topics
PortFast, on page 80
Restriction for Optional Spanning-Tree Features, on page 79
Enabling BPDU Guard
You can enable the BPDU guard feature if your switch is running PVST+, Rapid PVST+, or MSTP.
Configure PortFast only on ports that connect to end stations; otherwise, an accidental topology loop could
Caution
cause a data packet loop and disrupt switch and network operation.
This procedure is optional.
Beginning in privileged EXEC mode, follow these steps to enable BPDU guard on the switch.
SUMMARY STEPS
1. configure terminal
2. spanning-tree portfast bpduguard default
3. interface interface-id
4. spanning-tree portfast
5. end
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
Switch# configure terminal
Step 2
spanning-tree portfast bpduguard default
Example:
Switch(config)# spanning-tree portfast bpduguard
default
Step 3
interface interface-id
Example:
Switch(config)# interface gigabitethernet1/0/2
Catalyst 2960-XR Switch Layer 2 Configuration Guide, Cisco IOS Release 15.0(2)EX1
92
Configuring Optional Spanning-Tree Features
Purpose
Enters the global configuration mode.
Globally enables BPDU guard.
By default, BPDU guard is disabled.
Specifies the interface connected to an end station,
and enters interface configuration mode.
OL-29424-01

Advertisement

Table of Contents
loading

Table of Contents