Cisco Nexus 7000 Series Configuration Manual page 209

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

Advertisement

Configuring STP Extensions Using Cisco NX-OS
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# interface type slot/port
3. Enter one of the following commands:
4. switch(config-if)# exit
5. (Optional) switch(config)# show spanning-tree summary interface type slot/port detail
6. (Optional) switch(config)# copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# interface type slot/port
Step 3
Enter one of the following commands:
Option
spanning-tree
bpduguard {enable |
disable}
no spanning-tree
bpduguard
Step 4
switch(config-if)# exit
Step 5
switch(config)# show spanning-tree summary interface type
slot/port detail
Step 6
switch(config)# copy running-config startup-config
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)#
Description
Enables or disables BPDU Guard for the
specified spanning tree edge interface. By
default, BPDU Guard is disabled on the
interfaces.
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.
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
Enabling BPDU Guard on Specified Interfaces
Purpose
Enters global configuration mode.
Specifies the interface to configure, and enters
the interface configuration mode.
Exits interface configuration mode.
(Optional)
Displays summary STP information.
(Optional)
Copies the running configuration to the startup
configuration.
193

Advertisement

Table of Contents
loading

Table of Contents