9-13
Catalyst 2940 Switch Software Configuration Guide
78-15507-02
Chapter9 Configuring the Switch Int erf ace s Configuring Ethernet Interfaces
Configuring Auto-MDIX on an InterfaceWhen automatic medium-dependent interface crossover (Auto-MDIX) is enabled on an interface, the
interface automatically detects the required cable connection type (straight-through or crossover) and
configures the connection appropriately. When connecting switches without the Auto-MDIX feature,
you must use straight-through cables to connect to devices such as servers, workstations, or routers and
crossover cables to connect to other switches or repeaters. W ith A uto-MDIX en abled, yo u can us e either
type of cable to connect to other devices, and the interface automatically corrects for any incorrect
cabling. For more information about cabling requirements, refer to the hardware installation guide.
Auto-MDIX is disabled by default. When you enable Auto-MDIX, you must also set the speed and
duplex on the interface to auto in order for the feature to operate correctly. Auto-MDIX is supported on
all 10/100 and 10/100/1000 Mbps interfaces. It is not supported on the SFP module interfaces.
Table 9 -2 shows the link states that results from Auto-MDIX settings and correct and incorrect cabling.
Beginning in pr i vileged EXEC mo d e, follow these steps to configure Auto-MDIX on an interface:
To disable Auto-MDIX, use the no mdix auto interface configuration command.
Table9-2 Link Conditions and Auto-MDIX Settings
Local Side Auto-MDIX Remote Side Auto-MDIX With Correct Cabling With Incorrect Cabling
On On Link up Link up
On Off Link up Link up
Off On Link up Link up
Off Off Link up Link down
Command Purpose
Step1 configure terminal Enter global configuration mode
Step2 interface interface-id Enter interface configuration mode for the physical interface to be
configured.
Step3 speed auto Configure the interface to autonegotiate speed with the connected device.
Step4 duplex auto Configure the interface to autonegotiate duplex mode with the connected
device.
Step5 mdix auto Enable Auto-MDIX on the interface.
Step6 end Return to privileged EXEC mode.
Step7 show controllers ethernet-controller
interface-id phy 32
or
show running-config
Verify the operational state of the Auto-MDIX feature on the interface.
Step8 copy running-config startup-config (Optional) Save your entries in the configuration file.