Use
show tcp <line number> command to get the tcp session
detailed information including foreign host, connection state, Event Timers,
datagrams counters, and so on.
Router#show tcp 2
tty0/1/0, virtual tty from host 10.75.157.51
Connection state is ESTAB, I/O status: 1, unread input bytes: 0
Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 255
Local host: 10.75.163.116, Local port: 2002
Foreign host: 10.75.157.51, Foreign port: 17719
Connection tableid (VRF): 1
Maximum output segment queue size: 20
Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes)
Event Timers (current time is 0x11F2BAC0):
Timer Starts Wakeups Next
Retrans 112 0 0x0
TimeWait 0 0 0x0
AckHold 15 2 0x0
SendWnd 0 0 0x0
KeepAlive 0 0 0x0
GiveUp 0 0 0x0
PmtuAger 0 0 0x0
DeadWait 0 0 0x0
Linger 0 0 0x0
ProcessQ 0 0 0x0
iss: 2183166457 snduna: 2183179079 sndnxt: 2183179079
irs: 334962581 rcvnxt: 334962632
sndwnd: 24656 scale: 0 maxrcvwnd: 4128
rcvwnd: 4078 scale: 0 delrcvwnd: 50
SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms
minRTT: 1 ms, maxRTT: 1000 ms, ACK hold: 200 ms
uptime: 1919014 ms, Sent idletime: 1811238 ms, Receive idletime: 1811237 ms
Status Flags: passive open, active open
Option Flags: Retrans timeout
IP Precedence value : 0
Datagrams (max data segment is 536 bytes):
Rcvd: 125 (out of order: 0), with data: 14, total data bytes: 50
Sent: 114 (retransmit: 0, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 111, total data bytes: 12621
Packets received in fast path: 0, fast processed: 0, slow path: 0
fast lock acquisition failures: 0, slow path: 0
TCP Semaphore 0x7FC594004670 FREE