7-30
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
OL-25340-01
Chapter 7 Configuring Interfaces
Configuring Optional Interface Features
To configure auto-MDIX on a port, perform this task:
To disable auto-MDIX, use the no mdix auto interface configuration command.
This example shows how to enable auto-MDIX on a port:
Switch# configure terminal
Switch(config)# interface fastethernet 6/5
Switch(config-if)# speed auto
Switch(config-if)# mdix auto
Switch(config-if)# end
Displaying the Interface Auto-MDIX Configuration
To display the interface speed and duplex mode configuration for an interface, perform this task:
Depending on how the speed auto and the mdix auto commands are configured on a supported line card
interface, the show interfaces command displays the following possible auto-MDIX statuses:
Table 7-4 shows the auto-MDIX setting and operational state and the status of auto-MDIX.
Table 7-3 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
Step 1
Switch# configure terminal
Enters global configuration mode
Step 2
Switch(config)# interface
interface-id
Enters interface configuration mode for the physical interface to be
configured.
Step 3
Switch(config-if)# speed auto
Configures the port to autonegotiate speed with the connected device.
Step 4
Switch(config-if)# mdix auto
Enables auto-MDIX on the port.
Step 5
Switch(config-if)# end
Returns to privileged EXEC mode.
Step 6
Switch# show interfaces
interface-id
Verifies the configuration of the auto-MDIX feature on the interface.
Step 7
Switch# copy running-config
startup-config
(Optional) Saves your entries in the configuration file.
Command Purpose
Step 1
Switch> enable
Enables privileged EXEC mode.
• Enter your password if prompted.
Step 2
Switch# show interfaces type slot/interface
Displays the interface auto-MDIX configuration setting and
operational state.