02-08-2006 05:51 AM - edited 03-03-2019 11:41 AM
Hi!
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 ?
Rgds,
Sri
02-08-2006 06:09 AM
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.
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080093f22.shtml#extend_ping
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.
Regards,
Leo
02-08-2006 06:40 AM
Hello,
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
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080093f22.shtml
Hope this helps! Please rate all posts.
Regards, Martin
02-08-2006 06:50 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide