Cisco Systems N3KC3064TFAL3 Enabling BPDU Filtering on Specified Interfaces, bpdufilter, Step

Models: N3KC3064TFAL3 N3KC3048TP1GE

1 164
Download 164 pages 5.98 Kb
Page 137
Image 137
Enabling BPDU Filtering on Specified Interfaces

Configuring STP Extensions

Configuring STP Extensions

Enabling BPDU Filtering on Specified Interfaces

You can apply BPDU Filtering to specified interfaces. When enabled on an interface, that interface does not send any BPDUs and drops all BPDUs that it receives. This BPDU Filtering functionality applies to the entire interface, whether trunking or not.

Caution Be careful when you enter the spanning-tree bpdufilter enable command on specified interfaces. Explicitly configuring BPDU Filtering on a port that is not connected to a host can result in bridging loops as the port will ignore any BPDU it receives and go to forwarding.

You can enter this command to override the port configuration on specified interfaces.

This command has three states:

spanning-tree bpdufilter enableUnconditionally enables BPDU Filtering on the interface.

spanning-tree bpdufilter disableUnconditionally disables BPDU Filtering on the interface.

no spanning-treebpdufilterEnables BPDU Filtering on the interface if the interface is in operational edge port and if you configure the spanning-tree port type edge bpdufilter default command.

Note When you enable BPDU Filtering locally on a port, this feature prevents the device from receiving or sending BPDUs on this port.

Before You Begin

Ensure that STP is configured.

Procedure

 

Command or Action

Purpose

 

Step 1

switch# configure terminal

Enters configuration mode.

Step 2

switch(config)# interface type

Specifies the interface to configure, and enters the

 

slot/port

interface configuration mode.

Step 3

switch(config-if)# spanning-tree

Enables or disables BPDU Filtering for the specified

 

bpdufilter {enable disable}

spanning tree edge interface. By default, BPDU Filtering

 

 

is disabled.

Step 4

switch(config-if)# no spanning-tree

(Optional)

 

bpdufilter

Disables BPDU Filtering on the interface.

 

 

Note

Enables BPDU Filtering on the interface if the

 

 

 

interface is an operational spanning tree edge

 

 

 

port and if you enter the spanning-tree port type

 

 

 

edge bpdufilter default command.

Cisco Nexus 3000 NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U3(1)

OL-26590-01

123

Page 137
Image 137
Cisco Systems N3KC3064TFAL3 Enabling BPDU Filtering on Specified Interfaces, bpdufilter enable disable, Before You Begin