Command Reference Guide

3Com Router 5000 Family and Router 6000 Family debugging stp 57
Command Reference
debugging stp
Purpose Use the debugging stp command to enable STP debugging.
Use the undo debugging stp command to disable STP debugging.
Syntax debugging stp { error | event | packet }
undo debugging stp { error | event | packet }
Parameters error
Enables STP error debugging.
event
Enables STP event debugging.
packet
Enables STP packet debugging.
Example Enable STP packet debugging.
<router> debugging stp packet
Enable spanning-tree protocol packet debugging functions.
STP PACKET: Send Configuration BPDU to Ethernet1/0/1
TopologyChange:0, TopologyChangeAcknowledgment:0,
RootID:8000.00e0.fc04.9dc2
RootCost:0, BridgeID:8000.00e0.fc04.9dc2, PortID:8003
MessageAge:0, MaxAge:20, HelloTime:2, Forward:15
STP PACKET: Send TCN BPDU to Ethernet1/0/0
t
Enable STP event debugging.
<Router> debugging stp event
Enable spanning-tree protocol event debugging functions.
STP : HoldTicks is run on port 3
Table 1 Description on the fields of the debugging stp packet command
Field Description
STP PACKET: Send
Configuration BPDU to
Ethernet1/0/1
A configuration BPDU is sent to port Ethernet1/0/1.
TopologyChange:0,
TopologyChangeAcknowled
gment:0
Both topology change bit and topology change acknowledgement
bit are zero, meaning the topology does not change.
RootID:8000.00e0.fc04.9dc
2
ID of the bridge root on the spanning tree
RootCost:0,
BridgeID:8000.00e0.fc04.9d
c2, PortID:8003
Cost of the root port, ID of this bridge, and ID of this port
MessageAge:0, MaxAge:20,
HelloTime:2, Forward:15
MessageAge is the current age of the packet, MaxAge is the aging
timer. If the message age of the packet equals the Max Age timer,
the packet is dropped.
HelloTime is the hello interval.
Forward is the time that the port must wait before changing its
states.
STP PACKET: Send TCN
BPDU to Ethernet1/0/0
A TCN packet is sent to Ethernet 1/0/0