To confirm that a port is participating in STP, use the
privilege mode
Figure 33-6. show spanning-tree brief Command Example
FTOS#show spanning-tree 0 brief
Executing IEEE compatible Spanning Tree Protocol
Root ID Priority 32768, Address 0001.e80d.2462
We are the root of the spanning tree
Root Bridge hello time 2, max age 20, forward delay 15
Bridge ID Priority 32768, Address 0001.e80d.2462
Configured hello time 2, max age 20, forward delay 15
Bpdu filter disabled globally
Interface
Name
--------------
Tengig 1/1
Tengig 1/2
Tengig 1/3
Tengig 1/4
FTOS#
Adding an Interface to the Spanning Tree Group
To add a Layer 2 interface to the STP topology, use the following command:
Task
Enable spanning tree on a Layer 2 interface.
Removing an Interface from the Spanning Tree Group
To remove a Layer 2 interface from the STP topology, use the following command:
Task
Disable spanning tree on a Layer 2 interface.
582
|
Spanning Tree Protocol (STP)
(Figure
33-6).
PortID Prio Cost Sts Cost
------ ---- ---- --- ----- -----------------
8.496
8
4
DIS
8.497
8
4
DIS
8.513
8
4
FWD
8.514
8
4
FWD
show spanning-tree 0 brief
Designated
Bridge ID
0
32768 0001.e80d.2462 8.496
0
32768 0001.e80d.2462 8.497
0
32768 0001.e80d.2462 8.513
0
32768 0001.e80d.2462 8.514
Command Syntax
spanning-tree 0
Command Syntax
no spanning-tree 0
command from EXEC
PortID
------
Command Mode
INTERFACE
Command Mode
INTERFACE