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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

ip cef and ip packet debugs

I was recently trying to do some debugs and did not get any output until I turned off CEF with "no ip cef". What are the ramifications of turning off CEF? I assume there are some performance issues but are there any IOS features that require CEF? I ask because I consider a performace hit while debugging as OK but if turning off CEF breaks other things then the debugging info recorded might not be reliable. I am most concerned with policy-routing, object tracking and so on.

Thanks,

Diego

4 REPLIES
Silver

Re: ip cef and ip packet debugs

Before using debugging ip packet, note that the router is doing fast-switching by default, or may be doing CEF switching if configured to do so. This means that, once those techniques are in place, the packet is not provided to the processor, hence the debugging does not show anything. For this to work, you need to disable fast-switching on the router with no ip route-cache (for unicast packets) or no ip mroute-cache (for multicast packets). This should be applied on the interfaces where the traffic is supposed to flow. Verify this with the show ip route command.

New Member

Re: ip cef and ip packet debugs

What is the difference between "ip cef" and "ip route-cache"

Rgds,

Diego

Hall of Fame Super Blue

Re: ip cef and ip packet debugs

Diego

Have a look at this document which explains the idifferences between process/fast/cef switching.

http://www.cisco.com/en/US/tech/tk827/tk831/technologies_white_paper09186a00800a62d9.shtml

Jon

New Member

Re: ip cef and ip packet debugs

Thanks Jon. The doc certainly looks like it will help me with this.

Diego

134
Views
10
Helpful
4
Replies
CreatePlease to create content