ping — Verify network connectivity


ping [-v ] [-i local_IP_address] [-l length] [-n count] [-t timeout] [-r rate] {-h server_IP_address}


-vBooleanBe verbose, displaying information about each packet sent. quiet
-n local_IP_addressNumberControls the number of packets to be sent.10
-i local_IP_addressNumeric IP or DNS nameThe IP address RedBoot should use.Value set by ip_address
-h server_IP_addressNumeric IP or DNS nameThe IP address of the host to contact. none
-l lengthNumberThe length of the ICMP data payload.64
-r lengthNumber How fast to deliver packets, i.e. time between successive sends. A value of 0 sends packets as quickly as possible. 1000ms (1 second)
-t lengthNumberHow long to wait for the round-trip to complete, specified in milliseconds.1000ms (1 second)


The ping command checks the connectivity of the local network by sending special (ICMP) packets to a specific host. These packets should be automatically returned by that host. The command will indicate how many of these round-trips were successfully completed.


Test connectivity to host

RedBoot> ping -h
Network PING - from to
PING - received 10 of 10 expected

Test connectivity to host, with verbose reporting.

RedBoot> ping -h -v -n 4
Network PING - from to
 seq: 1, time: 1 (ticks)
 seq: 2, time: 1 (ticks)
 seq: 3, time: 1 (ticks)
 seq: 4, time: 1 (ticks)
PING - received 10 of 10 expected

Test connectivity to a non-existent host (

RedBoot> ping -h -v -n 4
PING: Cannot reach server '' (