HP Comware 5 Debug Manual Vol 2
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
# Enable TCP event debugging.
<Sysname> terminal debugging
<Sysname> debugging tcp event
Output similar to the following example is generated when you Telnet to the local device from another
device:
*Aug 3 05:28:47:813 2006 Sysname SOCKET/7/TCP EVENT:
1123046927: task = VTYD(34), socketid = 0,
TCPCB 0x07c713c4 created
// TCP created a TCP control block (TCPCB).
*Aug 3 05:28:47:814 2006 Sysname SOCKET/7/TCP EVENT:
1123046927: task = VTYD(34), socketid = 0,
state Closed changed to Listening
// TCP changed the TCP connection state from Closed to Listening.
*Aug 3 05:28:47:815 2006 Sysname SOCKET/7/TCP EVENT:
1123046927: task = VTYD(34), socketid = 0,
received MSS = 1460,
LA = 10.1.1.1:23, FA = 10.1.1.2:1326
// TCP received the MSS advertised by the peer end.
*Aug 3 05:28:47:815 2006 Sysname SOCKET/7/TCP EVENT:
1123046927: task = VTYD(34), socketid = 0,
state Listening changed to Syn_Rcvd
// TCP changed the TCP connection state from Listening to Syn_Rcvd.
*Aug 3 05:28:47:816 2006 Sysname SOCKET/7/TCP EVENT:
1123046927: task = VTYD(34), socketid = 0,
advertising MSS = 1460,
LA = 10.1.1.1:23, FA = 10.1.1.2:1326
// TCP advertised the MSS to the peer end.
*Aug 3 05:28:47:820 2006 Sysname SOCKET/7/TCP EVENT:
1123046927: task = VTYD(34), socketid = 5,
state Syn_Rcvd changed to Established
// TCP changed the TCP connection state from Syn_Rcvd to Established.
debugging tcp md5
Use debugging tcp md5 to enable MD5 authentication debugging for TCP connections.
Use undo debugging tcp md5 to disable MD5 authentication debugging for TCP connections.
126