show ipv6 tcp connections

Displays general information about each TCP connection on the router, including the percentage of free memory for each of the internal TCP buffers.
Syntax
show ipv6 tcp connections[all-vrfs][port-num|ipv6-address]
Parameters
all-vrfs
Displays all VRFs for all TCP connections.
port-num
Displays the information for the specific port number. Values are SSH:22 TELNET:23 HTTP:80 BGP:179 SSL:443 MSDP:639 LDP:646.
ipv6-address
Displays information for the specified IPv6 address of the remote device.
Modes

User EXEC mode

The show ipv6 tcp connections command displays the following information:

Output field Description
Local IP address:port The IPv4 or IPv6 address and port number of the local router interface over which the TCP connection occurs.
Remote IP address:port The IPv4 or IPv6 address and port number of the remote router interface over which the TCP connection occurs.
TCP state The state of the TCP connection. Possible states include the following:
  • LISTEN - Waiting for a connection request.
  • SYN-SENT - Waiting for a matching connection request after having sent a connection request.
  • SYN-RECEIVED - Waiting for a confirming connection request acknowledgment after having both received and sent a connection request.
  • ESTABLISHED - Data can be sent and received over the connection. This is the normal operational state of the connection.
  • FIN-WAIT-1 - Waiting for a connection termination request from the remote TCP, or an acknowledgment of the connection termination request previously sent.
  • FIN-WAIT-2 - Waiting for a connection termination request from the remote TCP.
  • CLOSE-WAIT - Waiting for a connection termination request from the local user.
  • CLOSING - Waiting for a connection termination request acknowledgment from the remote TCP.
  • LAST-ACK - Waiting for an acknowledgment of the connection termination request previously sent to the remote TCP (which includes an acknowledgment of its connection termination request).
  • TIME-WAIT - Waiting for enough time to pass to be sure the remote TCP received the acknowledgment of its connection termination request.
  • CLOSED - There is no connection state.
FREE TCP = percentage The percentage of free TCP control block (TCP) space.
FREE TCP QUEUE BUFFER = percentage The percentage of free TCP queue buffer space.
FREE TCP SEND BUFFER = percentage The percentage of free TCP send buffer space.
FREE TCP RECEIVE BUFFER = percentage The percentage of free TCP receive buffer space.
FREE TCP OUT OF SEQUENCE BUFFER = percentage The percentage of free TCP out of sequence buffer space.
Examples

The following sample output from the show ipv6 tcp connections command displays general information about each TCP connection on the router.

device# show ipv6 tcp connections
Total 12 TCP connections
   LISTEN: 10; SYN-SENT: 0; SYN-RECEIVED 0; ESTABLISHED: 2; FIN-WAIT-1: 0
   FIN-WAIT-2: 0; CLOSE-WAIT: 0; LAST-ACK 0; CLOSING: 0; TIME-WAIT: 0
Local IPv6 address:port <-> Remote IPv6 address:port TCP state    RcvQue  RxBuffe SendQue TxBuffe
::                 21        ::                 0       LISTEN       0       0       0       0
::                 22        ::                 0       LISTEN       0       0       0       0
::                 23        ::                 0       LISTEN       0       0       0       0
::                 24        ::                 0       LISTEN       0       0       0       0
::                 25        ::                 0       LISTEN       0       0       0       0
::                 179       ::                 0       LISTEN       0       0       0       0
::                 443       ::                 0       LISTEN       0       0       0       0
::                 448       ::                 0       LISTEN       0       0       0       0
::                 2024      ::                 0       LISTEN       0       0       0       0
::                 8444      ::                 0       LISTEN       0       0       0       0
3003::10           23        3003::20           42028   ESTABLISHED  0       0       0       0
3003::10           8191      3003::20           179     ESTABLISHED  0       0       0       0
History
Release version Command history
09.0.00 The command was modified to add the all-vrfs option. Output was also modified to remove memory usage percentages and add buffer information.