R3303-HP HSR6800 Routers Layer 3 - IP Services Command Reference

Table Of Contents
171
Default
The TCP MSS is 1460 bytes.
Views
Interface view
Default command level
2: System level
Parameters
value: TCP maximum segment size (MSS) in bytes, in the range of 128 to 2048.
Usage guidelines
TCP MSS = path MTU – IP header length – TCP header length
Examples
# Set the TCP MSS to 300 bytes on GigabitEthernet 3/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 3/0/1
[Sysname-GigabitEthernet3/0/1] tcp mss 300
tcp path-mtu-discovery
Use tcp path-mtu-discovery to enable TCP path MTU discovery.
Use undo tcp path-mtu-discovery to disable TCP path MTU discovery, and disable all running path MTU
timers. New TCP connections do not perform TCP path MTU discovery, but existing TCP connections can
still use TCP path MTU discovery.
Syntax
tcp path-mtu-discovery [ aging minutes | no-aging ]
undo tcp path-mtu-discovery
Default
TCP path MTU discovery is disabled.
Views
System view
Default command level
2: System level
Parameters
aging minutes: Sets the aging time of the path MTU, in the range of 10 to 30 minutes. The default aging
time is 10 minutes.
no-aging: Does not age out the path MTU.
Examples
# Enable TCP path MTU discovery and set the path MTU aging time to 20 minutes.
<Sysname> system-view
[Sysname] tcp path-mtu-discovery aging 20