34
[Sysname-port-group-manual-group1] group-member gigabitethernet 1/0/1
[Sysname-port-group-manual-group1] group-member gigabitethernet 1/0/2
[Sysname-port-group-manual-group1] unicast-suppression 20
virtual-cable-test
Syntax
virtual-cable-test
View
Ethernet interface view
Default level
2: System level
Parameters
None
Description
Use the
virtual-cable-test
command to test the cable connection of an Ethernet interface. The test results
are displayed within five seconds.
The cable status can be:
•
normal, if the cable is in good condition.
•
abnormal, if any fault other than a short or open circuit is detected.
•
abnormal (open), if an open circuit is detected.
•
abnormal (short), if a short circuit is detected.
•
failure, if the detection fails.
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.
NOTE:
•
Optical interfaces do not support this command.
•
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. If a test item is not available, a hyphen (-) is displayed.
Examples
# Test the cable connection of interface GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] virtual-cable-test
Cable status: normal, 1 metres
Pair Impedance mismatch: -
Pair skew: - ns
Pair swap: -
Pair polarity: -
Insertion loss: - db