show spanning-tree interfaces
This topic explains the command that displays spanning tree configuration and statistics for an interface or LAG.
|
Syntax |
show spanning-tree interfaces id |
|
Parameter |
|
|
Default |
No default value. |
|
Mode |
Privileged EXEC |
|
Usage |
Use this command to show the STP configuration and statistics for an interface or LAG. |
Example: This example shows how to display the STP configuration for interface g23:
CODE
Switch# show spanning-tree interfaces g23
Port g23 enabled
State: forwarding Role: designated
Port id: 128.23 Port cost: 19
Type: P2P (RSTP) Edge Port: No
Designated bridge Priority : 32768 Address: 00:11:22:33:44:55
Designated port id: 128.23 Designated path cost: 0
BPDU Filter: Disabled BPDU guard: Disabled
BPDU: sent 21886, received 0