04-14-2015 12:57 PM
Hi,
I am trying to configure netflow on a 7606 Version 12.2(18)SXF17a
I am receiving an invalid input. Has anyone experienced the same and what am I missing?
Thank you
Router(config-if)#ip flow ingress
^
% Invalid input detected at '^' marker.
Solved! Go to Solution.
04-16-2015 09:52 AM
Have you tried "ip route-cache flow" instead? "ip flow ingress" might have come after 12.2 releases. And make sure you have a similar config for the 7600 series:
mls netflow // This enables NetFlow on the Supervisor.
mls nde sender version 7
mls aging long 64 // This breaks up long-lived flows into (roughly) one-minute segments.
mls aging normal 32 // This ensures that flows that have finished are exported in a timely manner.
If you have Supervisor Engine 32 or 720, you need to execute the below two commands to put the interface information in the netflow packets.
mls flow ip interface-full
mls nde interface
The next two commands will help to enable NetFlow data export for bridged traffic which is optional. You can specify the list of VLANs here to enable bridged traffic.
ip flow ingress layer2-switched vlan <vlanlist>
ip flow export layer2-switched vlan <vlanlist>
Apart from this, please add the following commands on the router to enable netflow data export:
ip route-cache flow // Apply on all the L3/VLAN interfaces
And from the global mode:
ip flow-export destination ip_address 2055 // IP address of the netflow traffic analyzer server
ip flow-export source {interface} // Interface that has a route to the destination IP
ip flow-export version 5
ip flow-cache timeout active 1
ip flow-cache timeout inactive 15
snmp-server ifindex persist
Regards,
Don Jacob
http://www.solarwinds.com/netflow-traffic-analyzer.aspx
PS: Dont forget to rate and close helpful answers.
04-16-2015 09:52 AM
Have you tried "ip route-cache flow" instead? "ip flow ingress" might have come after 12.2 releases. And make sure you have a similar config for the 7600 series:
mls netflow // This enables NetFlow on the Supervisor.
mls nde sender version 7
mls aging long 64 // This breaks up long-lived flows into (roughly) one-minute segments.
mls aging normal 32 // This ensures that flows that have finished are exported in a timely manner.
If you have Supervisor Engine 32 or 720, you need to execute the below two commands to put the interface information in the netflow packets.
mls flow ip interface-full
mls nde interface
The next two commands will help to enable NetFlow data export for bridged traffic which is optional. You can specify the list of VLANs here to enable bridged traffic.
ip flow ingress layer2-switched vlan <vlanlist>
ip flow export layer2-switched vlan <vlanlist>
Apart from this, please add the following commands on the router to enable netflow data export:
ip route-cache flow // Apply on all the L3/VLAN interfaces
And from the global mode:
ip flow-export destination ip_address 2055 // IP address of the netflow traffic analyzer server
ip flow-export source {interface} // Interface that has a route to the destination IP
ip flow-export version 5
ip flow-cache timeout active 1
ip flow-cache timeout inactive 15
snmp-server ifindex persist
Regards,
Don Jacob
http://www.solarwinds.com/netflow-traffic-analyzer.aspx
PS: Dont forget to rate and close helpful answers.
08-21-2015 02:04 PM
These commands did not work. How do you apply them? Int, vlan, global config.
can you show an example? Thank you very much.
The next two commands will help to enable NetFlow data export for bridged traffic which is optional. You can specify the list of VLANs here to enable bridged traffic.
ip flow ingress layer2-switched vlan <vlanlist>
ip flow export layer2-switched vlan <vlanlist>
Apart from this, please add the following commands on the router to enable netflow data export:
ip route-cache flow // Apply on all the L3/VLAN interfaces
08-21-2015 02:25 PM
Okay I think I got it..
Router# config t
Router(config)# int vlanXX
Router(config-if)# ip route-cache flow
08-25-2015 12:19 AM
Ah awesome to see that you got it working. Sorry I was late to get back in here.
R,
Don Jacob
www.solarwinds.com
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide