14
•
MDI mode
—Pins 1 and 2 are transmit pins and pins 3 and 6 are receive pins.
•
AutoMDIX mode
—The interface negotiates pin roles with its peer.
To enable the interface to communicate with its peer, set the MDIX mode of the interface mode by using
the following guidelines:
•
Generally, set the MDIX mode of the interface to AutoMDIX. Set the MDIX mode of the interface to
MDI or MDIX only when the device cannot determine the cable type.
•
When a straight-through cable is used, set the interface to operate in the MDIX mode different than
its peer.
•
When a crossover cable is used, configure the interface to operate in the same MDIX mode as its
peer, or configure either end to operate in AutoMDIX mode.
To set the MDIX mode of an Ethernet interface:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet
interface view.
interface
interface-type
interface-number
N/A
3.
Set the MDIX mode of the
Ethernet interface.
mdix-mode
{
automdix
|
mdi
|
mdix
}
By default, a copper Ethernet
interface operates in auto mode to
negotiate pin roles with its peer.
Testing the cable connection of an Ethernet interface
IMPORTANT:
•
If the link of an Ethernet port is up, testing its cable connection will cause the link to come down and then
go up.
•
Fiber ports do not support this feature.
This feature tests the cable connection of an Ethernet interface and displays cable test results within 5
seconds. The test results include the cable's status and some physical parameters. If any fault is detected,
the test results include the length of the faulty cable segment.
To test the cable connection of an Ethernet interface:
Step Command
1.
Enter system view.
system-view
2.
Enter Layer 2 Ethernet interface view.
interface
interface-type interface-number
3.
Test the cable connected to the Ethernet interface.
virtual-cable-test