Chapter 6
Configuring Interfaces
The ports on both ends of a link must have the same setting. The link will not come up if the ports at
each end of the link are set inconsistently (link negotiation enabled on one port and disabled on the other
port).
Table 6-1
configuration.
Table 6-1
Link Negotiation State
Local Port
Off
On
Off
On
To configure link negotiation on a port, perform this task:
Command
Step 1
Router(config)# interface gigabitethernet
slot/port
Step 2
Router(config-if)# speed nonegotiate
Router(config-if)# no speed nonegotiate
This example shows how to enable link negotiation on Gigabit Ethernet port 5/4:
Router(config)# interface gigabitethernet 5/4
Router(config-if)# no speed nonegotiate
Displaying the Speed and Duplex Mode Configuration
To display the speed and duplex mode configuration for a port, perform this task:
Command
Router# show interfaces type
1. type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
This example shows how to display the speed and duplex mode of Fast Ethernet port 5/4:
Router# show interfaces fastethernet 5/4
FastEthernet5/4 is up, line protocol is up
Hardware is Cat6K 100Mb Ethernet, address is 0050.f0ac.3058 (bia 0050.f0ac.3058)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:33, output never, output hang never
78-14099-04
shows the four possible link negotiation configurations and the resulting link status for each
Link Negotiation Configuration and Possible Link Status
Remote Port
Off
On
On
Off
1
slot/port
reliability 255/255, txload 1/255, rxload 1/255
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
Link Status
Local Port
Up
Up
Up
Down
Purpose
Selects the port to be configured.
Disables link negotiation.
Reverts to the default configuration (link negotiation
enabled).
Purpose
Displays the speed and duplex mode configuration.
Configuring Optional Interface Features
Remote Port
Up
Up
Down
Up
6-9