mtu

This command sets the maximum transmission unit of the Ethernet interface.

Syntax

mtu bytes

Parameters

bytes
Specifies the maximum size in bytes. Enter a value in the range 576 - 16128. The default value is 1500.

Guidelines

The mtu command sets the maximum transmission unit (MTU) for the Ethernet interface. The MTU is determined regardless of the length of the layer 2 encapsulation.

  • When the Ethernet interface is part of a VLAN interface, the MTU of the VLAN interface cannot be greater than the MTU for the Ethernet interface.
  • When the Ethernet interface is part of an aggregate interface, the MTU of the aggregate interface overrides the MTU of the Ethernet interface.

Example

Set the MTU to 4 KB.
# mtu 4096