154 CHAPTER 16: PORT CORRELATION CONFIGURATION
Ethernet interface on a device can operate in one of the following three Medium
Dependent Interface (MDI) modes:
■ Across mode, where the Ethernet interface only accepts crossover cables.
■ Normal mode, where the Ethernet interface only accepts straight-through
cables.
■ Auto mode, where the Ethernet interface accepts both straight-through cables
and crossover cables.
Normally, the auto mode is recommended. The other two modes are useful only
when the device cannot determine the cable type.
Follow these steps to configure the cable type for an Ethernet Port:
n
10 GE port cannot support mdi configuration.
Testing the Cable on an
Ethernet Port
n
A link in the up state goes down and then up automatically if you perform the
operation described in this section on one of the Ethernet ports forming the link.
You can enable the test on the cable connected with an Ethernet port to check:
■ Whether the RX and TX of the cable are short-circuited.
■ Whether the cable is open circuited.
■ The length of the faulty cable if there is any fault.
The system will return the check result in 5 seconds.
Follow these steps to test the current operating state of the cable connected to an
Ethernet port:
To do… Use the command… Remarks
Enter system view system-view -
Enter Ethernet port view interface interface-type
interface-number
-
Configure the cable type the
Ethernet port can identify
mdi { across | auto |
normal }
Optional
Defaults to auto. That is, the
Ethernet port automatically
detects the type of the cable
in use.
To do… Use the command… Remarks
Enter system view system-view -
Enter Ethernet port view interface interface-type
interface-number
-
Test the current operating state
of the cable connected to the
port
virtual-cable-test Required