start-traceroute
Added in V2.5
Start a traceroute test. The test runs asynchronously in the background. Use get-traceroute-result to retrieve its status and results.
HTTP Request
GET http://ip/usapi?method=start-traceroute&destination=8.8.8.8&iface=eth0
| Parameter | Description |
|---|---|
| method | Method name: start-traceroute |
| destination | Traceroute destination: an IP address or hostname. |
| iface | Egress interface. Optional; defaults to default.default: System default route eth0: Ethernet interface wlan0: Wi-Fi interface |
Response Body
{
"result": 0,
"destination": "8.8.8.8"
}
| Item | Description |
|---|---|
| result | Returned status. 0: Test started successfully -9: System busy (another traceroute test is in progress) For descriptions of other values, refer to API Status Codes. |
| destination | Traceroute destination. |