H3C S6812 Series Command Reference Manual page 838

Hide thumbs Also See for S6812 Series:
Table of Contents

Advertisement

Examples
# Specify 1.1.1.1 as the source address for outgoing ICMP packets.
<Sysname> system-view
[Sysname] ip icmp source 1.1.1.1
ip mtu
Use ip mtu to set the MTU of IPv4 packets sent over an interface.
Use undo ip mtu to restore the default.
Syntax
ip mtu mtu-size
undo ip mtu
Default
The MTU of IPv4 packets sent over an interface is not set.
Views
Interface view
Predefined user roles
network-admin
Parameters
mtu-size: Specifies the MTU in bytes. The value range for the mtu-size argument is 128 to 1500.
Usage guidelines
When a packet exceeds the MTU of IPv4 packets sent over an interface, the device processes the
packet 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 to avoid
fragmentation.
If an interface supports both the mtu and ip mtu commands, the device fragments a packet based
on the MTU set by the ip mtu command.
Examples
# Set the MTU of VLAN-interface 100 to 1280 bytes.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ip mtu 1280
ip reassemble local enable
Use ip reassemble local enable to enable IPv4 local fragment reassembly.
Use undo ip reassemble local enable to disable local fragment reassembly.
Syntax
ip reassemble local enable
undo ip reassemble local enable
20

Advertisement

Table of Contents
loading

This manual is also suitable for:

S6813 seriesS5150-ei

Table of Contents