cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
203
Views
2
Helpful
4
Replies

NETFLOW ON N5K vPC

motas
Level 1
Level 1

Hi, 

I want to configure netflow on N5K in two switches in vPC, follow the config:

feature netflow

flow record record_nf
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
collect counter bytes
collect counter packets

flow exporter exporter_nf
destination 10.0.1.254
source mgmt
transport udp 2055
version 9

flow monitor monitor_nf
record record_nf
exporter exporter_nf
cache timeout active 60


interface eth1/9
ip flow monitor monitor_nf input


In my example, i'm applyng on only one interface, but the environment has the need of exporter the traffic of all interfaces for remote collector, is this possible?

Applying on all interface has any impact for environment?

2 Accepted Solutions

Accepted Solutions

anpetit
Cisco Employee
Cisco Employee

Hello @motas , 
Hope you are doing well. 

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus5600/sw/system_management/7x/b_5600_System_Mgmt_Config_7x/m_6k_configuring_netflow.html

This guide is about Nexus 5600, in the section - Guidelines and Limitations for Netflow:
- The maximum number of supported NetFlow entries is 512,000.

- We recommend that you configure NetFlow on a maximum of 500 destination nodes. Each interface and module on which a particular VLAN is active is counted for the NetFlow scale. An example of a NetFlow scale scenario is as follows

- If ingress SVI is configured on a VLAN that is active on 3 interfaces in a single module, the NetFlow scale is 3.

Hope it helps. 
Kind Regards,

View solution in original post

anpetit
Cisco Employee
Cisco Employee

Hi @motas , 

Yes this should be the case following: Each interface and module on which a particular VLAN is active is counted for the NetFlow scale.

Hope it helps. 

Have a nice day.
Kind Regards,

View solution in original post

4 Replies 4

anpetit
Cisco Employee
Cisco Employee

Hello @motas , 
Hope you are doing well. 

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus5600/sw/system_management/7x/b_5600_System_Mgmt_Config_7x/m_6k_configuring_netflow.html

This guide is about Nexus 5600, in the section - Guidelines and Limitations for Netflow:
- The maximum number of supported NetFlow entries is 512,000.

- We recommend that you configure NetFlow on a maximum of 500 destination nodes. Each interface and module on which a particular VLAN is active is counted for the NetFlow scale. An example of a NetFlow scale scenario is as follows

- If ingress SVI is configured on a VLAN that is active on 3 interfaces in a single module, the NetFlow scale is 3.

Hope it helps. 
Kind Regards,

Hi @anpetit 

Thank you for anwser, so for example, if i configure on twenty interfaces and these interfaces has ten vlans on each, netflow total scale is 200 ?

Best Regards,

 

anpetit
Cisco Employee
Cisco Employee

Hi @motas , 

Yes this should be the case following: Each interface and module on which a particular VLAN is active is counted for the NetFlow scale.

Hope it helps. 

Have a nice day.
Kind Regards,

Hi @anpetit 

 

Thank you for help.

Regards,