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

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

Advertisement

Enabling Loop Guard or Root Guard on Specified Interfaces

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
Note
You can run Loop Guard on spanning tree normal or network ports. You can run Root Guard on all
spanning tree ports: normal, edge, or network.
You can enable either Loop Guard or Root Guard on specified interfaces.
Enabling Root Guard on a port means that port cannot become a root port, and Loop Guard prevents alternate
or root ports from becoming the designated port because of a failure that could lead to a unidirectional link
Both Loop Guard and Root Guard enabled on an interface apply to all VLANs to which that interface belongs.
Entering the Loop Guard command for the specified interface overrides the global Loop Guard command.
Note
Before You Begin
Before you configure this feature, you should do the following:
• Ensure that STP is configured.
• Ensure that you are configuring Loop Guard on spanning tree normal or network ports.
Procedure
Step 1
Step 2
Step 3
Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
172
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 guard {loop | root | none}
Example:
switch(config-if)# spanning-tree guard
loop
Configuring STP Extensions Using Cisco NX-OS
Purpose
Enters configuration mode.
Specifies the interface to configure, and enters the
interface configuration mode.
Enables or disables either Loop Guard or Root
Guard for the specified interface. By default, Root
Guard is disabled by default, and Loop Guard on
specified ports is also disabled.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents