mtu

Syntax

mtu <VALUE>

no mtu

Description

Sets the MTU (maximum transmission unit) for an interface. This defines the maximum size of a layer 2 (Ethernet) frame. Packets larger than the MTU are dropped and cause an ICMP fragmentation-needed message to be sent back to the originator. The largest possible layer 1 frame will be 18 bytes larger than the MTU value to allow for link layer headers and trailers.

The no form of this command sets the MTU to the default value 1500.

Command context

config-if

Parameters

<VALUE>

Specifies the MTU in bytes. Range: 46 to 9198. Default: 1500.

Authority

Administrators

Examples

Setting the MTU on interface 1/1/1 to 1000 bytes:

switch(config)# interface 1/1/1
switch(config-if)# mtu 1000

Setting the MTU on interface 1/1/1 to the default value:

switch(config)# interface 1/1/1
switch(config-if)# no mtu