NetFlow on a 2600 series

Hi, I am trying to get a NetFlow collector set up to receive NetFlow data from a Cisco 2600 series router. As you can see from the config below I have it set up to send to a NetFlow collector on port 2056. However there is very little NetFlow coming through to the collector, I did a tcpdump on its interface and a small numer of NetFlow packets are comming through.

I have read in places that the ip flow-export source should be set to loopback. Could this make a difference.

I have also enabled ip cef since I captured this config but it has made no difference.

Any suggestions greatly appreciated.

Thanks, Darragh

Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime service password-encryption ! hostname myrouter ! boot system flash c2600-i-mz_120-5_T1.bin

! ip subnet-zero ip flow-cache timeout active 1 ! ! ! process-max-time 200 ! interface FastEthernet0/0 ip address ip helper-address ip helper-address no ip directed-broadcast ip route-cache flow ! interface Serial0/0 description Serial0/0 fr dlci! : (bs657657) ip address no ip directed-broadcast encapsulation frame-relay ip route-cache flow no ip mroute-cache no keepalive no fair-queue cdp enable frame-relay class ToRemote

frame-relay interface-dlci 21 ! router bgp 65500 bgp log-neighbor-changes network mask redistribute static route-map cpe-static neighbor remote-as 5466 no auto-summary ! ip flow-export source FastEthernet0/0 ip flow-export version 5 peer-as ip flow-export destination 2056 ip classless ip route no ip http server ! ! mgt-lan seq 5 permit le 32 ! map-class frame-relay Connection frame-relay end-to-end keepalive mode passive-reply frame-relay traffic-rate 256000 256000 no frame-relay adaptive-shaping route-map cpe-static permit 10 match tag 1024 ! route-map cpe-static deny 20 ! route-map block-mgt-lan deny 10 match ip address prefix-list mgt-lan

Reply to
Darragh Delaney
Loading thread data ...

I have had this working with a very similar configuration to this exept that I was missing the "peer-as" bit.

As I understand it on a router such as a 2600 you /either/ have net-flow switching or CEF. If it is not working I would not turn on CEF. Having CEF on globally though may or may not affect netflow but I am pretty sure it will if you enable ip route-cache cef on the interfaces too.

I seem to recall that the data was not available as soon as I expected and it was only after I came back a bit later that I realised that it really was working. Give it some hours.

I fancy another look at this. I will give it a go.

Reply to
Bod43 Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.