Configuring System MTU

Similar documents
Configuring Local Authentication and Authorization

Configuring EEE. Finding Feature Information. Information About EEE. EEE Overview

Configuring System MTU

Configuring the Cisco Discovery Protocol

Configuring Access Point Groups

Controlling Switch Access with Passwords and Privilege Levels

Configuring Access Point Groups

Configuring Internal Power Supplies

Configuring EEE. Finding Feature Information. Restrictions for EEE

Configuring Ethernet Management Port

Controlling Switch Access with Passwords and Privilege Levels

Prerequisites for Controlling Switch Access with Terminal Access Controller Access Control System Plus (TACACS+)

Configuring VLANs. Finding Feature Information. Prerequisites for VLANs

Configuring Ethernet Management Ports

Configuring Cache Services Using the Web Cache Communication Protocol

Configuring Secure Shell (SSH)

Configuring DHCP. Finding Feature Information. Information About DHCP. DHCP Server. DHCP Relay Agent

Configuring VLANs. Finding Feature Information. Prerequisites for VLANs

Configuring DHCP. Finding Feature Information. Information About DHCP. DHCP Server. DHCP Relay Agent

Configuring Port-Based Traffic Control

Configuring DHCP. Finding Feature Information. Information About DHCP. DHCP Server. DHCP Relay Agent

RADIUS Route Download

Flow-Based per Port-Channel Load Balancing

Switches running the LAN Base feature set support only static routing on SVIs.

Configuring SDM Templates

Configuring Secure Shell (SSH)

Configuring PoE. Finding Feature Information. Restrictions for PoE

Configuring VLAN Trunks

AAA Dead-Server Detection

Configuring LLDP, LLDP-MED, and Wired Location Service

Configuring Ethernet Management Ports

Configuring Secure Shell (SSH)

Configuring WLAN Security

Configuration Replace and Configuration Rollback

Configuring DHCP. Finding Feature Information. Information About DHCP. DHCP Server. DHCP Relay Agent

FPG Endpoint Agnostic Port Allocation

Configuring Secure Shell (SSH)

Password Strength and Management for Common Criteria

Configuring the Service Discovery Gateway

Configuring Secure Shell (SSH)

PPPoE Smart Server Selection

PPPoE Smart Server Selection

Area Command in Interface Mode for OSPFv2

Predownloading an Image to Access Points

802.1P CoS Bit Set for PPP and PPPoE Control Frames

Autoroute Announce and Forwarding Adjacencies For OSPFv3

Autoroute Announce and Forwarding Adjacencies For OSPFv3

IPv6 Access Control Lists

Encrypted Vendor-Specific Attributes

Configuring Embedded Resource Manager-MIB

SSH Algorithms for Common Criteria Certification

Configuring SDM Templates

This document describes the sampled flow (sflow) feature and configuration steps to implement sflow.

NBAR2 HTTP-Based Visibility Dashboard

Configuring Secure Shell (SSH)

Configuring Ethernet Management Port

Configuring Multicast VLAN Registration

Dynamic Bandwidth Sharing

Contextual Configuration Diff Utility

Cisco Discovery Protocol Version 2

MPLS LDP Autoconfiguration

Configuring DHCP for WLANs

Configuring DHCP Option 60 and Option 82 with VPN-ID Support for Transparent Automatic Logon

Transferring Files Using HTTP or HTTPS

Link Aggregation Control Protocol (IEEE 802.3ad) Support for Cisco ubr10012 Routers

IP Overlapping Address Pools

Configuring Control Plane Policing

Exclusive Configuration Change Access and Access Session Locking

Configuring Online Diagnostics

Cisco Discovery Protocol Version 2

Configuring Administrator Usernames and Passwords

Flow-Based per Port-Channel Load Balancing

IPv6 Routing: RIP for IPv6

Configuring Spanning Tree Protocol

BGP AS-Override Split-Horizon

OTV Loopback Join Interface

The RNS (Robust Secure Network) IE must be enabled with an AES Cipher.

Exclusive Configuration Change Access and Access Session Locking

Configuring Auto-QoS

Configuring Right-To-Use Licenses

Configuring Secure Socket Layer HTTP

QoS: Child Service Policy for Priority Class

Configurable Number of Simultaneous Packets per Flow

Clock Recovery System

Working with Cisco IOS XE Software Bundles

Working with the Flash File System

Working with the Flash File System

Object Tracking: IPv6 Route Tracking

Contextual Configuration Diff Utility

Restrictions for Disabling Flow Cache Entries in NAT and NAT64

8K GM Scale Improvement

OSPF Incremental SPF

AToM Graceful Restart

DMVPN Event Tracing. Finding Feature Information

Implementing Multicast Service Reflection

Fine-Grain NBAR for Selective Applications

