Cisco Systems N3KC3064TFAL3 Manual De Usuario

Descargar
Página de 164
Before You Begin
Ensure that STP is configured.
Ensure that you are configuring Loop Guard on spanning tree normal or network ports.
Procedure
Purpose
Command or Action
Enters configuration mode.
switch# configure terminal
Step 1
Specifies the interface to configure, and enters the interface
configuration mode.
switch(config)# interface type
slot
/port
Step 2
Enables or disables either Loop Guard or Root Guard for
the specified interface. By default, Root Guard is disabled
switch(config-if)# spanning-tree
guard 
{loop root none}
Step 3
by default, and Loop Guard on specified ports is also
disabled.
Loop Guard runs only on spanning tree normal
and network interfaces.
Note
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:
Purpose
Command
Displays the current status of spanning tree on the
switch
switch# show running-config spanning-tree [all]
Displays selected detailed information for the current
spanning tree configuration.
switch# show spanning-tree [options]
Cisco Nexus 3000 NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U3(1)    
   OL-26590-01
125
Configuring STP Extensions
Verifying STP Extension Configuration