HP Comware 5 Debug Manual Vol 3
Default command level
2: System level
Parameters
interface interface-type interface-number: Specifies a port by its type and number. If you do not specify
a port, this command enables STP TC event debugging for all ports.
Usage guidelines
Table 7 describes output fields and messages for the debugging stp tc command.
Table 211 Output from the debugging stp tc command
Field
Description
Port PortID(PortName) String
TC event String occurred on port PortID(PortName).
The possible values of the String argument are:
• Receiving TCN—The port received a TCN BPDU.
• Sending TC—The port sent a TC BPDU.
• Sending TCA—The port sent a TCA BPDU.
• Sending TCN—The port sent a TCN BPDU.
Instance InstanceID's port
PortID(PortName) String
VLAN VLANID's port
PortID(PortName) String
TC event String occurred on port PortID(PortName) in MSTI InstanceID
or VLAN VLANID.
The possible values of the String argument are:
• Receiving TC in bound—The port received a TC BPDU on the MSTI.
• Receiving TCA—The port received a TCA BPDU.
• Receiving TC—The port received a TC BPDU.
• Sending TC—The port sent a TC BPDU.
• Sending TCA—The port sent a TCA BPDU.
• TcWhile Expiring—TC BPDU transmit timer expired.
Examples
# In MSTP mode, enable STP TC event debugging on all ports.
<Sysname> debugging stp tc
*Mar 18 14:28:41:784 2010 Sysname MSTP/8/PORTMSTTC:slot=1; Instance 1's Port106
(Ethernet1/1) Sending TC.
// Ethernet 1/1 on MSTI 1 sent a TC BPDU.
*Mar 18 14:28:41:784 2010 Sysname MSTP/8/PORTMSTTC: slot=1; Instance 1's Port106
(Ethernet1/1) Receiving TC.
// Ethernet 1/1 on MSTI 1 received a TC BPDU.
# In PVST mode, enable STP TC event debugging on all ports.
<Sysname> debugging stp tc
*Mar 18 14:28:41:784 2010 Sysname MSTP/8/PORTMSTTC:slot=1; VLAN 1's Port106(Ethernet1/1)
Sending TC.
// Ethernet 1/1 in VLAN 1 sent a TC BPDU.
*Mar 18 14:28:41:784 2010 Sysname MSTP/8/PORTMSTTC: slot=1; VLAN 1's Port106(Ethernet1/1)
Receiving TC.
// Ethernet 1/1 in VLAN 1 received a TC BPDU.
413