10-12-2006 06:47 PM - edited 03-05-2019 12:13 PM
why we use ip route-cache ....command what is its purpose and why we normally disable it with no ip route-cache.....thanks in advance
10-12-2006 07:03 PM
ip route-cache enables fast switching on an interface while no ip route-cache enables process switching.
There are times when process switching is needed for full packet inspection.
10-12-2006 09:12 PM
thanks for your help guys but can u plz explain whast the difference between fast switching and nrmal swiches....like some senario based if possible........cheers and when it is needed
10-13-2006 06:59 AM
I guess our words were not enough ? :)
Here is Cisco's response
http://www.cisco.com/warp/public/105/20.html
____
Please rate helpful posts.
Thanks
10-12-2006 07:58 PM
Hi,
In addition to the previous posts..
Process switching forces the router to look in the routing table for the destination network of each routed packet. In contrast, fast switching performs a table lookup for the first packet only.
The router then stores the result in a high speed cache and uses the cached information to forward
all additional packets to the same destination.
Fast switching is the default setting. So we use the no ip route-cache command to make it perform as process switching.
Hope this helps you,
Thanks
Raj
10-12-2006 08:18 PM
Hi,
You can also use this command on Interface for Network Monitoring or Network Managament.
You can configure Cisco IOS netflow using command Ip route-cache flow on an interface
You can see output of it using Sh ip cache flow which will display Source IP address, Destination IP address, Src port, Destination Port, packets/flow etc. This is a useful tool for monitoring your bandwidth utliation by diiferent protocols
As mantioned above this is enabled for fast switching
Pls rate if helpful
Cheers
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