cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3606
Views
0
Helpful
5
Replies

route-cache

The_guroo_2
Level 2
Level 2

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

5 Replies 5

Edison Ortiz
Hall of Fame
Hall of Fame

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.

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

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

rajinikanth
Level 3
Level 3

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

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

Review Cisco Networking for a $25 gift card