
C613-50186-01 Rev B
Command Reference for AR2050V
2747
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
GRE T
UNNELING
C
OMMANDS
IP
TCP
ADJUST
-
MSS
ip tcp adjust-mss
Overview
Use this command to set the Maximum Segment Size (MSS) size for an interface,
where MSS is the maximum TCP data packet size that the interface can transmit
before fragmentation.
Use the
no
variant of this command to remove a previously specified MSS size for
a PPP interface, and restore the default MSS size.
Syntax
ip tcp adjust-mss {
<mss-size>
|pmtu}
no ip tcp adjust-mss
Default
The default setting allows a TCP server or a TCP client to set the MSS value for itself.
Mode
Interface Configuration
Usage
When a host initiates a TCP session with a server it negotiates the IP segment size
by using the MSS option field in the TCP packet. The value of the MSS option field
is determined by the Maximum Transmission Unit (MTU) configuration on the host.
You can set a feasible MSS value on the following interfaces:
•
PPPoE
•
Ethernet
•
VTI Tunnels (IPSeC, GRE, IPv6, L2TP, OpenVPN)
•
VLAN
Examples
To configure an MSS size of 1452 bytes on PPP interface ppp0, use the commands:
awplus#
configure terminal
awplus(config)#
interface ppp0
awplus(config-if)#
ip tcp adjust-mss 1452
To configure an MSS size of 1452 bytes on Ethernet interface eth1, use the
commands:
awplus#
configure terminal
awplus(config)#
interface eth1
awplus(config-if)#
ip tcp adjust-mss 1452
Parameter
Description
<
mss-size
>
<64-1460> Specifies the MSS size in bytes.
pmtu
Adjust TCP MSS automatically with respect to the MTU on the
interface.