Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show system statistics tcp

    Syntax

    show system statistics tcp

    Syntax (EX Series Switches)

    show system statistics tcp<all-members><local><member member-id>

    Syntax (TX Matrix Router)

    show system statistics tcp<all-chassis | all-lcc | lcc number | scc>

    Syntax (TX Matrix Plus Router)

    show system statistics tcp<all-chassis | all-lcc | lcc number | sfc number>

    Release Information

    Command introduced before Junos OS Release 7.4.

    Command introduced in Junos OS Release 9.0 for EX Series switches.

    sfc option introduced for the TX Matrix Plus router in Junos OS Release 9.6.

    Description

    Display system-wide Transmission Control Protocol (TCP) statistics.

    Options

    none

    Display system statistics for TCP.

    all-chassis

    (TX Matrix and TX Matrix Plus routers only) (Optional) Display system statistics for TCP for all the routers in the chassis.

    all-lcc

    (TX Matrix and TX Matrix Plus routers only) (Optional) On a TX Matrix router, display system statistics for TCP for all T640 routers (or line-card chassis) connected to the TX Matrix router. On a TX Matrix Plus router, display system statistics for TCP for all T1600 routers (or line-card chassis) connected to the TX Matrix Plus router.

    all-members

    (EX4200 switches only) (Optional) Display TCP statistics for all members of the Virtual Chassis configuration.

    lcc number

    (TX Matrix and TX Matrix Plus routers only) (Optional) On a TX Matrix router, display system statistics for TCP for a specific T640 router that is connected to the TX Matrix router. On a TX Matrix Plus router, display system statistics for TCP for a specific T1600 router that is connected to the TX Matrix Plus router. Replace number with a value from 0 through 3.

    local

    (EX4200 switches only) (Optional) Display TCP statistics for the local Virtual Chassis member.

    member member-id

    (EX4200 switches only) (Optional) Display TCP statistics for the specified member of the Virtual Chassis configuration. Replace member-id with a value from 0 through 9.

    scc

    (TX Matrix routers only) (Optional) Display system statistics for TCP for the TX Matrix router (or switch-card chassis).

    sfc number

    (TX Matrix Plus routers only) (Optional) Display system statistics for TCP for the TX Matrix Plus router (or switch-fabric chassis). Replace number with 0.

    Additional Information

    By default, when you issue the show system statistics tcp command on a TX Matrix or TX Matrix Plus master Routing Engine, the command is broadcast to all the T640 (in a routing matrix based on a TX Matrix router) or T1600 (in a routing matrix based on a TX Matrix Plus router) master Routing Engines connected to it. Likewise, if you issue the same command on the TX Matrix or TX Matrix Plus backup Routing Engine, the command is broadcast to all the T640 (in a routing matrix based on a TX Matrix router) or T1600 (in a routing matrix based on a TX Matrix Plus router) backup Routing Engines that are connected to it.

    Required Privilege Level

    view

    List of Sample Output

    show system statistics tcp
    show system statistics tcp (EX Series Switches)
    show system statistics tcp lcc (TX Matrix Router)
    show system statistics tcp (TX Matrix Plus Router)

    Sample Output

    show system statistics tcp

    user@host> show system statistics tcp
    tcp:
            3844 packets sent
                    3618 data packets (1055596 bytes)
                    0 data packets (0 bytes) retransmitted
                    0 resends initiated by MTU discovery
                    205 ack-only packets (148 packets delayed)
                    0 URG only packets
                    0 window probe packets
                    0 window update packets
                    1079 control packets
            5815 packets received
                    3377 acks (for 1055657 bytes)
                    24 duplicate acks
                    0 acks for unsent data
                    2655 packets (15004 bytes) received in-sequence
                    1 completely duplicate packet  (0 bytes)
                    0 old duplicate packets
                    0 packets with some dup. data (0 bytes duped)
                    0 out-of-order packets (0 bytes)
                    0 packets (0 bytes) of data after window
                    0 window probes
                    7 window update packets
                    0 packets received after close
                    0 discarded for bad checksums
                    0 discarded for bad header offset fields
                    0 discarded because packet too short
            1 connection request
            32 connection accepts
            0 bad connection attempts
            0 listen queue overflows
            33 connections established (including accepts)
            30 connections closed (including 0 drops)
                    27 connections updated cached RTT on close
                    27 connections updated cached RTT variance on close
                    0 connections updated cached ssthresh on close
            0 embryonic connections dropped
            3374 segments updated rtt (of 3220 attempts)
            0 retransmit timeouts
                    0 connections dropped by rexmit timeout
            0 persist timeouts
                    0 connections dropped by persist timeout
            344 keepalive timeouts
                    0 keepalive probes sent
                    0 connections dropped by keepalive
            1096 correct ACK header predictions
            1314 correct data packet header predictions
            32 syncache entries added
                    0 retransmitted
                    0 dupsyn
                    0 dropped
                    32 completed
                    0 bucket overflow
                    0 cache overflow
                    0 reset
                    0 stale
                    0 aborted
                    0 badack
                    0 unreach
                    0 zone failures
            0 cookies sent
            0 cookies received
            0 ACKs sent in response to in-window but not exact RSTs
            0 ACKs sent in response to in-window SYNs on established connections
            0 rcv packets dropped by TCP due to bad address
            0 out-of-sequence segment drops due to insufficient memory
            1058 RST packets
            0 ICMP packets ignored by TCP
            0 send packets dropped by TCP due to auth errors
            0 rcv packets dropped by TCP due to auth errors
    

    show system statistics tcp (EX Series Switches)

    user@host> show system statistics tcp
    Tcp:
             572724 packets sent
                     21936 data packets (1887657 bytes)
                     2 data packets retransmitted (20 bytes)
                     0 resends initiated by MTU discovery
                     3724 ack only packets (537 packets delayed)
                     0 URG only packets
                     1 window probe packets
                     1 window update packets
                     1094083 control packets
             1134258 packets received
                     21371 acks(for 1886660 bytes)
                     5870 duplicate acks
                     0 acks for unsent data
                      19908  packets received in-sequence(267794 bytes)
                     3022 completely duplicate packets(0 bytes)
                     0 old duplicate packets
                     4 packets with some duplicate data(4 bytes duped)
                     2 out-of-order packets(2 bytes)
                     0 packets of data after window(0 bytes)
                     0 window probes
                     40 window update packets
                     0 packets received after close
                     0 discarded for bad checksums
                     0 discarded for bad header offset fields
                     0 discarded because packet too short
             547027 connection requests
             80 connection accepts
             0 bad connection attempts
             0 listen queue overflows
             103 connections established (including accepts)
             547106 connections closed (including 6 drops)
                     47 connections updated cached RTT on close
                     47 connections updated cached RTT variance on close
                     0 connections updated cached ssthresh on close
             547004 embryonic connections dropped
             20862 segments updated rtt(of 567830 attempts)
             2 retransmit timeouts
                     0 connections dropped by retransmit timeout
             0 persist timeouts
                     0 connections dropped by persist timeout
             3032 keepalive timeouts
                     3031 keepalive probes sent
                     1 connections dropped by keepalive
             7823 correct ACK header predictions
             12533 correct data packet header predictions
             80 syncache entries added
                     0 retransmitted
                     0 dupsyn
                     4 dropped
                     80 completed
                     0 bucket overflow
                     0 cache overflow
                     0 reset
                     0 stale
                     0 aborted
                     0 badack
                     0 unreach
                     0 zone failures
             0 cookies sent
             0 cookies received
             1 SACK recovery episodes
             1 segment retransmits in SACK recovery episodes
             1 byte retransmits in SACK recovery episodes
             71 SACK options (SACK blocks) received
             1 SACK options (SACK blocks) sent
             0 SACK scoreboard overflow
             0 ACKs sent in response to in-window but not exact RSTs
             0 ACKs sent in response to in-window SYNs on established connections
             0 rcv packets dropped by TCP due to bad address
             0 out-of-sequence segment drops due to insufficient memory
             547024 RST packets
             0 ICMP packets ignored by TCP
             0 send packets dropped by TCP due to auth errors
             0 rcv packets dropped by TCP due to auth errors
             0 outgoing segments dropped due to policing
    

    show system statistics tcp lcc (TX Matrix Router)

    user@host> show system statistics tcp lcc 2
    lcc2-re0:
    --------------------------------------------------------------------------
    tcp:
            21271 packets sent
                    11069 data packets (12044 bytes)
                    0 data packets (0 bytes) retransmitted
                    0 resends initiated by MTU discovery
                    10198 ack-only packets (10194 packets delayed)
                    0 URG only packets
                    0 window probe packets
                    0 window update packets
                    4 control packets
            13363 packets received
                    11073 acks (for 12044 bytes)
                    0 duplicate acks
                    0 acks for unsent data
                    12895 packets (2400874 bytes) received in-sequence
                    0 completely duplicate packets (0 bytes)
                    0 old duplicate packets
                    0 packets with some dup. data (0 bytes duped)
                    0 out-of-order packets (0 bytes)
                    0 packets (0 bytes) of data after window
                    0 window probes
                    0 window update packets
                    0 packets received after close
                    0 discarded for bad checksums
                    0 discarded for bad header offset fields
                    0 discarded because packet too short
            4 connection requests
            0 connection accepts
            0 bad connection attempts
            0 listen queue overflows
            4 connections established (including accepts)
            33 connections closed (including 0 drops)
                    0 connections updated cached RTT on close
                    0 connections updated cached RTT variance on close
                    0 connections updated cached ssthresh on close
            0 embryonic connections dropped
            11073 segments updated rtt (of 11073 attempts)
    0 retransmit timeouts
                    0 connections dropped by rexmit timeout
            0 persist timeouts
                    0 connections dropped by persist timeout
            0 keepalive timeouts
                    0 keepalive probes sent
                    0 connections dropped by keepalive
            464 correct ACK header predictions
            2172 correct data packet header predictions
            0 ACKs sent in response to in-window but not exact RSTs
            0 ACKs sent in response to in-window SYNs on established connections
            0 out-of-sequence segment drops due to insufficient memory
            0 RST packets
            0 ICMP packets ignored by TCP
    

    show system statistics tcp (TX Matrix Plus Router)

    user@host> show system statistics tcp
    sfc0-re0:
    --------------------------------------------------------------------------
    Tcp:
             10420 packets sent
                     10203 data packets (2374613 bytes)
                     0 data packets retransmitted (0 bytes)
                     0 resends initiated by MTU discovery
                     202 ack only packets (120 packets delayed)
                     0 URG only packets
                     0 window probe packets
                     0 window update packets
                     30 control packets
             16635 packets received
                     9468 acks(for 2374674 bytes)
                     32 duplicate acks
                     0 acks for unsent data
                     7764  packets received in-sequence(38286 bytes)
                     20 completely duplicate packets(0 bytes)
                     0 old duplicate packets
                     0 packets with some duplicate data(0 bytes duped)
                     0 out-of-order packets(0 bytes)
                     0 packets of data after window(0 bytes)
                     0 window probes
                     356 window update packets
                     0 packets received after close
                     0 discarded for bad checksums
                     0 discarded for bad header offset fields
                     0 discarded because packet too short
             10 connection requests
             33 connection accepts
             0 bad connection attempts
             0 listen queue overflows
             34 connections established (including accepts)
             50 connections closed (including 0 drops)
                     24 connections updated cached RTT on close
                     24 connections updated cached RTT variance on close
                     0 connections updated cached ssthresh on close
             9 embryonic connections dropped
             9468 segments updated rtt(of 9256 attempts)
             0 retransmit timeouts
                     0 connections dropped by retransmit timeout
             0 persist timeouts
                     0 connections dropped by persist timeout
             14 keepalive timeouts
                     14 keepalive probes sent
                     0 connections dropped by keepalive
             6220 correct ACK header predictions
             6625 correct data packet header predictions
             33 syncache entries added
                     0 retransmitted
                     0 dupsyn
                     0 dropped
                     33 completed
                     0 bucket overflow
                     0 cache overflow
                     0 reset
                     0 stale
                     0 aborted
                     0 badack
                     0 unreach
                     0 zone failures
             0 cookies sent
             0 cookies received
             0 SACK recovery episodes
             0 segment retransmits in SACK recovery episodes
             0 byte retransmits in SACK recovery episodes
             0 SACK options (SACK blocks) received
             0 SACK options (SACK blocks) sent
             0 SACK scoreboard overflow
             0 ACKs sent in response to in-window but not exact RSTs
             0 ACKs sent in response to in-window SYNs on established connections
             0 rcv packets dropped by TCP due to bad address
             0 out-of-sequence segment drops due to insufficient memory
             15 RST packets
             0 ICMP packets ignored by TCP
             0 send packets dropped by TCP due to auth errors
             0 rcv packets dropped by TCP due to auth errors
             0 outgoing segments dropped due to policing
    
    lcc0-re0:
    --------------------------------------------------------------------------
    Tcp:
             1306 packets sent
                     1251 data packets (161855 bytes)
                     0 data packets retransmitted (0 bytes)
                     0 resends initiated by MTU discovery
                     51 ack only packets (1 packets delayed)
                     0 URG only packets
                     0 window probe packets
                     0 window update packets
                     6 control packets
             1397 packets received
                     1218 acks(for 161904 bytes)
                     2 duplicate acks
                     0 acks for unsent data
                     612  packets received in-sequence(12495 bytes)
                     0 completely duplicate packets(0 bytes)
                     0 old duplicate packets
                     0 packets with some duplicate data(0 bytes duped)
                     0 out-of-order packets(0 bytes)
                     0 packets of data after window(0 bytes)
                     0 window probes
                     22 window update packets
                     0 packets received after close
                     0 discarded for bad checksums
                     0 discarded for bad header offset fields
                     0 discarded because packet too short
             1 connection requests
             24 connection accepts
             0 bad connection attempts
             0 listen queue overflows
             25 connections established (including accepts)
             27 connections closed (including 0 drops)
                     24 connections updated cached RTT on close
                     24 connections updated cached RTT variance on close
                     0 connections updated cached ssthresh on close
             0 embryonic connections dropped
             1218 segments updated rtt(of 1192 attempts)
             0 retransmit timeouts
                     0 connections dropped by retransmit timeout
             0 persist timeouts
                     0 connections dropped by persist timeout
             0 keepalive timeouts
                     0 keepalive probes sent
                     0 connections dropped by keepalive
             196 correct ACK header predictions
             119 correct data packet header predictions
             24 syncache entries added
                     0 retransmitted
                     0 dupsyn
                     0 dropped
                     24 completed
                     0 bucket overflow
                     0 cache overflow
                     0 reset
                     0 stale
                     0 aborted
                     0 badack
                     0 unreach
                     0 zone failures
             0 cookies sent
             0 cookies received
             0 SACK recovery episodes
             0 segment retransmits in SACK recovery episodes
             0 byte retransmits in SACK recovery episodes
             0 SACK options (SACK blocks) received
             0 SACK options (SACK blocks) sent
             0 SACK scoreboard overflow
             0 ACKs sent in response to in-window but not exact RSTs
             0 ACKs sent in response to in-window SYNs on established connections
             0 rcv packets dropped by TCP due to bad address
             0 out-of-sequence segment drops due to insufficient memory
             2 RST packets
             0 ICMP packets ignored by TCP
             0 send packets dropped by TCP due to auth errors
             0 rcv packets dropped by TCP due to auth errors
             0 outgoing segments dropped due to policing
    
    lcc1-re0:
    --------------------------------------------------------------------------
    Tcp:
             1118 packets sent
                     1066 data packets (131896 bytes)
                     0 data packets retransmitted (0 bytes)
                     0 resends initiated by MTU discovery
                     48 ack only packets (2 packets delayed)
                     0 URG only packets
                     0 window probe packets
                     0 window update packets
                     6 control packets
             1215 packets received

    Published: 2013-01-30