Configures the autopolarity detection feature on the specified Ethernet ports.
| 
                 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. | 
Enabled.
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
The following command disables the autopolarity detection feature on ports 5 to 7 on a switch:
# configure ports 5-7 auto-polarity off
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
This command was first available in ExtremeXOS 11.2.
The mdi-mode option was added in version 32.6.
This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, and X695 series switches.