Categories
Welcome Center
Education & Development
Cyber Security
Virtualization
General
Certification Preparation
Project Management
Posts
Groups
Training Resources
Infosec
IT & Security Bootcamps
Practice Exams
Security Awareness Training
About Us
Home
Certification Preparation
Cisco
CCNP
Debug IP Packets
up2thetime
Hey guys,
Needed some help with the debug ip packet command...
I have some traffic that flows through RouterA (ie. a ping from one end of the network will go through RouterA to reach the destination).
When I enable debug ip packet on RouterA, it does not show the packet being forwarded (it does not show that ICMP packets are flowing through RouterA even though the Ping is successful). However when I do a trace from one end of the network to the other, the debug generates the expected logs.
Any ideas?
Thanks!
Find more posts tagged with
Comments
vinbuck
try
debug ip icmp
instead. If you are diagnosing a routing issue, you might try
debug ip routing
and
debug ip packet
together.
networker050184
Debug ip packet only gets traffic punted to the CPU. Tracerouote traffic has an expired TTL which causes this to be punted to the CPU for processing which is why you see that. Transit ICMP traffic will be CEF switched like normal traffic and you won't see anything.
You can disable CEF and you should be able to see the transit traffic at that point. Keep in mind this isn't something you want to do in production though.
up2thetime
Hmm... i disabled cef, but RouterA still doesn't show the forwarding....
I did a show ip cef to confirm cef was turned off....
Edit:
Sorry, i didn't give it a few minutes.
It seems to be working. Looks like it took a few minutes to kick in after cef was disabled.
Thanks for the information!!
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of