R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

30
Description
Use tcp mss to configure the TCP MSS.
Use undo tcp mss to restore the default.
By default, the TCP MSS is 1460 bytes.
As the default MTU on an interface is 1500 bytes, and there are link layer cost and IP packet header, so
the recommended TCP MSS is about 1200 bytes.
Examples
# Set the TCP MSS to 300 bytes on GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 0/1
[Sysname-GigabitEthernet0/1] tcp mss 300
tcp path-mtu-discovery
Syntax
tcp path-mtu-discovery [ aging minutes | no-aging ]
undo tcp path-mtu-discovery
View
System view
Default level
2: System level
Parameters
aging minutes: Aging time of the path MTU, in the range of 10 to 30 minutes. The default aging time is
10 minutes.
no-aging: Do not age out the path MTU.
Description
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.
By default, TCP path MTU discovery is disabled.
Examples
# Enable TCP path MTU discovery and set the path MTU age timer to 20 minutes.
<Sysname> system-view
[Sysname] tcp path-mtu-discovery aging 20
tcp timer fin-timeout
Syntax
tcp timer fin-timeout time-value
undo tcp timer fin-timeout