Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

    Setting MSS for TCP Connections for IP

    MSS is used by TCP to define the maximum amount of data that a TCP interface can accept in any single packet (or segment size). The MSS value is typically negotiated during connection establishment and is not renegotiated.

    By default, the router uses an MSS value of 536 bytes and the advertised MSS is derived from the MTU of the transmitting interface. However, you can use the tcp mss command to set the MSS for TCP advertisements.

    You can use the vrfName variable to specify a VRF to which you want to assign the TCP MSS value.

    Note: The MSS value is equal to the MTU value minus the IP and TCP headers, so the MSS value is generally 40 bytes less than the MTU.

    To specify the MSS value for TCP to advertise:

    • Issue the tcp mss command in Interface Configuration mode.
      host1(config-if)#tcp mss 1000

      Use the no version to remove the MSS value so that the router uses the advertised MSS derived from the MTU of the output interface.

    Published: 2014-08-13