Command Line Interface
8891553-KDU 137 365 Uen D 2006-06-16
7.17.30 switchport mtu
This command sets the maximum transfer unit (MTU) for an interface. Use the
no form to restore the default setting.
Syntax
switchport mtu <mtu-size>
no switchport mtu
mtu-size – Specifies the MTU size for the specified port.
(Range: 1500-9216 bytes)
Default Setting
1522 bytes
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
• The switchport mtu command takes precedence over the system
mtu command (section on page 555).
• If the MTU of a port is specified, then setting the system MTU will not
change the port MTU.
Example
Console(config)#interface ethernet 1/1
Console(config-if)#switchport mtu 1522
Console(config-if)#