Setting the MTU of IPv4 packets sent over an interface

About setting the MTU of IPv4 packets sent over an interface

When a packet exceeds the MTU of IPv4 packets sent over an interface, the device processes the packet in one of the following ways:

Fragmentation and reassembling consume system resources, so set the MTU based on the network environment to avoid fragmentation.

Procedure

  1. Enter system view.

    system-view

  2. Enter interface view.

    interface interface-type interface-number

  3. Set the MTU of IPv4 packets sent over the interface.

    ip mtu mtu-size

    By default, the MTU of IPv4 packets sent over an interface is not set.