Command Reference Guide

SROS Command Line Interface Reference Guide Enable Mode Command Set
5991-2114 © Copyright 2005 Hewlett-Packard Development Company, L.P. 85
debug ip tcp events
Use the debug ip tcp events command to activate debug messages associated with significant TCP events
such as state changes, retransmissions, session aborts, etc., in the Secure Router OS. Debug messages are
displayed (real-time) to the terminal (or Telnet) screen. Use the no form of this command to disable the
debug messages.
Syntax Description
No default value necessary for this command.
Default Values
By default, all debug messages in the Secure Router OS are disabled.
Command Modes
# Enable Command Mode
Functional Notes
In the debug ip tcp events information, TCB stands for TCP task control block. The numbers which
sometimes appear next to TCB (e.g., TCB5 in the following example) represent the TCP session number.
This allows you to differentiate debug messages for multiple TCP sessions.
Usage Examples
The following is sample output for this command:
>enable
#debug ip tcp events
2003.02.17 07:40:56 IP.TCP EVENTS TCP: Allocating block 5
2003.02.17 07:40:56 IP.TCP EVENTS TCB5: state change: FREE->SYNRCVD
2003.02.17 07:40:56 IP.TCP EVENTS TCB5: new connection from 172.22.75.246:3473 to
10.200.2.201:23
2003.02.17 07:40:56 IP.TCP EVENTS TCB5: state change: SYNRCVD->ESTABLISHED
[172.22.75.246:3473]
2003.02.17 07:41:06 IP.TCP EVENTS TCB5: Connection aborted -- error = RESET
2003.02.17 07:41:06 IP.TCP EVENTS TCB5: De-allocating tcb
Note
These debug events are logged for packets that are sent or received from the router.
Forwarded TCP packets are not included.