• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 268
  • Last Modified:

Cisco Flexible Netflow Question

Hello experts,

I'm in the process of configuring netflow on our Nexus 7K. I have read articles which suggest that I need to add the following command to every single interface

ip flow monitor 'flowname' input

Now we have the following interfaces:

IP Interface Status for VRF "default"(1)
Interface            IP Address      Interface Status
Vlan51               10.44.248.25    protocol-up/link-up/admin-up      
Vlan53               10.44.248.41    protocol-up/link-up/admin-up      
Vlan201              10.50.16.3      protocol-up/link-up/admin-up      
Vlan202              10.50.17.3      protocol-up/link-up/admin-up      
Vlan203              10.50.18.3      protocol-up/link-up/admin-up      
Vlan204              10.50.19.3      protocol-up/link-up/admin-up      
Vlan205              10.50.20.3      protocol-up/link-up/admin-up      
Vlan206              10.50.21.3      protocol-up/link-up/admin-up      
Vlan207              10.50.22.3      protocol-up/link-up/admin-up      
Vlan208              10.50.23.3      protocol-up/link-up/admin-up      
Vlan209              10.50.24.3      protocol-up/link-up/admin-up      
Vlan210              10.50.25.3      protocol-up/link-up/admin-up      
Vlan211              10.50.26.3      protocol-up/link-up/admin-up      
Vlan212              10.50.27.3      protocol-up/link-up/admin-up      
Vlan213              10.50.28.3      protocol-up/link-up/admin-up      
Vlan214              10.50.29.3      protocol-up/link-up/admin-up      
Vlan215              10.50.30.3      protocol-up/link-up/admin-up      
Vlan216              10.50.31.3      protocol-up/link-up/admin-up      
Vlan219              10.50.34.3      protocol-up/link-up/admin-up      
Vlan220              10.50.35.3      protocol-up/link-up/admin-up      
Vlan221              10.50.36.3      protocol-up/link-up/admin-up      
Vlan222              10.50.37.3      protocol-up/link-up/admin-up      
Vlan223              10.50.38.3      protocol-up/link-up/admin-up      
Vlan401              10.50.80.3      protocol-up/link-up/admin-up      
Vlan402              10.50.81.3      protocol-up/link-up/admin-up      
Vlan403              10.50.82.3      protocol-up/link-up/admin-up      
Vlan404              10.50.83.3      protocol-up/link-up/admin-up      
Vlan405              10.50.84.3      protocol-up/link-up/admin-up      
Vlan501              10.50.96.3      protocol-up/link-up/admin-up      
Vlan502              10.50.97.3      protocol-up/link-up/admin-up      
Vlan503              10.50.98.3      protocol-up/link-up/admin-up      
Vlan601              10.50.128.3     protocol-up/link-up/admin-up      
Vlan602              10.50.129.3     protocol-up/link-up/admin-up      
Vlan603              10.50.130.3     protocol-up/link-up/admin-up      
Vlan604              10.50.131.3     protocol-up/link-up/admin-up      
Vlan605              10.50.132.3     protocol-up/link-up/admin-up      
Vlan606              10.50.133.3     protocol-up/link-up/admin-up      
Vlan607              10.50.134.3     protocol-up/link-up/admin-up      
Vlan608              10.50.135.3     protocol-up/link-up/admin-up      
Vlan609              10.50.136.3     protocol-up/link-up/admin-up      
Vlan610              10.50.137.3     protocol-up/link-up/admin-up      
Vlan611              10.50.138.3     protocol-up/link-up/admin-up      
Vlan612              10.50.139.3     protocol-up/link-up/admin-up      

Should I really be adding the command to every interface here?

Also, when configuring the 'netflow exporter', can someone tell me what is the best practice when selecting the source interface through which NetFlow packets are exported?

Cheers

Carlton
0
cpatte7372
Asked:
cpatte7372
  • 3
  • 3
1 Solution
 
Jan SpringerCommented:
for every interface that you want to capture packets, yes.

i use either a loopback interface (preferred) or the interface on the router for the servers.
0
 
cpatte7372Author Commented:
Jesper,

It was suggested, to apply the command on all interfaces with an ip address - whether you wish to capture packets on the interface or not.....!
0
 
Jan SpringerCommented:
I put that command on all layer 3 interfaces that I want to capture.  Putting it on your external interfaces and only some of your internal interfaces will result in lop-sided data but it's really all about what you want to see.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
cpatte7372Author Commented:
Jesper,

I know its wrong to monitor both input and output on the same interface, but I can't explain it.

Can you explain why we shouldn't put both input and output on same interface. The same principle as if putting ingress and egress on the same interface...
0
 
Jan SpringerCommented:
It's not wrong -- it's just that (at least with Cisco and Brocade), you can only monitor traffic coming into the interfaces.

So, if you want to know all detail with regard to some subset (or all) of your address space, you have to monitor the input of both downstream and upstream to get a clear 2-way traffic pattern picture.
0
 
cpatte7372Author Commented:
Cheers
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now