From: David Ankers (d.ankers@xxxxxxxxx)
Date: Sat Feb 10 2001 - 00:26:15 GMT-3
Darren,
What model and IOS revision is this router on, this matters. Without this,
it's very difficult to answer with any degree of certainty. Why are you not
running CEF? Without knowing this I can tell you one thing: Flow switching
will be used ONLY for data collection if if policy switching is already
enabled, same thing goes for CEF. Your config below will given the correct
router and IOS will fast switch.
To answer your question: If another switching method (pref CEF) is already
enabled on an interface and you add flow switching it will not use flow
switching except for accounting, that why the IOS shows you to switching
methods on the interface instead of over wrtting the old one. You can't use
flow accounting without ip route-cache flow.
D.
On Friday 09 February 2001 23:30, you wrote:
> Hi All,
>
> Another silly question....
>
> Can you have Netflow Accounting without using ip route-cache flow ?
>
> Reason is as per my last e-mail about fast switching policy routing and
> the answer I got back from Kyle was that you needed to enable 'ip
> route-cache policy' on the interface that the policy was applied.
>
> I tried on a Lab router and it accepted both but I don't quite
> understand how things will work?
>
> Essentially I want to ensure that Netflow and Policy works but fast
> switches for traffic.
>
> Taking the config below apply fast switched policy routing to certain
> traffic matching list ADDRESSES and all other traffic fast flow
> switched. Netflow accounting is to be used.
>
> !
> ip cef
> !
> interface Hssi1/0
> ip address 10.1.0.2 255.255.255.0
> ip route-cache policy
> ip route-cache flow
> ip policy route-map HSSI-Policy
> !
> route-map HSSI-Policy permit 10
> match ip address ADDRESSES
> set ip next-hop 10.2.1.2
> !
> ip flow-export version 5 origin-as
> ip flow-export destination 10.3.1.3 2054
> !
>
> Darren
>
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:28:44 GMT-3