Last Updated : Nov 06, 2012 |

Sets the current interface’s Maximum Transmission Unit (MTU). Use no mtu to restore the interface’s MTU to its default value.

Note:

The size_in_bytes parameter specifies the Layer 3 packet size. Layer 2 headers are added to the packet afterwards. The Layer 2 headers vary in size, depending on the type of interface. Thus the total size of the MTU is the sum of the size_in_bytes value and the Layer 2 headers.

Syntax

[no] mtu size_in_bytes

Parameters

Parameter

Description

Possible Values

Default Value

size_in_ bytes

The Maximum Transmission Unit in bytes

64-1500

1500

User level

read-write

Context

interface:FastEthernet (L2, L2-L3), Dialer (L2, L2-L3)

Example

To specify the Maximum Transmission Unit for the fastEthernet 10/2 interface to be 1000 bytes:

Gxxx-001(if:fastEthernet 10/2)# mtu 1000