Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
Community Member

Help needed on "Extended ping"


We are trying to increase the no of hops while doing an extended ping. This is to validate and record the route from the source to dest.

We are observing this message "Invalid Number of Hops" when trying to increase the no of hops as follows:

Protocol [ip]:

Target IP address: X.X.X.X

Repeat count [5]:

Datagram size [100]:

Timeout in seconds [2]:

Extended commands [n]: y

Source address or interface: lo 0

Type of service [0]:

Set DF bit in IP header? [no]:

Validate reply data? [no]:

Data pattern [0xABCD]:

Loose, Strict, Record, Timestamp, Verbose[none]: R

Number of hops [ 9 ]: 15

Invalid Number of Hops

Is there any way to increase the no of hops while doing an extended ping ?




Re: Help needed on "Extended ping"

Hello Sri,

Looking at the following doc will show that there is little difference between doing an extended ping with the Record-option and using the traceroute command. With the latter, you can select up to 30 hops so that is probably the way to go.

No idea really why an extended ping should be restricted to less than 30 hops, it could be a bug. I would like to know if this is always the same when you check on different platforms and IOS versions.



Re: Help needed on "Extended ping"


unfortunately not. The maximum hop count for the record route option is 9. Details to hte extended ping and traceroute can be found in "Using the Extended ping and Extended traceroute Commands" at

Hope this helps! Please rate all posts.

Regards, Martin

Re: Help needed on "Extended ping"

You can say that the forum works when it comes to enlarging one's knowledge. I did not know that. Thanks for looking it up!

For myself, I always use the traceroute command instead.

Thanks Martin.

CreatePlease to create content