BGP Link Bandwidth. Finding Feature Information. Prerequisites for BGP Link Bandwidth

Fine-Grain NBAR for Selective Applications

Logging to Local Nonvolatile Storage (ATA Disk)

Conditional Debug and Radioactive Tracing

Transcription:

Finding Feature Information, page 1 Restrictions for System MTU, page 1 Information about the MTU, page 2 How to Configure System MTU, page 3 Configuration Examples for System MTU, page 4 Additional References for System MTU, page 5 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. Restrictions for System MTU When configuring the system MTU values, follow these guidelines: The switch does not support the MTU on a per-interface basis. If you enter the system mtu bytes global configuration command, the command does not take effect on the switch. This command only affects the system MTU size on Fast Ethernet switch ports. The system mtu, system mtu jumbo, and system mtu routing global configuration commands do not take effect in these cases: When you enter the system mtu command on a switch without Fast Ethernet ports In a mixed stack when you enter the system mtu jumbo command for the Fast Ethernet ports on a member switch. 1

Information about the MTU When you enter the system mtu routing command on a switch on which only Layer 2 ports are configured Note This command is not supported on switches running the LAN Base image. When you use the system mtu bytes or system mtu jumbo bytes command to change the system MTU or system jumbo MTU size, you must reset the switch before the new configuration takes effect. The system mtu routing command does not require a switch reset to take effect. The system MTU setting is saved in the switch environmental variable in NVRAM and becomes effective when the switch reloads. Unlike the system MTU routing configuration, the MTU settings you enter with the system mtu and system mtu jumbo commands are not saved in the switch Cisco IOS configuration file, even if you enter the copy running-config startup-config privileged EXEC command. Therefore, if you use TFTP to configure a new switch by using a backup configuration file and want the system MTU to be other than the default, you must explicitly configure the system mtu and system mtu jumbo settings on the new switch and then reload the switch. Configuring the System MTU, on page 3 Information about the MTU The default maximum transmission unit (MTU) size for frames received and sent on all switch interfaces is 1500 bytes. You can change the MTU size to support switched jumbo frames on all Gigabit Ethernet and 10-Gigabit Ethernet interfaces and to support routed frames on all routed ports. Configuring the System MTU, on page 3 System MTU Values The following MTU values can be configured: System Jumbo MTU--This value applies to switched packets on the Gigabit Ethernet and 10-Gigabit Ethernet ports of the switch. Use the system mtu jumbo bytes global configuration command to specify the system jumbo MTU value. System Routing MTU--This value applies only to routed packets on all routed ports of the switch or switch stack. Use the system mtu routing global configuration command to specify the system routing MTU value. Configuring the System MTU, on page 3 2

How to Configure System MTU How to Configure System MTU Configuring the System MTU Follow these steps to change the MTU size for switchedand routed packets: Procedure Step 1 Command or Action enable Switch> enable Purpose Enables privileged EXEC mode. Enter your password if prompted. Step 2 configure terminal Enters global configuration mode. Step 3 Switch# configure terminal system mtu bytes Switch(config)# system mtu 1900 (Optional) Changes the MTU size for all Fast Ethernet interfaces. The range is 1500 to 1998 bytes; the default is 1500 bytes. Step 4 Step 5 Step 6 system mtu jumbo bytes Switch(config)# system mtu jumbo 7500 system mtu routing bytes Switch(config)# system mtu routing 2000 end (Optional) Changes the MTU size for all Gigabit Ethernet and 10-Gigabit Ethernet interfaces.the range is 1500 to 9000 bytes; the default is 1500 bytes. (Optional) Changes the system MTU for routed ports. You can also set the maximum MTU to be advertised by the routing protocols that support the configured MTU size. The system routing MTU is the maximum MTU for routed packets and is also the maximum MTU that the switch advertises in routing updates for protocols such as OSPF. Note This command is not supported on switches running the LAN Base image. Returns to privileged EXEC mode. Switch(config)# end 3

Configuration Examples for System MTU Step 7 Command or Action copy running-config startup-config Purpose Saves your entries in the configuration file. Step 8 Switch# copy running-config startup-config reload Reloads the operating system. Step 9 Switch# reload show system mtu Verifies your settings. Switch# show system mtu Information about the MTU, on page 2 System MTU Values, on page 2 Restrictions for System MTU, on page 1 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 1900 Switch(config)# system mtu jumbo 7500 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 jumbo 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. 4

Additional References for System MTU Additional References for System MTU Error Message Decoder Description To help you research and resolve system error messages in this release, use the Error Message Decoder tool. Link https://www.cisco.com/cgi-bin/support/errordecoder/ index.cgi MIBs MIB All supported MIBs for this release. MIBs Link To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: http://www.cisco.com/go/mibs Technical Assistance Description 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. Link http://www.cisco.com/support 5

Additional References for System MTU 6