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

route-cache

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
Hall of Fame Super Bronze

Re: route-cache

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.

New Member

Re: route-cache

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

Hall of Fame Super Bronze

Re: route-cache

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

Bronze

Re: route-cache

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

New Member

Re: route-cache

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

648
Views
0
Helpful
5
Replies
CreatePlease login to create content