Cisco Systems N3KC3064TFAL3 Manual De Usuario

Descargar
Página de 164
Purpose
Command or Action
This example shows how to explicitly enable BPDU Guard on the Ethernet edge port 1/4:
switch#
configure terminal
switch (config)#
interface ethernet 1/4
switch(config-if)#
spanning-tree bpduguard enable
switch(config-if)# no spanning-tree bpduguard
Enabling BPDU Filtering Globally
You can enable BPDU Filtering globally by default on spanning tree edge ports.
If an edge port with BPDU Filtering enabled receives a BPDU, it loses its operation status and as edge port
and resumes the regular STP transitions. However, this port maintains it configuration as an edge port.
Be careful when using this command: using it incorrectly can cause bridging loops.
Caution
When enabled globally, BPDU Filtering is applied only on ports that are operational edge ports. Ports
send a few BPDUs at linkup before they effectively filter outbound BPDUs. If a BPDU is received on an
edge port, it immediately loses its operational edge port status and BPDU Filtering is disabled.
Note
Before You Begin
Ensure that STP is configured.
Ensure that you have configured some spanning tree edge ports.
Procedure
Purpose
Command or Action
Enters configuration mode.
switch# configure terminal
Step 1
Enables BPDU Filtering by default on all
operational spanning tree edge ports. Global BPDU
Filtering is disabled by default.
switch(config)# spanning-tree port type
edge bpdufilter default
Step 2
This example shows how to enable BPDU Filtering on all operational spanning tree edge ports:
switch#
configure terminal
switch(config)#
spanning-tree port type edge bpdufilter default
   Cisco Nexus 3000 NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U3(1)
122
OL-26590-01  
Configuring STP Extensions
Configuring STP Extensions