ip mtu

Syntax

ip mtu <VALUE>

ip no mtu

Description

Sets the IP MTU (maximum transmission unit) for an interface. This defines the largest IP packet that can be sent or received by the interface.

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

Command context

config-if

config-if-vlan

Parameters

<VALUE>

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

Authority

Administrators or local user group members with execution rights for this command.

Examples

Setting the IP MTU to 576 bytes:
switch(config-if)# ip mtu 576
Setting the IP MTU to the default value:
switch(config-if)# no ip mtu