Cisco TCP Statistics

The following is sample output from the show tcp statistics command:

Router# show tcp statistics

Rcvd: 91995 Total, 3860 no port 79 checksum error, 0 bad offset, 0 too short 7234 packets (549608 bytes) in sequence 36 dup packets (3621 bytes) 0 partially dup packets (0 bytes) 113 out-of-order packets (0 bytes) 0 packets (0 bytes) with data after window 0 packets after close 0 window probe packets, 0 window update packets 206 dup ack packets, 0 ack packets with unsend data 7705 ack packets (1025558 bytes) Sent: 88895 Total, 0 urgent packets 77647 control packets (including 121 retransmitted) 6352 data packets (1035719 bytes) 99 data packets (18018 bytes) retransmitted 0 data packets (0 bytes) fastretransmitted 4797 ack only packets (3093 delayed) 0 window probe packets, 0 window update packets 0 Connections initiated, 1374 connections accepted, 1296 connections established 148134 Connections closed (including 137 dropped, 73383 embryonic dropped) 220 Total rxmt timeout, 0 connections dropped in rxmt timeout 32 Keepalive timeout, 32 keepalive probe, 6 Connections dropped in keepalive  

show tcp statistics Field Descriptions

Field Description
Rcvd: Statistics in this section refer to packets received by the router.
Total Total packets received.
no port number of packets received with no port.
checksum error Number of packets received with checksum error.
bad offset Number of packets received with bad offset to data.
too short Number of packets received that were too short.
packets in sequence Number of data packets received in sequence.
dup packets Number of duplicate packets received.
partially dup packets Number of packets received with partially duplicated data.
out-of-order packets Number of packets received out of order.
packets with data after window Number of packets received with data that exceeded the receiver’s window size.
packets after close Number of packets received after the connection has been closed.
window probe packets Number of window probe packets received.
window update packets Number of window update packets received.
dup ack packets Number of duplicate acknowledgment packets received.
ack packets with unsent data Number of acknowledgment packets with unsent data received.
ack packets Number of acknowledgment packets received.
Sent: Statistics in this section refer to packets sent by the router.
Total Total number of packets sent.
urgent packets Number of urgent packets sent.
control packets Number of control packets (SYN, FIN, or RST) sent.
data packets Number of data packets sent.
data packets retransmitted Number of data packets re-sent.
ack only packets Number of packets sent that are acknowledgments only.
window probe packets Number of window probe packets sent.
window update packets Number of window update packets sent.
Connections initiated Number of connections initiated.
connections accepted Number of connections accepted.
connections established Number of connections established.
Connections closed Number of connections closed.
Total rxmt timeout Number of times the router tried to re-send, but timed out.
Connections dropped in rxmit timeout Number of connections dropped in re-send timeout.
Keepalive timeout Number of keepalive packets in timeout.
keepalive probe Number of keepalive probes.
Connections dropped in keepalive Number of connections dropped in keepalive.

Related Commands

Command Description
clear tcp statistics

Clears TCP statistics.