bpdu-drop-enable

Enables dropping Layer 2 (L2) bridge protocol data units (BPDUs) on endpoints in L2 interfaces.

Syntax

bpdu-drop-enable
no bpdu-drop-enable

Command Default

Dropping of L2 BPDUs is disabled. L2 BPDUs are allowed on endpoints in L2 interfaces.

Modes

Global Configuration Mode

Physical Interface Configuration Mode

Port-Channel Interface Configuration Mode

Usage Guidelines

The no form of the command disables dropping of Layer 2 (L2) bridge protocol data units (BPDUs) in Layer 2 interfaces.

Examples

Example

The following example shows how to enable dropping of L2 BPDUs for all L2 Interfaces.

device# configure terminal
device(config)# bpdu-drop-enable

Example

The following example shows how to enable dropping of L2 BPDUs for L2 Physical Interface.

device# configure terminal
device(config)# interface Ethernet 0/40
device(conf-if-eth-0/40)# bpdu-drop-enable

Example

The following example shows how to enable dropping of L2 BPDUs for L2 Port-Channel Interface.

device# configure terminal
device(config)# interface Port-channel 30
device(conf-Port-channel-30)# bpdu-drop-enable