tracerouteFromDevice

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

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

Body Parameters

NameTypeDescription
hoststringhost name
protocolstringudp (default) /icmp
portintwhen protocol=udp, the udp port to use (default is 33434)
timeoutuintmaximum time in seconds to wait for the response (default is 60)
networkstringThe network on behalf of whom the traceroute is to be run (default is 'internal').

subscribe to Device Command outputs

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

Request Body

{"host"=>"1.1.1.1", "protocol"=>"udp", "port"=>33434, "timeout"=>120, "network"=>"corp", "vrf"=>"lan"}