Configuring auto-MDIX (CLI)
The auto-MDIX features apply only to copper port switches using twisted-pair copper Ethernet cables. For information about auto-MDIX, see Configuring auto-MDIX.
Syntax:
interface <port-list> mdix-mode < {auto-mdix | mdi | mdix>}
|
The automatic,default setting. This configures the port for automatic detection of the cable (either straight-through or crossover). |
|
The manual mode setting that configures the port for connecting to either a PC or other MDI device with a crossover cable, or to a switch, hub, or other MDI-X device with a straight-through cable. |
|
The manual mode setting that configures the port for connecting to either a switch, hub, or other MDI-X device with a crossover cable, or to a PC or other MDI device with a straight-through cable. |
Syntax:
show interfaces config
Lists the current per-port Auto/MDI/MDI-X configuration.
Syntax:
show interfaces brief
Where a port is linked to another device, this command lists the MDI mode the port is currently using.
In the case of ports configured for
Auto
(auto-mdix
), the MDI mode appears as eitherMDI
orMDIX
, depending upon which option the port has negotiated with the device on the other end of the link.In the case of ports configured for
MDI
orMDIX
, the mode listed in this display matches the configured setting.If the link to another device was up, but has gone down, this command shows the last operating MDI mode the port was using.
If a port on a given switch has not detected a link to another device since the last reboot, this command lists the MDI mode to which the port is currently configured.
The show interfaces config
displays the following data when port A1 is configured for auto-mdix
, port A2 is configured for mdi
, and port A3 is configured for mdix
:
Displaying the current MDI configuration
switch(config)# show interfaces config Port Settings Port Type | Enabled Mode Flow Ctrl MDI ------ --------- + ------- ------------ --------- ---- A1 10GbE-T | Yes Auto Disable Auto A2 10GbE-T | Yes Auto Disable MDI A3 10GbE-T | Yes Auto Disable MDIX A4 10GbE-T | Yes Auto Disable Auto A5 10GbE-T | Yes Auto Disable Auto A6 10GbE-T | Yes Auto Disable Auto A7 10GbE-T | Yes Auto Disable Auto A8 10GbE-T | Yes Auto Disable Auto
Displaying the current MDI operating mode
switch(config)# show interfaces brief Status and Counters - Port Status | Intrusion MDI Flow Bcast Port Type | Alert Enabled Status Mode Mode Ctrl Limit ------ --------- + --------- ------- ------ ---------- ---- ---- ----- A1 10GbE-T | No Yes Up 1000FDx MDIX off 0 A2 10GbE-T | No Yes Down 10GigFD MDI off 0 A3 10GbE-T | No Yes Down 10GigFD MDIX off 0 A4 10GbE-T | No Yes Down 10GigFD Auto off 0 A5 10GbE-T | No Yes Down 10GigFD Auto off 0 A6 10GbE-T | No Yes Down 10GigFD Auto off 0 A7 10GbE-T | No Yes Down 10GigFD Auto off 0 A8 10GbE-T | No Yes Down 10GigFD Auto off 0