Cisco Systems N3KC3064TFAL3 Verifying STP Extension Configuration, guard loop root none, Step

Models: N3KC3064TFAL3 N3KC3048TP1GE

1 164
Download 164 pages 5.98 Kb
Page 139
Image 139
guard {loop root none}

Configuring STP Extensions

Verifying STP Extension Configuration

Before You Begin

Ensure that STP is configured.

Ensure that you are configuring Loop Guard on spanning tree normal or network ports.

Procedure

 

Command or Action

Purpose

 

Step 1

switch# configure terminal

Enters configuration mode.

Step 2

switch(config)# interface type

Specifies the interface to configure, and enters the interface

 

slot/port

configuration mode.

Step 3

switch(config-if)# spanning-tree

Enables or disables either Loop Guard or Root Guard for

 

guard {loop root none}

the specified interface. By default, Root Guard is disabled

 

 

by default, and Loop Guard on specified ports is also

 

 

disabled.

 

 

Note

Loop Guard runs only on spanning tree normal

 

 

 

and network interfaces.

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

Purpose

switch# show running-config spanning-tree [all]

Displays the current status of spanning tree on the

 

switch

switch# show spanning-tree [options]

Displays selected detailed information for the current

 

spanning tree configuration.

Cisco Nexus 3000 NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U3(1)

OL-26590-01

125

Page 139
Image 139
Cisco Systems N3KC3064TFAL3 Verifying STP Extension Configuration, guard loop root none, Before You Begin, Procedure, Step