12
To enable the interface to communicate with its peer, make sure that its transmit pins are connected
to the remote receive pins. If the interface can detect the connection cable type, set the interface in
auto MDI mode. If not, set its MDI mode by using the following guidelines:
•
When a straight-through cable is used, set the interface to operate in the MDI mode different
than its peer.
•
When a crossover cable is used, set the interface to operate in the same MDI mode as its peer,
or set either end to operate in auto mode.
To set the MDI mode of an Ethernet interface:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Ethernet interface
view.
interface interface-type
interface-number
N/A
3.
Set the MDI mode of the
Ethernet interface.
mdi
{
across
|
auto
|
normal
}
Optional.
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:
•
Fiber ports do not support this feature.
•
If the link of an Ethernet port is up, testing its cable connection will cause the link to come down
and then go up.
You can test the cable connection of an Ethernet interface for a short or open circuit. The switch
displays cable test results within five seconds. 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 Ethernet interface view.
interface interface-type interface-number
3.
Test the cable connected to the Ethernet
interface.
virtual-cable-test
Configuring storm control on an Ethernet interface
Storm control compares broadcast, multicast, and unknown unicast traffic regularly with their
respective traffic thresholds on an Ethernet interface. For each type of traffic, storm control provides
a lower threshold and a higher threshold.
For management purposes, you can configure the interface to send threshold event traps and log
messages when monitored traffic exceeds the upper threshold or drops below the lower threshold
from the upper threshold.