для Cisco Cisco IOS Software Release 12.2(14)S
TCP MSS Adjustment
How to Configure the TCP MSS Adjustment
2
Multiple Releases: (See the Feature History Table)
How to Configure the TCP MSS Adjustment
This section contains the following procedure:
•
•
(optional)
Setting the MTU on the Local Hosts
Perform this task to set the MTU on the local hosts. NAT does not have to be configured to specify the
MTU.
MTU.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface type number
4.
ip tcp adjust-mss max-segment-size
5.
ip mtu bytes
6.
end
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
•
Enter your password if prompted.
Step 2
configure
terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
interface
type number
Example:
Router(config)# interface ethernet0/1
Configures an interface type and enters interface
configuration mode.
configuration mode.
Step 4
ip tcp adjust-mss
max-segment-size
Example:
Router(config-if)# ip tcp adjust-mss 1452
Adjusts the MSS value of TCP SYN packets going through
a router. The max-segment-size argument is the maximum
segment size, in bytes. The range is from 500 to 1460.
a router. The max-segment-size argument is the maximum
segment size, in bytes. The range is from 500 to 1460.