About Interface Configuration
By default, all interfaces are enabled. The 10/100-Mbps Ethernet interfaces autonegotiate connection speed and duplex. The
10/100/1000-Mbps Ethernet interfaces negotiate speed, duplex, and flow control. The 1000-Mbps Ethernet interfaces negotiate
flow control only. Autonegotiation automatically selects the fastest speed possible on that port for the given pair. If a speed is
explicitly stated for an interface, that interface defaults to half duplex unless it is explicitly set for full duplex.
Many features are enabled on a per-interface basis. When you enter the interface command, you must specify the following:
•
Interface type:
–
Fast Ethernet (use the fastethernet keyword)
–
Gigabit Ethernet (use the gigabitethernet keyword)
10-Gigabit Ethernet (use the tengigabitethernet keyword)
–
Slot number—The slot in which the interface module is installed. Slots are numbered starting with 1, from top to bottom.
•
Interface number—The interface number on the module. The interface numbers always begin with 1. When you are facing
•
the front of the switch, the interfaces are numbered from left to right.
You can identify interfaces by physically checking the slot/interface location on the switch. You can also use the Cisco IOS
show commands to display information about a specific interface or all the interfaces.
Using the interface Command
These general instructions apply to all interface configuration processes:
At the privileged EXEC prompt, enter the configure terminal command to enter global configuration
Step 1
mode:
Switch# configure terminal
Enter configuration commands, one per line.
Switch(config)#
In global configuration mode, enter the interface command. Identify the interface type and the number
Step 2
of the connector on the interface card. The following example shows how to select Fast Ethernet, slot 5,
interface 1:
Switch(config)# interface fastethernet 5/1
Switch(config-if)#
Step 3
Interface numbers are assigned at the factory at the time of installation or when modules are added to a
system. Enter the show interfaces EXEC command to see a list of all interfaces installed on your switch.
A report is provided for each interface that your switch supports, as shown in this display:
Switch(config-if)#Ctrl-Z
Switch#show interfaces
Vlan1 is up, line protocol is down
Hardware is Ethernet SVI, address is 0004.dd46.7aff (bia 0004.dd46.7aff)
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
About Interface Configuration
End with CNTL/Z.
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS
9
Chapter 9
Configuring Interfaces