HP Comware 5 Debug Manual Vol 2

Default command level
1: Monitor level
Parameters
task-id: Specifies the task ID in the range 1 to 100.
socket-id: Specifies the socket ID in the range 0 to 3072.
slot-number: Specifies the number of the slot that holds the card. (Distributed devices.)
slot-number: Specifies the ID of the IRF member device. (Centralized IRF member devices.)
chassis-number slot-number: Specifies the slot number of the card on an IRF member device.
chassis-number refers to the ID of the IRF member device, and slot-number refers to the slot number where
the card resides. (Distributed IRF member devices.)
Examples
# Enable the Telnet server.
<Sysname> system-view
[Sysname] telnet server enable
# Create VTY users.
[Sysname] user-interface vty 0 4
[Sysname-ui-vty0-4] authentication-mode none
[Sysname-ui-vty0-4] user privilege level 3
[Sysname-ui-vty0-4] quit
# Enable TCP packet debugging.
<Sysname> terminal debugging
<Sysname> debugging tcp packet
Output similar to the following example is generated when you Telnet to the local device from another
device:
*Aug 3 05:42:12:871 2006 Sysname SOCKET/7/TCP PACKET:
1123047732: Input: task = VTYD(34), socketid = 1, state = Listening,
src = 10.1.1.2:1342, dst = 10.1.1.1:23,
seq = 2531458967, ack = 0, optlen = 4, flag = SYN,
window = 8192
// TCP received a SYN packet and changed the TCP connection state to Listening.
*Aug 3 05:42:12:872 2006 Sysname SOCKET/7/TCP PACKET:
1123047732: Output: task = VTYD(34), socketid = 0, state = Syn_Rcvd,
src = 10.1.1.1:23, dst = 10.1.1.2:1342,
seq = 1209484563, ack = 2531458968, optlen = 4, flag = ACK SYN,
window = 8192
// TCP sent a SYN ACK packet and changed the TCP connection state to Syn_Rcvd.
*Aug 3 05:42:12:875 2006 Sysname SOCKET/7/TCP PACKET:
1123047732: Input: task = VTYD(34), socketid = 0, state = Syn_Rcvd,
src = 10.1.1.2:1342, dst = 10.1.1.1:23,
seq = 2531458968, ack = 1209484564, flag = ACK,
window = 8192
// TCP received an ACK massage and keep the TCP connection state to Syn_Rcvd. After processing the
ACK packet, TCP changed the TCP connection state to Established.
128