DETAILED STEPS
PurposeCommand or Action
Enter the configure terminal command at the privileged EXEC
prompt:
Step 1
Example:
Switch# configure terminal
Enter configuration commands, one per line. End with
CNTL/Z.
Switch(config)#
You do not need to add a space between the
interface type and the interface number. For
example, in the preceding line, you can specify
either gigabitethernet 1/0/1,
gigabitethernet1/0/1, gi 1/0/1, or gi1/0/1.
NoteEnter the interface global configuration command. Identify the
interface type, the switch number (only on stacking-capable
switches), and the number of the connector. In this example,
Gigabit Ethernet port 1 on switch 1 is selected:
Example:
Switch(config)# interface gigabitethernet1/0/1
Step 2
Switch(config-if)#
You can also configure a range of interfaces by using
the interface range or interface range macro global
Follow each interface command with the interface configuration
commands that the interface requires. The commands that you
Step 3
configuration commands. Interfaces configured in aenter define the protocols and applications that will run on the
range must be the same type and must be configured
with the same feature options.
interface. The commands are collected and applied to the interface
when you enter another interface command or enter end to return
to privileged EXEC mode.
Enter the show interfaces privileged EXEC command
to see a list of all interfaces on or configured for the
After you configure an interface, verify its status by using the
show privileged EXEC commands.
Step 4
switch. A report is provided for each interface that the
device supports or for the specified interface.
Example:
Adding a Description for an Interface
SUMMARY STEPS
1.
configure terminal
2.
interface interface-id
3.
description string
4.
end
5.
show interfaces interface-id description
Catalyst 2960-XR Switch Interface and Hardware Component Configuration Guide, Cisco IOS Release 15.0(2)EX1
OL-29420-01 25
Configuring Interface Characteristics
Adding a Description for an Interface