No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).



The virtual-cable-test command tests the cable connected to an Ethernet electrical interface and displays the test result.






GE interface view, MultiGE interface view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

You can run the virtual-cable-test command to check whether the cable works properly. According to the command output, you can locate and rectify cable faults.
  • If the cable works properly, the total length of the cable is displayed.
  • If the cable cannot work properly, the distance between the interface and the fault point is displayed.


  • Only the electrical interface or combo interface working as an electrical interface support the VCT function.
  • Running the virtual-cable-test command may affect services on the interface in a short period of time.
  • The VCT function is supported only when the local and peer ends work at 1000 Mbit/s in auto-negotiation mode.The VCT function is supported only by the R230D when its interfaces work at 100 Mbit/s in auto-negotiation mode.
  • When the cable works properly, the VCT function is not supported by all or some interfaces of the following APs. The cable length is 0 in the command output of interfaces.
    • AD9431DN-24X, AP4030DN and R230D: all interfaces
    • AD9430DN-24: GE0 through GE5 and GE7 through GE23
    • AP7050DN-E: GE0
    • AP8082DN and AP8182DN: all GE interfaces
    • AD9430DN-12: all interfaces except GE1, GE3, GE12, and GE13
    • AP8030DN and AP4030TN: GE0
    • AP5030DN: GE1
  • If the cable cannot work properly, the distance between the interface and the failure point is displayed.
  • The test result is only for reference and may be inaccurate for cables of some vendors.
  • VCT detection cannot be performed on multiple interfaces of the device at the same time.
  • For wire sequence of cables, see Testing the Connection of Assembled Cables in the Hardware Installation and Maintenance Guide.


# Test the cable connected to GE0/0/1.
<Huawei> system-view
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] virtual-cable-test
Warning: The command will stop service for a while. Continue? [Y/N]y
Pair A length: 4 meter(s)
Pair B length: 4 meter(s)
Pair C length: 4 meter(s)
Pair D length: 4 meter(s)
Pair A state: Ok
Pair B state: Ok
Pair C state: Ok
Pair D state: Ok
Table 5-10  Description of the virtual-cable-test command output



Pair A/B/C/D

Four pairs of circuits in a network cable.

Pair A length

Length of a network cable:
  • The length is the distance between the interface and the fault point if a fault occurs.
  • The length is the actual length of the cable when the cable works properly.

Pair A state

Network cable status:
  • Ok: indicates that the circuit pair is terminated normally.
  • Open: indicates that the circuit pair is not terminated.
  • Short: indicates that the circuit pair is short-circuited.
  • Crosstalk: indicates that the circuit pairs interfere with each other.
  • Unknown: indicates that the circuit pair has an unknown fault.
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 203000

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next