Command Reference TCP Commands
11.2 ip tcp mss
Use this command to set the upper limit of the MSS value. Use the no form of this command to
restore the default setting.
ip tcp mss max-segment-size
Upper limit of the MSS value in the range from 68 to 10000 bytes
The default MSS = Outgoing IPv4/v6 MTU- IPv4/v6 header-TCP header.
Global configuration mode
This command is used to limit the maximum value of MSS for the TCP connection to be created. The
negotiated MSS cannot exceed the configured value. You can use this command to reduce the
maximum value of MSS. However, this configuration is not needed in general. This command applies
to both IPv4 and IPv6 TCP.
The following example sets the upper limit of the MSS value to 1300 bytes.
Ruijie(config)# ip tcp mss 1300
11.3 ip tcp path-mtu-discovery
Use this command to enable Path Maximum Transmission Unit (PMTU) discovery function for TCP in
global configuration mode. Use the no form of this command to restore the default setting.
ip tcp path-mtu-discovery [ age-timer minutes | age-timer infinite ]
no ip tcp path-mtu-discovery
The time interval for further discovery after discovering PMTU. Its
value ranges from 10 to 30 minutes. The default value is 10.
No further discovery after discovering PMTU