Enabling Loop Guard Or Root Guard On Specified Interfaces - Cisco Nexus 7000 Series Configuration Manual

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

Advertisement

Configuring STP Extensions Using Cisco NX-OS
Before You Begin
• Ensure that you are in the correct VDC (or enter the switchto vdc command).
• Ensure that STP is configured.
• Ensure that you have spanning tree normal ports or have configured some network ports.
SUMMARY STEPS
1. switch# config t
2. switch(config)# spanning-tree loopguard default
3. switch(config)# exit
4. (Optional) switch# show spanning-tree summary
5. (Optional) switch# copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
switch# config t
Step 2
switch(config)# spanning-tree loopguard
default
Step 3
switch(config)# exit
Step 4
switch# show spanning-tree summary
Step 5
switch# copy running-config startup-config
This example shows how to enable Loop Guard on all spanning tree normal or network ports:
switch# config t
switch(config)# spanning-tree loopguard default
switch(config)# exit
switch#

Enabling Loop Guard or Root Guard on Specified Interfaces

You can run Loop Guard on spanning tree normal or network ports. You can run Root Guard on all
Note
spanning tree ports: normal, edge, or network.
You can enable either Loop Guard or Root Guard on specified interfaces.
Enabling Loop Guard or Root Guard on Specified Interfaces
Purpose
Enters global configuration mode.
Enables Loop Guard by default on all spanning tree normal and
network ports. By default, global Loop Guard is disabled.
Exits global configuration mode.
(Optional)
Displays summary STP information.
(Optional)
Copies the running configuration to the startup configuration.
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
197

Advertisement

Table of Contents
loading

Table of Contents