SUMMARY STEPS
1.
switch# show interface interface-type slot/port include rate
2.
switch(config)# interface interface-type slot/port
3.
switch(config-if)# shutdown
4.
switch(config-if)# show spanning-tree vlan vlan-id
5.
(Optional) switch(config-if)# show spanning-tree interface interface-type slot/port detail
6.
(Optional) switch(config-if)# show interface counters errors
DETAILED STEPS
PurposeCommand or Action
Identifies the ports involved in the loop by
looking at the interfaces with high link
utilization.
switch# show interface interface-type slot/port include rate
Example:
switch# show interface ethernet 2/1 include rate
1 minute input rate 19968 bits/sec, 0 packets/sec
Step 1
1 minute output rate 3952023552 bits/sec, 957312 packets/sec
Configures the interface type and location.
switch(config)# interface interface-type slot/port
Example:
switch(config)# interface ethernet 2/1
Step 2
Shuts down or disconnects the affected
ports.
switch(config-if)# shutdown
Example:
switch(config-if)# shutdown
Step 3
After disconnecting the affected ports,
locate every switch in the redundant paths
using your network topology diagram.
Verifies that the switch lists the same STP
root bridge as the other nonaffected
switches.
switch(config-if)# show spanning-tree vlan vlan-id
Example:
switch(config-if)# show spanning-tree vlan 9
VLAN0009
Step 4
Spanning tree enabled protocol rstp
Root ID Priority 32777''
Address 0018.bad7.db15''
Cost 4
...
(Optional)
Verifies that the root port and alternate
ports are regularly receiving BPDUs.
switch(config-if)# show spanning-tree interface interface-type slot/port
detail
Example:
switch(config-if)# show spanning-tree interface ethernet 3/1
detail
Step 5
Port 385 (Ethernet3/1) of VLAN0001 is root forwarding
Port path cost 4, Port priority 128, Port Identifier 128.385
Designated root has priority 32769, address 0018.bad7.db15
Designated bridge has priority 32769, address 0018.bad7.db15
Cisco Nexus 9000 Series NX-OS Troubleshooting Guide, Release 7.x
57
Troubleshooting STP
Troubleshooting STP Data Loops