debug spanning-tree
Syntax
debug spanning-tree
{
all
|
bpdu
[
rx
|
tx
[
all
|
[
interface {
ethernet
slot/port |
port-channel
number
}
no debug spanning-tree
{
all
|
bpdu
[
rx
|
tx
[
all
|
[
interface {
ethernet
slot/port |
port-channel
number
}
Command Default
STP debugging is disabled.
Parameters
-
all
- Turns on spanning tree packet debugging on all interfaces.
-
bpdu
- Turns on Bridge Protocol Data Unit debugging.
- rx
- Turns on debugging for only received spanning-tree packets.
- tx
- Turns on debugging for only transmitted spanning-tree packets.
-
interface
- Specifies an interface.
- ethernet
- Specifies an Ethernet interface.
- slot
- Specifies a valid slot number. Must be 0 if the switch does not contain slots.
- port
- Specifies a valid port number.
-
port-channel
number
- Specifies a port-channel.
Modes
Privileged EXEC mode
Usage Guidelines
Diagnostic commands are developed and intended
for specialized troubleshooting. Work closely with Extreme Networks technical
support when running debug or show
system internal commands and interpreting their results.
Enter
terminal monitor to display debugging outputs.
Enter
no debug spanning-tree to disable debugging.
Examples
To enable debugging of spanning-tree for both Rx and Tx on Ethernet interface 0/1:
device# debug spanning-tree bpdu rx interface ethernet 0/1
device# debug spanning-tree bpdu tx interface ethernet 0/1
device# show debug spanning-tree
MSTP debugging status:
Spanning-tree rx debugging is off
Eth 0/1 rx is on
Spanning-tree tx debugging is off
Eth 0/1 tx is on