38
Description
Use
virtual-cable-test
to test the cable connection of an Ethernet interface. The test results are
displayed within five seconds.
The following cable states are available:
•
Normal—The cable is in good condition.
•
Abnormal—Any fault other than a short or open circuit is detected.
If the cable connection is normal, the displayed cable length is the total length of the cable.
If the cable connection has a fault, it is the length from the local port to the faulty point.
If the link of an Ethernet interface is up, testing its cable connection will cause the link to go down and
then up.
The test result is for reference only. The cable length detection error is up to 5 m (about 16 ft). If a test
item is not available, a hyphen (-) is displayed.
NOTE:
Fiber ports do not support this command.
Examples
# Test the cable connection of Ethernet 1/0/1.
<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] virtual-cable-test
Cable status: normal, 1 metres
Pair Impedance mismatch: -
Pair skew: - ns
Pair swap: -
Pair polarity: -
Insertion loss: - db
Return loss: - db
Near-end crosstalk: - db
NOTE:
The
Pair Impedance mismatch
field has the following values:
•
Yes
—Match
•
No
—Mismatch