HP Comware 5 Debug Manual Vol 3
Field
Description
Instance InstanceID's port
PortID(PortName) is selected as
String role
VLAN VLANID's port
PortID(PortName) is selected as
String role
The role of port PortID(PortName) on MSTI InstanceID or VLAN VLANID is
String. The possible values of the String argument are:
• DESIGNATED—The port is a designated port.
• ROOT—The port is a root port.
• ALTERNATE—The port is an alternate port.
• BACKUP—The port is a backup port.
• MASTER—The port is a master port.
Examples
# In MSTP mode, enable STP FSM debugging for all ports in MSTI 2.
<Sysname> debugging stp fsm instance 2
*Mar 18 14:28:41:739 2010 Sysname MSTP/7/MEXS:Slot=1;Instance 2's port105(Ethernet1/1)
enters PTX%PERIODIC state.
// Ethernet 1/1's PTX state machine in MSTI 2 was moved to the PERIODIC state.
*Mar 18 14:28:41:739 2010 Sysname MSTP/7/MEXS:Slot=1;Instance 2's port105(Ethernet1/1)
enters PTX%MSTP state.
// Ethernet 1/1's PTX state machine in MSTI 2 was moved to the MSTP state.
*Mar 18 14:28:41:741 2010 Sysname MSTP/7/MEXS:Slot=1;Instance 2's port105(Ethernet1/1)
enters PTX%PERIODIC state.
// Ethernet 1/1's PTX state machine in MSTI 2 was moved to the PERIODIC state.
*Mar 18 14:28:41:741 2010 Sysname MSTP/7/MEXS:Slot=1;Instance 2's port105(Ethernet1/1)
is selected as MASTER role
// Ethernet 1/1 was selected as the master port in MSTI 2.
# In PVST mode, enable STP FSM debugging for all ports in VLAN 2.
<Sysname> debugging stp fsm vlan 2
*Mar 18 14:28:41:739 2010 Sysname MSTP/7/MEXS:Slot=1;VLAN 2's port105(Ethernet1/1) enters
PTX%PERIODIC state.
// Ethernet 1/1's PTX state machine on VLAN 2 was moved to the PERIODIC state.
*Mar 18 14:28:41:739 2010 Sysname MSTP/7/MEXS:Slot=1;VLAN 2's port105(Ethernet1/1) enters
PTX%MSTP state.
// Ethernet 1/1's PTX state machine on VLAN 2 was moved to the MSTP state.
*Mar 18 14:28:41:741 2010 Sysname MSTP/7/MEXS:Slot=1;VLAN 2's port105(Ethernet1/1) enters
PTX%PERIODIC state.
// Ethernet 1/1's PTX state machine on VLAN 2 was moved to the PERIODIC state.
*Mar 18 14:28:41:741 2010 Sysname MSTP/7/MEXS:Slot=1;VLAN 2's port105(Ethernet1/1) is
selected as MASTER role
// Ethernet 1/1 was selected as the master port on VLAN 2.
debugging stp global-error
Use debugging stp global-error to enable STP global error debugging.
Use undo debugging stp global-error to disable STP global error debugging.
405