Setting the MTU for an Ethernet interface or subinterface

The value of maximum transmission unit (MTU) affects the fragmentation and reassembly of IP packets. Typically, you do not need to modify the MTU of an interface.

To set the MTU for an Ethernet interface or subinterface:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter Ethernet interface or subinterface view.

interface interface-type { interface-number | interface-number.subnumber

N/A

3. Set the MTU.

mtu size

The default setting is 1500 bytes.