# baseline tcp

#### Syntax

baseline [ ip | ipv6 ] tcp [ vrf vrfName ] [ localAddress localPort remoteAddress remotePort ]

#### Release Information

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

#### Description

Sets a baseline for all TCP statistics or for only IPv4 or IPv6 TCP statistics. The router implements the baseline by reading and storing the statistics at the time the baseline is set and then subtracting this baseline whenever baseline-relative statistics are retrieved. There is no no version.

#### Options

- ip—Implements a baseline for only IPv4 statistics
- ipv6—Implement a baseline for only IPv6 statistics
- vrfName—Name of the VRF; string of 1–32 alphanumeric characters
- localAddress—Local IP or IPv6 address on the router
- localPort—Local TCP port number on the router
- remoteAddress—IP or IPv6 address of remote router
- remotePort—TCP port number on remote router

#### Mode

Privileged Exec