show tcpstat
To display the status of the ASA TCP stack and the TCP connections that are terminated on the ASA (for debugging), use the show tcpstat command in privileged EXEC mode. This command supports IPv4 and IPv6 addresses.
show tcpstat
Syntax Description
This command has no arguments or keywords.
Command Default
No default behavior or values.
Command Modes
The following table shows the modes in which you can enter the command:
Command Mode |
Firewall Mode |
Security Context |
|||
---|---|---|---|---|---|
Routed |
Transparent |
Single |
Multiple |
||
Context |
System |
||||
Privileged EXEC |
|
|
|
|
— |
Command History
Release |
Modification |
---|---|
7.0(1) |
This command was added. |
Usage Guidelines
The show tcpstat command allows you to display the status of the TCP stack and TCP connections that are terminated on the ASA. The TCP statistics displayed are described in Table 28 .
Statistic |
Description |
---|---|
tcb_cnt |
Number of TCP users. |
proxy_cnt |
Number of TCP proxies. TCP proxies are used by user authorization. |
tcp_xmt pkts |
Number of packets that were transmitted by the TCP stack. |
tcp_rcv good pkts |
Number of good packets that were received by the TCP stack. |
tcp_rcv drop pkts |
Number of received packets that the TCP stack dropped. |
tcp bad chksum |
Number of received packets that had a bad checksum. |
tcp user hash add |
Number of TCP users that were added to the hash table. |
tcp user hash add dup |
Number of times a TCP user was already in the hash table when trying to add a new user. |
tcp user srch hash hit |
Number of times a TCP user was found in the hash table when searching. |
tcp user srch hash miss |
Number of times a TCP user was not found in the hash table when searching. |
tcp user hash delete |
Number of times that a TCP user was deleted from the hash table. |
tcp user hash delete miss |
Number of times that a TCP user was not found in the hash table when trying to delete the user. |
lip |
Local IP address of the TCP user. |
fip |
Foreign IP address of the TCP user. |
lp |
Local port of the TCP user. |
fp |
Foreign port of the TCP user. |
st |
State (see RFC 793) of the TCP user. The possible values are as follows:
|
rexqlen |
Length of the retransmit queue of the TCP user. |
inqlen |
Length of the input queue of the TCP user. |
tw_timer |
Value of the time_wait timer (in milliseconds) of the TCP user. |
to_timer |
Value of the inactivity timeout timer (in milliseconds) of the TCP user. |
cl_timer |
Value of the close request timer (in milliseconds) of the TCP user. |
per_timer |
Value of the persist timer (in milliseconds) of the TCP user. |
rt_timer |
Value of the retransmit timer (in milliseconds) of the TCP user. |
tries |
Retransmit count of the TCP user. |
Examples
This example shows how to display the status of the TCP stack on the ASA:
ciscoasa# show tcpstat
CURRENT MAX TOTAL
tcb_cnt 2 12 320
proxy_cnt 0 0 160
tcp_xmt pkts = 540591
tcp_rcv good pkts = 6583
tcp_rcv drop pkts = 2
tcp bad chksum = 0
tcp user hash add = 2028
tcp user hash add dup = 0
tcp user srch hash hit = 316753
tcp user srch hash miss = 6663
tcp user hash delete = 2027
tcp user hash delete miss = 0
lip = 172.23.59.230 fip = 10.21.96.254 lp = 443 fp = 2567 st = 4 rexqlen = 0
in0
tw_timer = 0 to_timer = 179000 cl_timer = 0 per_timer = 0
rt_timer = 0
tries 0