mdix auto
mdix auto
Use the mdix auto interface configuration command to enable the automatic medium-dependent
interface crossover (auto-MDIX) feature on the interface. When auto-MDIX is enabled, the interface
automatically detects the required cable connection type (straight-through or crossover) and configures
the connection appropriately. Use the no form of this command to disable auto-MDIX.
Syntax Description
This command has no arguments or keywords.
Defaults
Auto-MDIX is enabled.
Command Modes
Interface configuration
Command History
Release
12.2(25)EX
Usage Guidelines
When you enable auto-MDIX on an interface, you must also set the speed and duplex on the interface to
auto so that the feature operates correctly. If the port is a user network interface (UNI) or enhanced
network interfaces (ENI), you must use the no shutdown interface configuration command to enable it
before using the mdix auto command. UNIs and ENIs are disabled by default. Network node interfaces
(NNIs) are enabled by default.
When auto-MDIX (along with autonegotiation of speed and duplex) is enabled on one or both of
connected interfaces, link up occurs, even if the required cable type (straight-through or crossover) is
not present.
Auto-MDIX is supported on all 10/100-Mbps interfaces and on 10/100/1000BASE-T/BASE-TX small
form-factor pluggable (SFP)-module interfaces. It is not supported on 1000BASE-SX or -LX SFP
module interfaces.
Examples
This example shows how to enable auto-MDIX on a port:
Switch# configure terminal
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# speed auto
Switch(config-if)# duplex auto
Switch(config-if)# mdix auto
Switch(config-if)# end
You can verify the operational state of auto-MDIX on the interface by entering the show controllers
ethernet-controller interface-id phy privileged EXEC command.
Cisco ME 3400 Ethernet Access Switch Command Reference
2-246
mdix auto
no mdix auto
Modification
This command was introduced.
Chapter 2
Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
OL-9640-07