Configuring a layer 2 interface

Procedure
  1. Change to global configuration mode with the command config.
  2. Change to the interface configuration context for the interface with the command interface.
  3. Set the interface MTU (maximum transmission unit) with the command mtu.
  4. Review interface configuration settings with the command show interface.

Example

This example creates the following configuration:

  • Configures interface 1/1/1.
  • Sets the MTU to 1900 bytes.

switch# config
switch(config)# interface 1/1/1
switch(config-if)# mtu 1900