API Guide
Diagnostic
Topics:
• /api/DeviceService/Devices(Id)/Actions/DeviceService.Diagnostic
/api/DeviceService/Devices(Id)/Actions/
DeviceService.Diagnostic
This URI allows you to execute supported diagnostic commands.
POST method for DeviceService.Diagnostic
This method executes the supported diagnostics commands.
Description Executes supported diagnostic commands. The following commands are supported:
● ping IPv4 or ping DomainName
● ping6 IPv6
● traceroute IPv4
● traceroute6 IPv6
● netstat
● ifconfig
● arp
Privilege APPLIANCE_SETUP
HTTP response
codes
200
Example request
body
{
"Command":"ping www.dell.com"
}
Example
response body
PING www1.ins.dell.com (143.166.83.38) 56(84) bytes of data.
64 bytes from sg.dell.com (143.166.83.38): icmp_seq=1 ttl=246
time=2.11 ms
--- www1.ins.dell.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 2.115/2.115/2.115/0.000 ms
8
Diagnostic 289