Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

tcp-mss (Interfaces)

Syntax

Hierarchy Level

Description

Enable and specify the TCP maximum segment size (MSS) in bytes for transit packets in the specified protocol family. The TCP MSS value must be lower than the MTU of the interface.

When the device receives a TCP packet with the SYN bit and MSS option set, it examines the MSS value. If the MSS option specified in the packet is larger than the MSS you configured with the tcp-mss statement, the router replaces the MSS value in the packet with the lower value you configured.

You cannot configure TCP MSS on service interfaces (ms, vms, or ams).

Note:

This configuration statement is for transit packets. To adjust the TCP MSS for host-originated packets, see tcp-mss (Protocols BGP).

Options

bytes

TCP MSS value for SYN packets with a higher MSS value set.

  • Range: 64 through 65535 bytes.

  • Default: TCP MSS is disabled.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced before Junos OS Release 21.1R1.