# show tcp statistics

#### Syntax

show [ ip | ipv6 ] tcp statistics [ vrf vrfName ] [ brief | detailed | diagnostic ]
[ delta ] [ local-address localAddress ] [ local-port localPort ]
[ remote-address remoteAddress ] [ remote-port remotePort ] [ filter ]

#### Release Information

Command introduced before JunosE Release 7.1.0.
ip keyword made optional in JunosE Release 7.2.0.
ipv6 keyword added in JunosE Release 7.2.0.

#### Description

Displays all TCP statistics or only IPv4 or IPv6 TCP statistics.

| Note: Order is important when you enter options for this command. Even though you can skip options, you cannot enter options out of sequence.

#### Options

- ip—Displays only IPv4 TCP statistics
- ipv6—Displays only IPv6 TCP statistics
- vrfName—Name of the VRF
- brief—Displays a brief summary of each TCP connection
- detailed—Displays detailed statistics for each TCP connection
- diagnostic—Displays diagnostic information collected on all TCP connections, including per-connection logging information
- delta—Displays baselined statistics
- localAddress—Local IPv4 or IPv6 address for which session statistics are displayed
- localPort—Local port number for which session statistics are displayed
- remoteAddress—Remote IP v4 or IPv6 address for which session statistics are displayed
- remotePort—Remote port number for which session statistics are displayed
- filter—See Filtering show Commands

#### Mode

Privileged Exec, User Exec