Skip to content
Smarter by Design.Simpler for Business

sys-cmd ping6 ​

sys-cmd ping6 sends an ICMPv6 echo request to an IPv6 target from the route table selected in WEB-CLI; it shows the round-trip time of every response and, at the end, the packet loss summary. It is the IPv6 equivalent of the ping command.

Command Summary ​

TR7 WEB-CLI · sys-cmd ping6
# type ping6 and press Tab: a free parameter
admin@TR7LBWAF01> sys-cmd ping6
<ping6-parameter-1>
 
admin@TR7LBWAF01> sys-cmd ping6 <parameters> <ipv6-target>
admin@TR7LBWAF01>  

Everything written after the word ping6 is passed to the tool as it is. There is no mandatory field; the target address is written together with the parameters according to the tool's own syntax.

How It Works ​

SubjectBehavior
ContextThe packets are sent from within the selected v-device and route table; the IPv6 addresses and the routes of that route table are used.
DurationIf -c is not given, it sends packets without stopping.
StoppingCtrl+C stops the tool. If the tool does not close within 10 seconds, it is terminated by force.
PipeThe output can be filtered with | or written to a file with to-file.
RecordingEvery run is written to the user logs.

Frequently Used Parameters ​

ParameterWhat it doesWhat is written after it
-cLimits the number of packets to be sentA number (e.g. 4)
-iChanges the waiting time between two packetsSeconds (e.g. 0.5)
-sChanges the size of the data section of the packetBytes
-ISelects the interface from which the packet will go out; it is required for the link-local addresses that begin with fe80::An interface name
-qShows only the summary at the end—

The table summarizes frequently used parameters; the full list and behavior depend on the version of the tool on the device.

Examples ​

TR7 WEB-CLI · A) Four packets to a global IPv6 address
admin@TR7LBWAF01> sys-cmd ping6 -c 4 2001:db8::15
admin@TR7LBWAF01>  
TR7 WEB-CLI · B) A link-local neighbor by specifying the interface
admin@TR7LBWAF01> sys-cmd ping6 -c 3 -I <interface> fe80::1
admin@TR7LBWAF01>  
TR7 WEB-CLI · C) At half-second intervals, summary only
admin@TR7LBWAF01> sys-cmd ping6 -c 10 -i 0.5 -q 2001:db8::15
admin@TR7LBWAF01>  

Things to Know ​

  • IPv4 works, IPv6 does not. An IPv6 address or an IPv6 route may be missing in the selected route table; the route table settings are checked from the Route Tables page.
  • A link-local address. Because the addresses that begin with fe80:: can repeat on every interface, a request sent without specifying the interface mostly gives an error.
  • The interface names are seen in the output of ip show address.