cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2353
Views
5
Helpful
4
Replies

Netflow on 7600 Invalid Input command

loumorones
Level 1
Level 1

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.

 

1 Accepted Solution

Accepted Solutions

Don Jacob
Level 1
Level 1

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.

Regards, Don Thomas Jacob http://www.solarwinds.com/netflow-traffic-analyzer.aspx Head Geek @ SolarWinds NOTE: Please rate and close questions if you found any of the answers helpful.

View solution in original post

4 Replies 4

Don Jacob
Level 1
Level 1

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.

Regards, Don Thomas Jacob http://www.solarwinds.com/netflow-traffic-analyzer.aspx Head Geek @ SolarWinds NOTE: Please rate and close questions if you found any of the answers helpful.

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

Okay I think I got it..

Router# config t

Router(config)# int vlanXX

Router(config-if)# ip route-cache flow

 

 

 

 

 

Ah awesome to see that you got it working. Sorry I was late to get back in here.

R,

Don Jacob

www.solarwinds.com

Regards, Don Thomas Jacob http://www.solarwinds.com/netflow-traffic-analyzer.aspx Head Geek @ SolarWinds NOTE: Please rate and close questions if you found any of the answers helpful.

Review Cisco Networking for a $25 gift card