通俗地说线缆检测可以检测交换机接口到终端之间的网线情况。不管是思科还是华为、华三,在线缆检测时都使用了时域反射time domain reflectometer (TDR)技术。
通过时域反射TDR (Time Domain Reflectometry)检测电缆状态的原理如下:
交换机发送一个脉冲信号,脉冲信号在电缆中传输,如果遇到电缆末端或其它故障点,部分能量会被反射回来,这种现象称为时域反射。线缆检测技术就是测量脉冲在电缆中传输、达到故障点及返回的时间,把测量到的时间转换成距离。
华为和华三称之为虚电缆检测VCT(Virtual Cable Test)技术。
一、下面先以思科为例说一下:
测试环境一:思科3560-CG,一台8口千兆POE交换机
1、交叉线测试:
SDYC-UCDEMO_SW1#test cable-diagnostics tdr interface g0/8
TDR test started on interface Gi0/8
A TDR test can take a few seconds to run on an interface
Use 'show cable-diagnostics tdr' to read the TDR results.
SDYC-UCDEMO_SW1#show cable-diagnostics tdr interface g0/8
TDR test last run on: March 30 02:30:30
Interfac