configure ports auto-polarity

configure ports port_list auto-polarity [on | off { mdi-mode [ default | mdi | mdix]}]

Description

Configures the autopolarity detection feature on the specified Ethernet ports.

Syntax Description

port_list

Specifies one or more ports on the switch.

on

Enables the autopolarity detection feature on the specified ports.

off

Disables the autopolarity detection feature on the specified ports.

mdi-mode Specifies to configure Medium-Dependent Interface (MDI) mode for the port.
default Specifies to use the platform‘s default MDI mode.
mdi Specifies to force straight-through or MDI mode for the port.
mdix Specifies to force crossover or MDIX mode for the port.

Default

Enabled.

Usage Guidelines

This feature applies to only the 10/100 BASE-T ports, and copper medium on combination ports.

When autopolarity is disabled and optionally a specific MDI mode is configured on one or more Ethernet ports, you can verify the autopolarity status and the MDI mode by using the following command:

# show ports information detail

Example

The following command disables the autopolarity detection feature on ports 5 to 7 on a switch:

# configure ports 5-7 auto-polarity off

Example

The following command disables the autopolarity detection feature and sets crossover or MDIX mode on ports 6 to 8 on a switch:

# configure ports 6-8 auto-polarity off mdi-mode mdix

History

This command was first available in ExtremeXOS 11.2.

The mdi-mode option was added in version 32.6.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X690, and X695 series switches.