HP Comware 5 Debug Manual Vol 3

Usage guidelines
Table 1 describes output fields and messages for the debugging stp event command.
Table 205 Output from the debugging stp event command
Field
Description
Port PortID occurs String event
A String event occurred on port PortID. The possible values of the String
argument are:
ADD VLANThe port was assigned to a VLAN.
DEL VLANThe port was removed from a VLAN.
SPEED CHANGEThe port speed changed.
DUPLEX CHANGEThe duplex mode of the port changed.
LINK DOWNA link-down event occurred on the port.
LINK UPA link-up event occurred on the port.
Examples
# Enable STP event debugging for port Ethernet 1/1.
<Sysname> debugging stp event interface ethernet 1/1
*Mar 18 14:28:41:887 2010 Sysname MSTP/7/PEVT: Slot=1;Port 2(Ethernet1/1) occurs LINK DOWN
event
// A link-down event occurred on Ethernet 1/1.
debugging stp fsm
Use debugging stp fsm to enable STP finite state machine (FSM) debugging.
Use undo debugging stp fsm to disable STP FSM debugging.
Syntax
debugging stp fsm [ instance instance-id | vlan vlan-id ] [ interface interface-type interface-number ]
undo debugging stp fsm [ instance instance-id | vlan vlan-id ] [ interface interface-type
interface-number ]
Default
STP FSM debugging is disabled.
Views
User view
Default command level
2: System level
Parameters
instance instance-id: Specifies an MSTI. The instance-id argument represents the MSTI ID. The minimum
value of this argument is 0, which represents the common internal spanning tree (CIST). The maximum
value depends on the device model. If you do not specify an MSTI, this command enables STP FSM
debugging for all MSTIs. This option is not applicable to the PVST mode.
vlan vlan-id: Specifies a VLAN by its ID. The value range for the vlan-id argument varies with device
models. If you do not specify a VLAN, this command enables STP FSM debugging for all VLANs. This
option is only applicable to the PVST mode.
403