mtu
This command sets the maximum transmission unit of the VLAN 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 VLAN interface.
The MTU for the VLAN interface cannot be greater than the MTU of the parent interface. The parent interface is either an Ethernet interface or an aggregate interface. Use the over command to set the parent interface type.
- When the parent is an Ethernet interface, the ethernet-interface command sets the Ethernet interface. The MTU of the VLAN interface cannot be greater than the MTU of the Ethernet interface.
- When parent is an aggregate interface, the link-aggregation-interface command sets the aggregate interface. The MTU of the VLAN interface cannot be greater than the MTU of the aggregate interface.
The configuration for each interface type provides the mtu command. The MTU is determined regardless of the length of the layer 2 encapsulation.
Example
Set the MTU to 4 KB.
# mtu 4096