Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Brent-BITSLLC
New Contributor II

Cable Testing via FortiGate CLI

I know how to use the FortiGate GUI to run a Cable Test diagnostic on a given interface, but I need to know how to do the same thing via FortiGate CLI.  Does anyone know the command for this?

3 REPLIES 3
abarushka
Staff
Staff

Hello,

 

Could you please elaborate whether you are referring to HQIP or some other test?

FortiGate
Brent-BITSLLC
New Contributor II

I'm referencing what the GUI calls a Cable Test under Diagnostics & Tools. Its the one that tests a given interface to see if there are wire pair issues or shorts on a line. 

vsahu

Hello Brent-BITSLLC,

You can use the below CLI command, I believe this is what you're looking for.

execute switch-controller switch-action cable-diag <switch> portX
Ex: execute switch-controller switch-action cable-diag FSxxxxxxxxxx port1

Regards,
Vishal
Labels
Top Kudoed Authors