Configures the Layer 2 maximum transmission unit (MTU) size for all Ethernet interfaces and Port-channels.
The default is 1548 bytes.
Global configuration mode
Interface configuration mode for an Ethernet or port-channel interface
This command can be executed both globally and on an interface. If it is executed globally, interface configurations take precedence over the global configuration.
Use the no form of this command to revert to the default.
The following example configures the Layer 2 MTU size globally.
device# configure terminal device(config)# mtu 2000
The following example configures the Layer 2 MTU size on an Ethernet interface.
device# configure terminal device(config)# interface ethernet 1/13 device(conf-if-eth-1/13)# mtu 2000
The following example configures the Layer 2 MTU size on a port-channel interface.
device# configure terminal device(config)# interface port-channel 10 device(config-Port-channel-10)# mtu 2000