get-traceroute-result 接口
新增于 V2.5.62
获取路由追踪的状态信息。
请求方式
GET http://ip/usapi?method=get-traceroute-result
| 参数 | 说明 |
|---|---|
| method | 方法名称:get-traceroute-result |
返回数据
{
"result": 0,
"destination": "8.8.8.8",
"iface": "eth0",
"traceroute": true,
"output": "..."
}
| 属性 | 说明 |
|---|---|
| result | 返回状态,0:操作成功,返回其它值请参考 API 状态码 |
| destination | 路由追踪目标地址 |
| iface | 出网接口 |
| traceroute | 是否正在进行路由追踪 true: 进行中 false: 未在进行 |
| output | 路由追踪的输出内容 |