What is Interface Configuration Mode?
When you use the CLI to configure physical or logical characteristics for an
interface, you must enter Interface Configuration Mode for that interface. To
enter the mode, type the keyword interface followed by the interface type and
additional information to identify the interface, such as the interface number.
To enter Interface Configuration mode for a physical switch port, the
following information is required:
Type — For physical switch ports, the type is Gigabit Ethernet
(gigabitethernet or gi) for 10/100/1000 Mbps Ethernet ports or 10-Gibabit
Ethernet (tengigabitethernet or te) for 10,000 Mbps Ethernet ports.
Stack member number— The unit number within the stack. The range is
1–12. The default unit number for a switch that has not been in a stack is
1. To view the member number assigned to each switch in a stack, use the
show switch command. For non-stacking switches (PCM8024 and
PCM8024-k), the unit number is always 1.
Module (slot) number—The expansion module slot. Integrated internal
and external ports have a slot number of 0. For switches that provide one
or two expansion slots, the slot number is 1 or 2.
Port number—The number assigned to the port.
For example, to enter Interface Configuration mode for Gigabit Ethernet
port 10 on a switch that is not part of a stack, use the following command:
console(config)#interface gigabitEthernet 1/0/10
When you enter Interface Configuration mode, the command prompt
changes and identifies the interface. In the previous example, the command
prompt becomes console(config-if-Gi1/0/10)#
To enter Interface Configuration mode for 10-Gigabit Ethernet port 6 on
stack member 3, use the following command:
console(config)#interface tengigabitEthernet 3/0/6
To enter Interface Configuration mode for port 1 on a 10-Gigabit Ethernet
module in slot 1, use the following command:
console(config)#interface tengigabitEthernet 1/1/1
Configuring Port Characteristics