No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


CLI-based Configuration Guide - Interface Management

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

This document provides the basic concepts, configuration procedures, and configuration examples of the interfaces supported by the device.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring the MDI Type of an Interface

Configuring the MDI Type of an Interface


Twisted pairs used to connect Ethernet devices include:

  • Straight-through cable: connects devices of different types, such as a switch and a PC or a switch and a router.
  • Crossover network: connects devices of the same type, such as two PCs, two switches, or two routers.

An interface supports the following medium dependent interface (MDI) types, which determine the cable type allowed on the interface:

  • Auto
  • Normal
  • Across

By default, an interface works in auto mode. When the device fails to identify the network cable type on an interface, set the MDI type manually.

When setting the MDI type on an interface, pay attention to the following points:

  • When a straight-through cable is used, the local and remote interfaces must use different MDI types, for example, across mode on one end and normal mode on the other end.
  • When a crossover cable is used, the local and remote interfaces must use the same MDI type. For example, both ends must use the across or normal mode, or at least one end uses the auto mode.


  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The Ethernet interface view is displayed.

  3. Run mdi { across | auto | normal }

    The MDI type is configured for the Ethernet interface.

    By default, an Ethernet interface works in auto mode and automatically identifies the network cable type.

Updated: 2019-03-06

Document ID: EDOC1100069331

Views: 20630

Downloads: 89

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next