06-19-2003 04:55 PM - edited 03-02-2019 08:17 AM
Hello
On one of my routers, when I do the show ip traffic command I keep seeing the "bad hop count " counter increasing. I also note that this router has gone (and still does) through 10 - 30 minutes of 99%cpu util (ip input)
Any idea on where I can start to trouble shoot this problem? My first thought was an application error where the ttl was set wrongly ... but I know no way to verify or check this ... hence the question..
Thanks in advance
P.S. I do not have multicasting enabled on any interface on this router
06-23-2003 06:40 AM
The bad hop count counter is increased when the router receives a packet with a TTL of zero. This might be normal if you have multicast traffic sent with low TTLs. Since you don't have multicast on this router, you can do a "debug ip error" on this router to determine what traffic is being discarded. Look for debug entries with the line "dispose ip.hopcount" in it.
Refer to the following url for more information on the debug ip error command:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/12supdoc/debug_r/dipdrp.htm#7680
05-14-2014 06:36 AM
It can also be a routing loop ;)
03-04-2020 01:21 PM
I had this exact problem which was causing the CPU utilization to max out on a site edge switch.
"show ip traffic" showed thousands of bad hop counts.
I ran "debug ip error" briefly then checked the log.
Log was filled with entries ending with "dispose ip.hopcount" which indicates TTL expired.
-- The IP addresses in the entries were all "default" routed - no RIB entry
Further investigation showed a faulty default route which was being propagated to the upstream router resulting in a loop.
Resolved the faulty route and the CPU utilization dropped immediately.
03-07-2020 03:41 PM
Thank you for sharing your experience of how you had this problem and how you approach troubleshooting it. Glad you were able to resolve your issue. Hopefully other participants in the community will read your post and benefit from it.
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