cableTestFromSwitch

POST https://{{host}}/api/v1/sites/:site_id/devices/:device_id/cable_test

TDR can be performed from the Switch. The output will be available through websocket. As there can be multiple command issued against the same Switch at the same time and the output all goes through the same websocket stream, session is introduced for demux.

Body Parameters

ParameterTypeDescription
portstringthe port to run the cable test

subscribe to Device Command outputs

{
    "subscribe": "/sites/:site_id/devices/:device_id/cmd"
}

Request Body

{"port"=>"ge-0/0/0"}