Configuring a layer 2 interface
Procedure
-
Change to global configuration mode with the command
config
. -
Change to the interface configuration context for the interface with the command
interface
. -
Set the interface MTU (maximum transmission unit) with the command
mtu
. -
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