4-7
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 4 Configuring Ethernet, Fast Ethernet, Gigabit Ethernet, and 10-Gigabit Ethernet Switching
Setting the Port Configuration
Note
If the port speed is set to
auto
on a 10/100-Mbps Ethernet port, both speed and duplex are
autonegotiated. You cannot change the duplex mode of autonegotiation ports.
To set the duplex mode of a port, perform this task in privileged mode:
This example shows how to set the duplex mode to half duplex on port 2/1:
Console> (enable)
set port duplex 2/1 half
Port 2/1 set to half-duplex.
Console> (enable)
Enabling or Disabling Auto-MDI/MDIX
With auto-MDI/MDIX you can use either a straight or crossover cable, and the module will
automatically detect and adjust for the cable type. Auto-MDI/MDIX works with the speed set to
auto/1000 Mbps but not with the speed set to 10 Mbps or 100 Mbps. The link will come up with either
a straight or crossover cable if the speed is set to auto/1000 using the
set port speed
mod/port
auto
command or the
set port speed
mod/port
1000
command. The link comes up even if the speed is
autonegotiated at 10 Mbps or 100 Mbps in
auto
mode. However, if you enter the
set port speed
mod/port
10
command or the
set port speed
mod/port
100
command, the link fails to come up if the wrong cable
is used.
Auto-MDI/MDIX has always been enabled on the following modules:
•
WS-X6548-RJ-45, WS-X6548-RJ-21, WS-X6148-GE-TX, WS-X6548-GE-TX
Auto-MDI/MDIX works in 10-, 100-, and 1000-Mbps modes with autonegotiated and fixed speeds.
•
WS-X6516-GE-TX
Auto-MDI/MDIX works with the speed set to auto/1000 Mbps but not with the speed set to 10 Mbps
or 100 Mbps.
•
WS-X6316-GE-TX
With software release 8.2(1) and later releases, auto-MDIX is also enabled on the following modules:
•
WS-X6748-GE-TX, Supervisor Engine 720 port 2 (RJ-45)
Auto-MDI/MDIX works with the speed set to auto/1000 but not with the speed set to 10 Mbps
or 100 Mbps
•
WS-X6148X2-RJ-45, WS-X6148X2-45AF
Auto-MDI/MDIX works with the speed set to auto but not with the speed set to 10 Mbps
or 100 Mbps.
Note
Auto-MDI/MDIX is not supported on any other 10/100-Mbps Ethernet modules or GBIC, SFP, and
XENPAK ports.
Task
Command
Step 1
Set the duplex mode of a port.
set port duplex
mod/port
{
full
|
half
}
Step 2
Verify that the duplex mode of the port is
configured correctly.
show port
[
mod
[
/port
]]