×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

ping -t not working
3

ping -t not working

ping -t not working

(OP)
On a Cisco ASA ping works but ping -t does not:

firewall# ping www.cisco.com
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 www.cisco.com
firewall# ping -t www.cisco.com
^
ERROR: % Invalid Hostname

What is going on?

RE: ping -t not working


Try the -t at the end instead of after the ping command.

firewall# ping www.cisco.com -t

Hope this helps.

RE: ping -t not working

Is there a space between the -t and the hostname? Hard to tell in the post.

RE: ping -t not working

(OP)
I tried both ping -t www.cisco.com and ping www.cisco.com -t (yes there is a space)

I was able to use the ping repeat command for a long ping. I can only guess that ping -t is disabled somehow on the firewall?

RE: ping -t not working

Your 'ping', along with whatever else is available at your shell prompt, is most likely provided by busybox.
https://busybox.net/downloads/BusyBox.html

Quote:


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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close