Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ping -t not working 3

Status
Not open for further replies.
Sep 11, 2019
3
US
On a Cisco ASA ping works but ping -t does not:

firewall# ping Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to <IP>, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/8/10 ms

firewall# ping -t firewall# ping -t ^
ERROR: % Invalid Hostname

What is going on?
 
Is there a space between the -t and the hostname? Hard to tell in the post.
 
Your 'ping', along with whatever else is available at your shell prompt, is most likely provided by busybox.

DESCRIPTION

BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides minimalist replacements for most of the utilities you usually find in GNU coreutils, util-linux, etc. The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts.

///

ping

ping [OPTIONS] HOST

Send ICMP ECHO_REQUEST packets to network hosts

Options:

-4, -6 Force IPv4 or IPv6 hostname resolution
-c CNT Send only CNT pings
-s SIZE Send SIZE data bytes in packets (default:56)
-I IFACE/IP Use interface or IP address as source
-W SEC Seconds to wait for the first response (default:10)
(after all -c CNT packets are sent)
-w SEC Seconds until ping exits (default:infinite)
(can exit earlier with -c CNT)
-q Quiet, only displays output at start
and when finished


--
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top