04-11-2008 08:56 PM - edited 03-03-2019 09:31 PM
I am a little confused. Seems by default most interfaces on a router are set for fast switching. What is the difference between cef and fast switching.
What do the following commands do:
ip route-cache cef
ip route-cache
Why would you not want cef/fast-switching?
Solved! Go to Solution.
04-11-2008 09:12 PM
In short, route-cache keeps a traffic-drive cache of most used destinations, that is aged periodically and doesn't really take much memory. CEF instead builds a table for all the destinations using prefix-based algorithm (Patricia trees) that you can search about.
The reason you disable that, is because certain features (less and less, but still there are some) don't work unless you do that and fail silently.
Hope this helps, please rate post if it does!
04-11-2008 09:12 PM
In short, route-cache keeps a traffic-drive cache of most used destinations, that is aged periodically and doesn't really take much memory. CEF instead builds a table for all the destinations using prefix-based algorithm (Patricia trees) that you can search about.
The reason you disable that, is because certain features (less and less, but still there are some) don't work unless you do that and fail silently.
Hope this helps, please rate post if it does!
04-11-2008 09:14 PM
Is one of those cases to disable cef when you are doing vpn tunnels on a router?
I assume by your help earlier that cef is the way to go if it's a beefy router?
04-11-2008 09:30 PM
cef works in most cases of vpn/tunnels. If you want to see how much of you traffic is cef switch and how much is process, do "show interface switching".
A beefy router is needed every time traffic demands is enough. CEF is a must for any more than just moderate traffic.
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