Chapter 10
Configuring STP Extensions
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
•
To enable Loop Guard or Root Guard on an interface, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# interface type slot/port
Step 3
switch(config-if)# spanning-tree guard
{loop | root | none}
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]
OL-16597-01
Ensure that you are configuring Loop Guard on spanning tree normal or network ports.
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
Note
normal and network interfaces.
Purpose
Displays the current status of spanning tree on the
switch
Displays selected detailed information for the current
spanning tree configuration.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Verifying STP Extension Configuration
10-13
Need help?
Do you have a question about the N5010P-N2K-BE and is the answer not in the manual?