Optimizing ip performance, Configuring tcp attributes, Configuring tcp mss for the interface – H3C Technologies H3C SecBlade LB Cards User Manual
Page 108: Configuring tcp path mtu discovery
99
Optimizing IP performance
This chapter describes multiple features for IP performance optimization.
IP performance can be configured only at the CLI.
Configuring TCP attributes
This section provides information about configuring TCP attributes.
Configuring TCP MSS for the interface
The Max Segment Size (MSS) option informs the receiver of the largest segment that the sender is willing
to accept. Each end announces the MSS it expects to receive during the TCP connection establishment.
The end that receives the MSS value from the other end then limits the size of each TCP segment to be
sent.
•
If the size of a TCP segment is smaller than the MSS of the other end, the TCP segment is sent to the
other end without being fragmented.
•
Otherwise, it is fragmented according to the MSS before being sent.
Follow these guidelines when you configure TCP MSS of the interface:
•
If you configure a TCP MSS on an interface, the size of each TCP segment received or sent on the
interface cannot exceed the MSS value.
•
This configuration takes effect only for TCP connections that are established after the configuration
rather than the TCP connections that already exist.
•
This configuration is effective only for IP packets.
To configure TCP MSS of the interface:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface interface-type
interface-number
N/A
3.
Configure the TCP MSS of the
interface.
tcp mss value
Optional.
The TCP MSS is 1460 bytes by default.
Configuring TCP path MTU discovery
CAUTION:
All the devices on the TCP path must be enabled to send ICMP error messages by using the ip
unreachables enable command.