Setting MTU for an interface

When a packet exceeds the MTU of the output interface, the device processes it in one of the following ways:

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

To set the 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. Set the MTU for the interface.

ip mtu mtu-size

By default, the MTU is not set.