- Preface
- Using the Command-Line Interface
- Using the Web Graphical User Interface
- Configuring Interface Characteristics
- Configuring Auto-MDIX
- Configuring Ethernet Management Port
- Configuring LLDP, LLDP-MED, and Wired Location Service
- Configuring System MTU
- Configuring Internal Power Supplies
- Configuring Stack Power
- Configuring PoE
- Configuring EEE
- Index
Configuring System MTU
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Information about the MTU
The default maximum transmission unit (MTU) size for frames received and sent on all switch interfaces is 1500 bytes.
Restrictions for System MTU
When configuring the system MTU values, follow these guidelines:
System MTU Value Application
Configuration |
system mtu command |
ip mtu command |
ipv6 mtu command |
||||
---|---|---|---|---|---|---|---|
Standalone switch or switch stack |
You can enter the system mtu command on a switch or switch stack, but system MTU value does not take effect. The range is from 1500 to 9198 bytes. |
Use the ip mtu bytes command.
|
Use the ipv6 mtu bytes command.
|
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.
How to Configure MTU Sizes
Configuring the System MTU
Follow these steps to change the MTU size for switched packets:
1.
enable
2.
configure terminal
3.
system mtu
bytes
4.
end
5.
copy
running-config startup-config
6.
show system mtu
DETAILED STEPS
Configuring Protocol-Specific MTU
Beginning in privileged EXEC mode, follow these steps to change the MTU size for routed ports:
1.
configure terminal
2.
interface
interface
3.
ip mtu
bytes
4.
ipv6 mtu
bytes
5.
end
6.
copy
running-config startup-config
7.
show system mtu
DETAILED STEPS
Configuration Examples for System MTU
This example shows how to set the maximum packet size for a Gigabit Ethernet port to 7500 bytes:
Switch(config)# system mtu 7500 Switch(config)# Switch(config)# exit
If you enter a value that is outside the allowed range for the specific type of interface, the value is not accepted. This example shows the response when you try to set Gigabit Ethernet interfaces to an out-of-range number:
Switch(config)# system mtu 25000
^
% Invalid input detected at '^' marker.
This is an example of output from the show system mtu command:
Switch# show system mtu
Global Ethernet MTU is 1500 bytes.
Additional References for System MTU
Error Message Decoder
Description | Link |
---|---|
To help you research and resolve system error messages in this release, use the Error Message Decoder tool. |
https://www.cisco.com/cgi-bin/Support/Errordecoder/index.cgi |
MIBs
MIB | MIBs Link |
---|---|
All supported MIBs for this release. |
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: |
Technical Assistance
Description | Link |
---|---|
The Cisco Support website provides extensive online resources, including documentation and tools for troubleshooting and resolving technical issues with Cisco products and technologies. To receive security and technical information about your products, you can subscribe to various services, such as the Product Alert Tool (accessed from Field Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds. Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. |
Feature Information for System MTU
Release |
Modification |
---|---|
Cisco IOS XE 3.2SE |
This feature was introduced. |