Ping Test
ping_testTests network reachability from a selected iKuai router interface using ICMP, TCP, or UDP to confirm whether a host or domain responds.
Instructions
执行 Ping 测试
实测(IK-Q3000 / 4.0.313):必须带全部字段,且 interface 不能为空,
否则返回 3001 请求参数不合法。结果通过 ping_result 读取。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dns | No | 反向解析用 DNS | |
| host | Yes | 目标 IP 或域名 | |
| port | No | 端口(l4proto 为 tcp/udp 时使用) | |
| count | No | 发包次数 | |
| proto | No | 协议族 "ipv4" 或 "ipv6" | ipv4 |
| l4proto | No | 传输层协议 "icmp"/"tcp"/"udp" | icmp |
| interface | No | 出口接口,如 "wan1"/"lan1"(必需,不能为空) | wan1 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||