Enabling dhcp-request attack protection, Configuring mtu for an interface, Configuring tcp mss for an interface – H3C Technologies H3C S12500 Series Switches User Manual
Page 106: Configuring tcp path mtu discovery

93
100B
Configuring MTU for an interface
When a packet exceeds the MTU of the output interface, the device processes it in one of the following
ways:
•
If the packet disallows fragmentation, the device discards it.
•
If the packet allows fragmentation, the device fragments it and forwards the fragments.
Fragmentation and reassembling consume system resources, so set an appropriate MTU for an interface
based on the network environment to avoid fragmentation.
To configure an MTU for an 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 an MTU for the
interface.
ip mtu mtu-size
By default, no MTU is configured.
101B
Configuring TCP MSS for an interface
The maximum segment size (MSS) option informs the receiver of the largest segment that the sender can
accept. Each end announces its MSS during TCP connection establishment. If the size of a TCP segment
is smaller than the MSS of the receiver, TCP sends the TCP segment without fragmentation. If not, it
fragments the segment according to the receiver's MSS.
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 established after the configuration rather than the
TCP connections that already exist.
This configuration is effective only for IP packets. If MPLS is enabled on the interface, do not configure the
TCP MSS on the interface.
To configure a 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 a TCP MSS for the
interface.
tcp mss value
By default, the TCP MSS is 1460 bytes.
102B
Configuring TCP path MTU discovery
- H3C SR8800 H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S6800 Series Switches H3C S3100V2 Series Switches H3C S12500-X Series Switches H3C S9800 Series Switches