1-33
virtual-cable-test
Syntax
virtual-cable-test
View
Ethernet port view
Default Level
2: System level
Parameters
None
Description
Use the virtual-cable-test command to test the cable connected to the Ethernet port once and to
display the testing result. The tested items include:
Note that:
z When the cable is functioning properly, the cable length in the test result represents the total cable
length;
z When the cable is not functioning properly, the cable length in the test result represents the length
from the current interface to the failed position.
z The optical interface of a SFP port does not support this command.
z A link in the up state goes down and then up automatically if you execute this command on one of
the Ethernet ports forming the link.
z The test result is for your information only. The maximum error in the tested cable length is 5 m. A
hyphen “-” indicates that the corresponding test item is not supported.
Examples
# Enable the virtual cable test for the 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
Return loss: - db