About Bpdu Guard - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 26
Configuring Optional STP Features

About BPDU Guard

Spanning Tree BPDU guard shuts down PortFast edge-configured interfaces that receive BPDUs, rather
than putting them into the spanning tree blocking state.
When configured globally, BPDU Guard is only effective on ports in the operational PortFast edge state.
In a valid configuration, PortFast edge-configured interfaces do not receive BPDUs. Reception of a
BPDU by a PortFast edge-configured interface signals an invalid configuration, such as connection of
an unauthorized device.
BPDU guard provides a secure response to invalid configurations, because the administrator must
manually put the interface back in service.
When the BPDU guard feature is enabled, spanning tree applies the BPDU guard feature to all
Note
PortFast-configured interfaces. BPDU Guard shuts down that interface if a BPDU is received, regardless
of the PortFast port type configuration.
To prevent the port from shutting down, use the errdisable detect cause bpduguard shutdown vlan
Note
global configuration command to shut down only the offending VLAN on the port where the violation
occurred.
Enabling BPDU Guard
Enabling BPDU Guard Globally
To globally enable BPDU guard on edge ports that receive BPDUs, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# spanning-tree portfast edge
bpduguard default
Step 3
Switch(config)# end
Step 4
Switch# show spanning-tree summary
This example shows how to enable BPDU guard:
Switch(config)# spanning-tree portfast edge bpduguard default
Switch(config)# end
Switch#
This example shows how to verify the configuration:
Switch# show spanning-tree summary
Root bridge for: Bridge VLAN0025
EtherChannel misconfiguration guard is enabled
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Purpose
Enables BPDU Guard globally by default on all edge
ports of the switch.
Use the no version of the command to disable BPDU
guard.
Exits configuration mode.
Verifies the BPDU configuration.
About BPDU Guard
26-15

Advertisement

Table of Contents
loading

Table of Contents