Configuring Optional Interface Features
Table 7-3
Local Side auto-MDIX
On
On
Off
Off
To configure auto-MDIX on a port, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# interface
interface-id
Step 3
Switch(config-if)# speed auto
Step 4
Switch(config-if)# mdix auto
Step 5
Switch(config-if)# end
Step 6
Switch# show interfaces
interface-id
Step 7
Switch# copy running-config
startup-config
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:
Command
Step 1
Switch> enable
Step 2
Switch# show interfaces type slot/interface
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
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
7-30
Link Conditions and auto-MDIX Settings
Remote Side auto-MDIX With Correct Cabling
On
Off
On
Off
Purpose
Enters global configuration mode
Enters interface configuration mode for the physical interface to be
configured.
Configures the port to autonegotiate speed with the connected device.
Enables auto-MDIX on the port.
Returns to privileged EXEC mode.
Verifies the configuration of the auto-MDIX feature on the interface.
(Optional) Saves your entries in the configuration file.
shows the auto-MDIX setting and operational state and the status of auto-MDIX.
Link up
Link up
Link up
Link up
Purpose
Enables privileged EXEC mode.
Enter your password if prompted.
•
Displays the interface auto-MDIX configuration setting and
operational state.
Chapter 7
Configuring Interfaces
With Incorrect Cabling
Link up
Link up
Link up
Link down
OL-25340-01