Configuring Virtual Cable Test
Context
Virtual cable test (VCT) technology uses time domain reflectometry (TDR) to detect the cable status. When pulse signals are transmitted in a cable, some energy of the signals is reflected at the end or a failure point on the cable. This phenomenon is called TDR. The VCT algorithm measures the time spent on transmitting pulse signals over a cable, reaching the failure point, and returning the pulse signals. The measured time is converted into the distance.
As shown in Figure 2-10, GE1/0/1 of SwitchA is connected to GE1/0/2 of SwitchB using a network cable. A failure point exists on the network cable. After VCT is configured on GE1/0/1, the system generates pulse signals. When the pulse signals reach the failure point, some energy is reflected to the GE1/0/1. In this example, the distance between SwitchA and the failure point is L, the period from sending pulse signals to receiving reflected pulse signals is T, and the transmission rate of pulse signals in the cable is V. The following formula is used to calculate the distance between the failure point and GE1/0/1:
L = (V x T)/2
VCT detects the network cable fault type and identifies the failure point, facilitating fault location on network cables.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Run virtual-cable-test
VCT is configured.
- The test result is only for reference and may be inaccurate for cables of some vendors.
- If the detection result is Unknown, you are advised to use the cable analyzer to perform the test.
- The test result is related to the cable signal attenuation. When the cable length is shorter than 3 m, the cable signal attenuation mostly results from the connector, not the cable. The test result is therefore invalid.
- Running the virtual-cable-test command may affect services on the interface in a short period of time, and the interface in Up state may alternate between Up and Down.
- Combo electrical interfaces support cable tests, but cable tests are not recommended on combo electrical interfaces because services will be interrupted.
- This command can be used on an XGE optical interface or GE optical interface when the interface has a GE copper module installed.
- After a 25GE optical interface is configured to work at the rate of 1 Gbit/s using the port mode ge command and has a GE copper module installed, the virtual-cable-test command can be configured on the interface.
- When a GE electrical interface work at a rate of 100 Mbit/s, the detection result is unavailable when the interface that has a GE copper module installed is in Up state.
- The virtual cable test (VCT) cannot be performed on multiple interfaces of the device at the same time.