06-15-2008 09:27 AM - edited 03-09-2019 08:54 PM
Hi,
A quick and hopefully simple question. Is there any reason why 'no ip route-cache' and 'no ip mroute-cache' should be configured on Tunnel interfaces?
Generally, when should 'no ip route-cache' be configured on an interface?
Many thanks,
Andy
06-15-2008 05:41 PM
Andy, no easy question, and prety much send some of us back to basics.. one have to take a deeper look at this command to barely get a good picture. See first link thread , good discussion on your question.. generaly no ip- route-catch improves performance for router forwarding processing desitions.
You can find more details on three types of switching methods such as ( fast switching by ip route catch command ), I believe it helps understand better the commands.
http://www.cisco.com/en/US/tech/tk827/tk831/technologies_white_paper09186a00800a62d9.shtml
Another instance where you would have IP route catch enable on an interface would be for the use of netflow, IP route-cacth command on an interface is requirement for implementing netflow .
Rgds
-Jorge
06-16-2008 08:03 AM
Jorge,
I really appreciate the response. I had problems with the reply so sorry if you get two :-)
You mention that 'no ip route-cache' improves the performance, but if 'no ip route-cache' forces the packets to be process switched I would have thought that this would have a detrimental affect.
I can see why 'no ip route-cache' would be configured if you want packet info i.e. if you were running a 'debug ip packet detail' - I'm trying to understand under what other scenarios you would configure 'no ip route-cache' under an interface.
Many thanks,
Andy
06-16-2008 08:58 AM
Andy, its mostly done due to bugs on Cisco IOS : ). When Cisco initially introdced DMVPN Phase 1 on IOS 12.2(X)T, it had a lot of bugs. Spoke to spoke tunneling required CEF to be disabled on spokes (the default on 12.2(x)T ) and sometimes even disable fast switching on the hub's tunnel interface. Now we live in the CEF age, and the days for fast switching, processing switching are past us. There are other similar reasons for disabling it, but pretty rare.
Regards
Farrukh
06-16-2008 09:46 AM
Farrukh,
Many thanks, disabling due to initial release bugs makes sense :-)
So if I'm reading this correctly, it sounds like it's best to leave CEF enabled on spokes and HUB as defaults will disable where required.
All the best,
Andy
06-16-2008 10:45 AM
Yes Andy your understanding is correct.
Regards
Farrukh
06-16-2008 11:30 AM
Jorge/Farrukh,
Again many thanks for taking the time to post.
All the very best,
Andy
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