mtu

Configures the global or interface value for Maximum Transmission Unit (MTU).

Syntax

mtu value
no mtu value

Parameters

value
Specifies MTU value of an interface. Valid range is 1500 through 9216. Default MTU value is 9216.

Modes

Interface config mode

Usage Guidelines

The MTU configured in the specified interface overrides the global MTU.

The no form of the command sets the MTU to the default value, 9216.

This command is available only to users with the admin role.

Running this command causes changes that trigger port flap. As a best practice, run this command during a maintenance window to avoid service disruptions.

Examples

The following examples show how to configure global and interface MTU value.

device# configure terminal 
device(config)# mtu 4000

device# configure terminal 
device(config)# interface ethernet 1/10 
device(config-if-eth 1/10)# mtu 4000


device# show running interface ethernet 1/10 
interface ethernet 1/10 
mtu 4000 
shutdown