1-40
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-25303-03
Chapter 1 Configuring Interface Characteristics
Configuring Layer 3 Interfaces
To add a description for an interface, follow these steps beginning in privileged EXEC mode:
Use the no description interface configuration command to delete the description.
This example shows how to add a description on a port and how to verify the description:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface gigabitethernet1/0/2
Switch(config-if)# description Connects to Marketing
Switch(config-if)# end
Switch# show interfaces gigabitethernet1/0/2 description
Interface Status Protocol Description
Gi1/0/2 admin down down Connects to Marketing
Configuring Layer 3 Interfaces
Note Layer 3 interfaces are not supported on switches running the LAN Base feature set.
The switch supports these types of Layer 3 interfaces:
• SVIs—Configure SVIs for any VLANs for which you want to route traffic. SVIs are created when
you enter a VLAN ID following the interface vlan global configuration command. To delete an SVI,
use the no interface vlan global configuration command. You cannot delete interface VLAN 1.
Note When you create an SVI, it does not become active until it is associated with a physical port.
For information about assigning Layer 2 ports to VLANs, see Chapter 1, “Configuring
VLANs.”
When configuring SVIs, you can also configure SVI autostate exclude on a port in the SVI to
exclude that port from being included in determining SVI line-state status. See the “Configuring SVI
Autostate Exclude” section on page 1-42.
• Routed ports—Routed ports are physical ports configured to be in Layer 3 mode by using the no
switchport interface configuration command.
Command Purpose
Step 1
configure terminal Enters global configuration mode.
Step 2
interface interface-id Specifies the interface for which you are adding a description, and enter
interface configuration mode.
Step 3
description string Adds a description (up to 240 characters) for an interface.
Step 4
end Returns to privileged EXEC mode.
Step 5
show interfaces interface-id description
or
show running-config
Verifies your entry.
Step 6
copy running-config startup-config (Optional) Saves your entries in the configuration file.