12.
Spanning Tree Protocol (STP)
MN700004 Rev 01
119
PortPriority = 128
PortState = disabled
PortEnable = disabled
PortPathCost = 10
DesignatedRoot = This bridge is the root
DesignatedCost = 0
DesignatedBridge = This bridge
DesignatedPort = 128.1
FrwrdTransitions = 0
TopChangeDetection = Enabled
Debugging STP
Table 12-5 lists the STP debugging commands.
Table 12-5 STP Debugging Commands
C o m m a n d D e s c r i p t i o n
debug stp
Displays the information related to processing the Spanning Tree Protocol
(STP).
show debug stp
Displays the debug status for the Spanning Tree protocol (STP).
Enabling STP Debug Information
The
debug stp
command, in Privileged (Enable) mode, displays the information related to
processing the Spanning Tree protocol (STP). Use the
no
form of this command to disable the
display of STP information.
The STP debug commands will not be saved after reload.
By default, the debug is disabled.
Command Syntax
device-name
#
debug stp
{
all
|
flush
|
tc
|
tcn
}
device-name
#
no debug stp
{
all
|
flush
|
tc
|
tcn
}
Argument Description
all
Activates all STP debug options.
flush
Activates MAC address table flush debugging.
tc
Activates debugging when the switch receives or transmits BPDU with topology change.
tcn
Activates debugging when the switch receives TCN or transmits BPDU with topology change
ACK.