Cisco Nexus 9000 Series Configuration Manual page 181

Nx-os layer 2 switching configuration
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring STP Extensions Using Cisco NX-OS
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
This example shows how to explicitly enable BPDU Guard on the Ethernet edge port 1/4:
switch# config t
switch(config)# interface ethernet 1/4
switch(config-if)# spanning-tree bpduguard enable
switch(config-if)# exit
switch(config)#
Command or Action
config t
Example:
switch# config t
switch(config)#
interface type slot/port
Example:
switch(config)# interface ethernet 1/4
switch(config-if)#
spanning-tree bpduguard {enable | disable}
or no spanning-tree bpduguard
Example:
switch(config-if)# spanning-tree
bpduguard enable
exit
Example:
switch(config-if)# exit
switch(config)#
show spanning-tree interface type slot/port
detail
Example:
switch# show spanning-tree interface
ethernet detail
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
Enabling BPDU Guard on Specified Interfaces
Purpose
Enters configuration mode.
Specifies the interface to configure, and enters the
interface configuration mode.
• spanning-tree bpduguard {enable |
disable}
Enables or disables BPDU Guard for the
specified spanning tree edge interface. By
default, BPDU Guard is disabled on the
interfaces.
• no spanning-tree bpduguard
Falls back to the default BPDU Guard global
setting that you set for the interfaces by
entering the spanning-tree port type edge
bpduguard default command.
Exits interface mode.
(Optional)
Displays summary STP information.
(Optional)
Copies the running configuration to the startup
configuration.
167

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents