Technical data

Table Of Contents
40 Converged Enhanced Ethernet Command Reference
53-1002508-01
debug spanning-tree
2
debug spanning-tree
Enables debugging for the Spanning Tree Protocol.
Synopsis debug spanning-tree {all | bpdu {rx | tx {all | interface port-channel number | interface
tengigabitethernet slot/port}}}
no debug spanning-tree {all | bpdu {rx | tx {all | interface port-channel number | interface
tengigabitethernet slot/port}}}
Operands 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 port-channel number
Specifies the port-channel interface. The range of valid values is from 1
through 63.
interface tengigabitethernet
Specifies the 10 Gbps Ethernet interface.
slot Specifies the slot number.
port Specifies the port number.
Defaults By default, debugging is not turned on.
Command
Modes
Privileged EXEC mode
EXEC mode
Description Use this command to enable debugging for the Spanning Tree Protocol.
Usage
Guidelines
To display debugging outputs on a particular cmsh session, use the terminal monitor command.
Use the no debug command to disable debugging.
Examples To enable debugging of spanning-tree packets for both Rx and Tx on 10 Gbps Ethernet interface
0/1:
switch#debug spanning-tree bpdu rx interface tengigabitethernet 0/1
switch#debug spanning-tree bpdu tx interface tengigabitethernet 0/1
switch#show debug spanning-tree
MSTP debugging status:
Spanning-tree rx debugging is off
Te 0/1 rx is on
Spanning-tree tx debugging is off
Te 0/1 tx is on
See Also show debug spanning-tree