Overview
Describes TCP maximum segment size as a negotiated attribute that optimizes data transfer efficiency by controlling the largest unfragmented TCP segment size based on interface MTU.
Maximum Segment Size (MSS) is a TCP attribute that
-
determines the largest amount of data that a device can receive in a single, unfragmented TCP segment
-
is limited by the Maximum Transmission Unit (MTU) of an interface, and
-
is negotiated during the TCP setup process between a source and destination.
The MSS ensures efficient data transfer by optimizing the size of transmitted packets, especially for protocols like BGP. Each direction of data flow can use a different MSS value based on the MTU of the source and destination interfaces.
Key attributes of MSS
These are some of the key attributes of MSS:
-
The closer the MSS is to the MTU, the more efficient the data transfer.
-
The MSS is announced during the TCP setup process.
-
The default TCP MSS value is 536 octets or 1,460 bytes. This means that TCP segments the data in the transmit queue into 1460-byte chunks before passing the packets to the IP layer.
Per neighbor TCP MSS
Per neighbor TCP MSS is a mechanism in BGP configuration that
-
allows creating unique TCP MSS profiles for each neighbor
-
supports configuration in two modes: neighbor group and session group, and
-
overrides the global TCP MSS setting for specific neighbors.
Key attributes of per neighbor TCP MSS
These are some of the key attributes of per neighbor TCP MSS:
-
You can enable or disable TCP MSS configuration for specific neighbors.
-
MSS value can be reset to its default using the inheritance-disable command.
-
The configuration range for MSS values is from 68 to 10,000.