CLI REST-API
traceroute
traceroute [IP address|hostname]
The "traceroute" command allows to check connectivity to a to a network node with a
specific IP address, printing the network path used to reach the node.
The IP address has to be specified in this format: A.B.C.D
or, as an IPv6 address, in this format: A:B:C:D:E:F
The "traceroute" command also understands short cuts for the IPv6 address, i.e. "::".
Examples:
"traceroute 192.168.0.45"
"traceroute bad:cafe::10"
RESTAPI: The data can be passed in the body like this:
{
"parameters": {
"host": "127.0.0.1"
}
}
Name | Value | Description | Example |
---|
| IP address|hostname | | 127.0.0.1 |
See also:
ping: check connectivity to a network node.
REST-API Support:
This command is supported by the REST API:
Method: PUT
URL: /api/traceroute
Body:
{
"parameters": {
"host": [IP address|hostname]
}
}
Example using curl:
curl -X PUT /api/traceroute -d
"{
\"parameters\": {
\"host\": \"127.0.0.1\"
}
}"