Port Selection Example
Module 1 ports 1 and 2 with module 6 ports 1 through 4 need their port speed set to
autonegotiate mode. (You can use any port configuration function; port speed is shown
here only as a demonstration of port selection.) Cisco IOS switches enable the ports to be
identified as two ranges and their speeds to be set with a single interface configuration
command:
(global) interface range gig 1/1 – 2, gig 6/1
(interface) speed auto
(global) interface gig 6/2 - 4
(interface) speed auto
4-3: Ethernet
Autonegotiation of link speed and duplex mode for 10/100/1000BASE-T is possible
■
through the functions standardized in IEEE 802.3u and 802.3ab. The two endpoints
of a connection exchange capability information and choose the highest common
speed and duplex supported by both.
Ethernet ports are referenced by interface type and number (interface and one of
■
ethernet, fastethernet, gigabitethernet, or tengigabitethernet).
If certain problems are detected on a port, the switch automatically moves that port
■
into the errDisable or error disabled state. This minimizes the effect that the prob-
lem port could have on the rest of the network.
Ports in errDisable can be automatically reenabled or recovered after a timeout pe-
■
riod, or they can be manually recovered. In either case, determine and correct the
problem condition before attempting to recover errDisable ports.
Configuration
(Optional) Assign a descriptive name to the port:
1.
(interface) description port-name
The description port-name (text string) is assigned to the port for human use.
Usually the description includes a reference to the location, function, or user of the
port.
(Optional) Set the port speed:
2.
(interface) speed {10 | 100 | 1000 | auto | nonegotiate}
You can set the port speed to one of the following: 10 (10 mbps for 10, 10/100, and
10/100/1000BASE-T ports); 100 (100 mbps for 10/100 and 10/100/1000BASE-T
ports); 1000 (1000 mbps for 10/100/1000BASE-T ports); auto (autonegotiate the
speed for 10/100 and 10/100/1000BASE-T ports; the default); or nonegotiate (don't
Chapter 4: Layer 2 Interface Configuration 57