device_probe
Check device connectivity and status via ping, traceroute, ARP, route, VLAN, and OSPF queries. Returns reachability for ping and raw output for other commands.
Instructions
设备连通性和状态查询。action: ping/tracert/interfaces/arp/mac/route/vlan/ospf。
ping/tracert 需要 destination;ping count 为 1–100。ping 返回统计和 reachable, 无法解析时 reachable 为 null;其他查询返回 output 原文。ok 表示命令执行状态, ping 是否连通看 parsed.reachable。登录参数与 device_exec 相同。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | 127.0.0.1 | |
| count | No | ||
| action | No | ping | |
| target | Yes | ||
| password | No | ||
| username | No | ||
| topo_path | No | ||
| destination | No | ||
| new_password | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |