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

Reminder

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

upgrade

Configuration Guide - Interface Management

S9300, S9300E, and S9300X V200R013C00

This document describes the interface management configuration, including basic interface configuration, Ethernet interface configuration, and logical interface configuration.
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 Electrical Interface

Configuring the MDI Type of an Electrical Interface

Context

Two types of twisted pair cables can be used to connect Ethernet devices:
  • Straight-through cable: connects different types of devices, such as a switch and a PC, or a switch and a router.
  • Crossover cable: connects the same type of devices, such as two switches, two routers, or two PCs.

Generally, if two interfaces are connected using a twisted pair cable, the transmit and receive pins of one interface are respectively connected to the receive and transmit pins of the other interface so that the link can be Up. Straight-through and crossover cables have different pin assignments. Ethernet interfaces must support negotiation and crossover of receive and transmit pins to adapt to the cables connected to them. The device supports three medium dependent interface (MDI) types: auto, normal, and across.

Generally, when two interfaces at both ends of a link use the auto type, they can communicate regardless of whether a straight-through or crossover cable is used. You need to manually set the MDI type to normal or across only when the device cannot identify the network cable type. When configuring the MDI type on an interface, pay attention to the following points:
  • When a straight-through cable is used, configure different MDI types for the local and remote interfaces. For example, configure the across type for one interface and normal type for the other interface.
  • When a crossover cable is used, configure the same MDI type for the local and remote interfaces. For example, configure the across or normal type for both interfaces or auto type for one interface.
NOTE:

Electrical interfaces support the MDI type configuration.

The MDI type can be configured on an optical interface that has a GE copper module installed.

Procedure

  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 set for the Ethernet interface.

    By default, an Ethernet interface uses the auto type and automatically identifies the network cable type.

Verifying the Configuration

Run the display interface [ interface-type [ interface-number ] ] command in any view or the display this interface command in the interface view to check the current interface status. Check the Mdi field in the command output.

Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065861

Views: 6932

Downloads: 12

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