Enabling Loop Guard Or Root Guard On Specified Interfaces; Verifying Stp Extension Configuration - Cisco AP775A - Nexus Converged Network Switch 5010 Configuration Manual

Cli software configuration guide
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Enabling Loop Guard or Root Guard on Specified Interfaces

Enabling Loop Guard or Root Guard on Specified Interfaces
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 LoopGuard 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.
Note
Entering the Loop Guard command for the specified interface overrides the global Loop Guard command.
Before You Begin
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
This example shows how to enable Root Guard on Ethernet port 1/4:
switch# configure terminal
switch (config)# interface ethernet 1/4
switch(config-if)# spanning-tree guard root

Verifying STP Extension Configuration

To display the configuration information for the STP extensions, perform one of the following tasks:
Command
switch# show running-config spanning-tree [all]
switch# show spanning-tree [options]
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
210
Command or Action
switch# configure terminal
switch(config)# interface type
slot/port
switch(config-if)# spanning-tree
guard {loop | root | none}
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.
Loop Guard runs only on spanning tree normal
Note
and network interfaces.
Purpose
Displays the current status of spanning tree on the
switch
Displays selected detailed information for the current
spanning tree configuration.
About STP Extensions
OL-16597-01

Advertisement

Table of Contents
loading

Table of Contents