cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7432
Views
15
Helpful
3
Replies

Ip route-cache flow

vinothlb1
Level 1
Level 1

what is this command? and why we need?also

ip route-cache policy

what is this command?

3 Replies 3

rajeev.payal
Level 1
Level 1

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.

Hi,

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.

BR,

Mohammed Mahmoud.


 

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

 


...and all subinterfaces of that interface.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card