Skip to content
Smarter by Design.Simpler for Business

Network Diagnostics ​

The Network Diagnostics group gathers the four system commands that measure whether a target is reachable over the network, with how much latency and through which path it is reached. They are the commands that are looked at first in situations such as a backend appearing as down in the health check, the VIP not being reachable from outside, or a slowness complaint.

Which Command When? ​

QuestionCommandExample
Is the backend reachable from the network, and how many ms is the latency?pingsys-cmd ping -c 4 10.20.0.15
Is a target with an IPv6 address reachable?ping6sys-cmd ping6 -c 4 2001:db8::15
There is no access; where on the way is the packet lost?traceroutesys-cmd traceroute -n 10.20.0.15
Which of the servers in a backend group are up?fpingsys-cmd fping -c 3 10.20.0.15 10.20.0.16
Which addresses in a subnet respond?fpingsys-cmd fping -a -g 10.20.0.0/24

An ICMP response alone is not enough

These four commands use ICMP. If the target responds but the service is not working, the problem is not in the network but in the service port; the next step is a test at the port level: nmap, telnet or curl. Conversely, a target behind a firewall that blocks ICMP may have a working service even though it does not respond.

Common Behavior ​

SubjectBehavior
WritingAll four are tools with free parameters: everything written after the command name is passed to the tool as it is.
ContextThe measurement is made from within the v-device and the route table selected in WEB-CLI. For a target in an isolated route table, route-table set is run first.
Durationping and ping6 run without stopping if a packet count is not given; they are limited with -c or stopped with Ctrl+C. traceroute and fping close by themselves when they finish their work.
PipeThe output can be filtered with | or written to a file with to-file.
RecordingEvery run is written to the user logs.

All of the writing rules, the restrictions and the stopping behavior: System Commands.