Users Guide

Figure 124. Spanning Tree Enabled Globally
To enable STP globally, use the following commands.
1. Enter PROTOCOL SPANNING TREE mode.
CONFIGURATION mode
protocol spanning-tree 0
2. Enable STP.
PROTOCOL SPANNING TREE mode
no disable
To disable STP globally for all Layer 2 interfaces, use the disable command from PROTOCOL SPANNING TREE mode.
To verify that STP is enabled, use the show config command from PROTOCOL SPANNING TREE mode.
Dell(conf)#protocol spanning-tree 0
Dell(config-span)#show config
!
protocol spanning-tree 0
no disable
Dell#
To view the spanning tree configuration and the interfaces that are participating in STP, use the show spanning-tree 0 command
from EXEC privilege mode. If a physical interface is part of a port channel, only the port channel is listed in the command output.
R2#show spanning-tree 0
Executing IEEE compatible Spanning Tree Protocol
Bridge Identifier has priority 32768, address 0001.e826.ddb7
Configured hello time 2, max age 20, forward delay 15
Current root has priority 32768, address 0001.e80d.2462
Root Port is 289 (TenGigabitEthernet 2/1), cost of root path is 4
Topology change flag not set, detected flag not set
Number of topology changes 3 last change occurred 0:16:11 ago
from TenGigabitEthernet 2/3
Timers: hold 1, topology change 35
hello 2, max age 20, forward delay 15
Times: hello 0, topology change 0, notification 0, aging Normal
774
Spanning Tree Protocol (STP)