Restrictions for System MTU
-
Do not configure the system MTU value while the traffic is flowing.
The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
Do not configure the system MTU value while the traffic is flowing.
The default maximum transmission unit (MTU) size for payload received in Ethernet frame and sent on all device interfaces is 1500 bytes. The maximum value of System MTU is 9198 bytes.
The upper limit of the IP or IPv6 MTU value is based on the switch or switch stack configuration and refers to the currently applied system MTU value. For more information about setting the MTU sizes, see the system mtu global configuration command in the command reference for this release.
Beginning from Cisco IOS XE Amsterdam 17.3.x, the minimum IPv6 system MTU is fixed at 1280 as per RFC 8200.
The following tasks describe how you can configure MTU.
Follow these steps to change the MTU size for switched packets:
Command or Action | Purpose | |
---|---|---|
Step 1 |
enable Example:
|
Enables privileged EXEC mode. Enter your password, if prompted. |
Step 2 |
configure terminal Example:
|
Enters global configuration mode. |
Step 3 |
system mtu bytes Example:
|
(Optional) Changes the MTU size for all interfaces. |
Step 4 |
end Example:
|
Enters global configuration mode, and returns to privileged EXEC mode. |
Step 5 |
copy running-config startup-config Example:
|
Saves your entries in the configuration file. |
Step 6 |
show system mtu Example:
|
Verifies your settings. |
To override system MTU values on routed interfaces, configure protocol-specific MTU under each routed interface. To change the MTU size for routed ports, perform this procedure.
Command or Action | Purpose | |
---|---|---|
Step 1 |
configure terminal Example:
|
Enters global configuration mode. |
Step 2 |
interface interface Example:
|
Enters interface configuration mode. |
Step 3 |
ip mtu bytes Example:
|
Changes the IPv4 MTU size |
Step 4 |
ipv6 mtu bytes Example:
|
(Optional) Changes the IPv6 MTU size. |
Step 5 |
end Example:
|
Exits interface configuration mode, and returns to privileged EXEC mode. |
Step 6 |
copy running-config startup-config Example:
|
Saves your entries in the configuration file. |
Step 7 |
show system mtu Example:
|
Verifies your settings. |
Configuration Examples for System MTU
This example shows how you can configure protocol-specific MTU:
Device# configure terminal
Device(config)# interface gigabitethernet 0/1
Device(config-if)# ip mtu 900
Device(config-if)# ipv6 mtu 1286
Device(config-if)# end
This example shows how you can configure the system MTU:
Device# configure terminal
Device(config)# system mtu 1600
Device(config)# exit
Related Topic | Document Title |
---|---|
For complete syntax and usage information for the commands used in this chapter. |
See the Interface and Hardware Commands section in the Command Reference (Catalyst 9200 Series Switches) |
Standard/RFC | Title |
---|---|
RFC 8200 |
Internet Protocol, Version 6 (IPv6) Specification |
This table provides release and related information for features explained in this module.
These features are available on all releases subsequent to the one they were introduced in, unless noted otherwise.
Release |
Feature |
Feature Information |
---|---|---|
Cisco IOS XE Fuji 16.9.2 |
System MTU |
System MTU defines the maximum transmission unit size for frames transmitted on all interfaces of a switch. |
Cisco IOS XE Cupertino 17.9.1 |
System MTU |
This feature was implemented on the C9200CX-12P-2X2G, C9200CX-8P-2X2G, and C9200CX-12T-2X2G models. |
Use Cisco Feature Navigator to find information about platform and software image support. To access Cisco Feature Navigator, go to https://cfnng.cisco.com/.