Ip route-cache flow

Unanswered Question
Jul 11th, 2008

what is this command? and why we need?also

ip route-cache policy

what is this command?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
rajeev.payal Fri, 07/11/2008 - 23:23

ip route-cache flow command is used to enable netflow statistics in the switch.

This command will be available only when you have a netflow card in your Switch/Router.By default ,it comes in SUP-720 3B XL

ip route-cache policy command in used to enable fast switching.This is mostly used in policy based routing.It is not required when CEF is enabled.

You can see the output in your device as:

7609-BBR1(config-if)#ip route-cache ?

cef Enable Cisco Express Forwarding

flow Enable Flow fast-switching cache

policy Enable fast-switching policy cache for outgoing packets

same-interface Enable fast-switching on the same interface

Do rate helpfull posts!!

Rajeev Payal

Network Engineer

HCL Infosystems Ltd.

mohammedmahmoud Sat, 07/12/2008 - 01:09


Generally speaking (Rajeev, enabling netflow on traditional routers doesn't require any netflow cards).

ip route-cache flow: Enables NetFlow accounting (ingress) for packets that are received by the interface.

ip route-cache policy: Enables fast-switching for packets that are forwarded using Policy Based Routing (PBR) - Not required if CEF is enabled, since modern IOS codes do PBR in CEF - No special configuration is required to enable CEF-switched PBR, it is on by default since IOS 12.0 as soon as you enable CEF and PBR on the router.

NOTE The ip route-cache command with no additional keywords enables fast switching.


Mohammed Mahmoud.


This Discussion