TCP and SCTP State Connection Counters

The Oracle® Enterprise Session Border Controller (E-SBC) can provide systemwide counts of Transmission Control Protocol (TCP) and Stream Control Transmission Protocol (SCTP) states by way of the show ip tcp and show ip sctp commands from the ACLI.

The show ip tcp command includes the following section of counters that correspond to counts of TCP states per active connections, including counts differentiated by inbound, outbound, listen and IMS-AKA connections.
Connections By State:
        0       CLOSED
        0       LISTEN
        0       SYN_SENT
        0       SYN_RCVD
        0       ESTABLISHED
        0       CLOSE_WAIT
        0       FIN_WAIT_1
        0       CLOSING
        0       LAST_ACK
        0       FIN_WAIT_2
        0       TIME_WAIT

Inbound Socket Connection By State:
          0	CLOSED
          0	LISTEN
          0	SYN_SENT
          0	SYN_RCVD
         50	ESTABLISHED
          0	CLOSE_WAIT
          0	FIN_WAIT_1
          0	CLOSING
          0	LAST_ACK
          0	FIN_WAIT_2
          0	TIME_WAIT


Outbound Socket Connection By State:
          0	CLOSED
          0	LISTEN
          0	SYN_SENT
          0	SYN_RCVD
          1	ESTABLISHED
          0	CLOSE_WAIT
          0	FIN_WAIT_1
          0	CLOSING
          0	LAST_ACK
          0	FIN_WAIT_2
          0	TIME_WAIT


Listen Socket Connection By State:
          0	CLOSED
          2	LISTEN
          0	SYN_SENT
          0	SYN_RCVD
          0	ESTABLISHED
          0	CLOSE_WAIT
          0	FIN_WAIT_1
          0	CLOSING
          0	LAST_ACK
          0	FIN_WAIT_2
          0	TIME_WAIT


IMSAKA Inbound Socket Connection By State:
          0	CLOSED
          0	LISTEN
          0	SYN_SENT
          0	SYN_RCVD
          0	ESTABLISHED
          0	CLOSE_WAIT
          0	FIN_WAIT_1
          0	CLOSING
          0	LAST_ACK
          0	FIN_WAIT_2
          0	TIME_WAIT


IMSAKA Outbound Socket Connection By State:
          0	CLOSED
          0	LISTEN
          0	SYN_SENT
          0	SYN_RCVD
          0	ESTABLISHED
          0	CLOSE_WAIT
          0	FIN_WAIT_1
          0	CLOSING
          0	LAST_ACK
          0	FIN_WAIT_2
          0	TIME_WAIT


IMSAKA Listen Socket Connection By State:
          0	CLOSED
          0	LISTEN
          0	SYN_SENT
          0	SYN_RCVD
          0	ESTABLISHED
          0	CLOSE_WAIT
          0	FIN_WAIT_1
          0	CLOSING
          0	LAST_ACK
          0	FIN_WAIT_2
          0	TIME_WAIT


        Number of Connections Counted = 0
        Maximum Connection Count = 0
        Maximum Number of Connections Supported = 220000
The show ip sctp command includes the following section of counters that correspond to counts of SCTP states per active connections.
Connections By State:
                0       CLOSED
                0       BOUND
                0       LISTEN
                0       COOKIE_WAIT
                0       COOKIE_ECHOED
                0       ESTABLISHED
                0       SHUTDOWN_SENT
                0       SHUTDOWN_RECEIVED
                0       SHUTDOWN_ACK_SENT
                0       SHUTDOWN_PENDING

        Number of Connections Counted = 0
        Maximum Connection Count = 0
        Maximum Number of Connections Supported = 10000

The output of the state counters indicates the number of connections currently in each state. The statistics from the counters do not accumulate like many of the other statistics in the show ip command tree. Most states are ephemeral, and you may see many "0" counters for states other than LISTEN and ESTABLISHED.