cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1524
Views
0
Helpful
2
Replies

NetFlow Layer2 on nexus 7k

bortnichie
Level 1
Level 1

Hi All

I configured netflow on Nexus 7000 but I am not receiving any netflow traffic.

I followed a configuration guide, and even found an older blog on this issue but I am still stuck.  Please help.

Here is my config:

 

flow exporter TestFlow
  destination x.x.x.x
  transport udp 10021
  source loopback0
  version 5
!
flow record TestFlowRecord
  match datalink mac destination-address
  match datalink vlan
  match datalink ethertype
  collect counter bytes
  collect flow sampler id
!
sampler TestSampler
  mode 1 out-of 100
!
flow monitor NetflowMon
  record TestFlowRecord
  exporter TestFlow
!
int po101
switchport
switchport mode trunk
mac packet-classify
layer2-switched flow monitor NetflowMon input sampler TestSampler

!
!END

 

does anyone have any idea?

 

thank you

2 Replies 2

bortnichie
Level 1
Level 1

Actually, this works!  Not sure why it took a while for it to "kick in"but it works

 

 

For future reference on how to enable NetFlow on the Cisco Nexus 7K: https://www.plixer.com/blog/netflow-configuration/nexus-7000-netflow-support/ 

 

It explains the flexible NetFlow configuration and how to setup sampling.  

Review Cisco Networking products for a $25 gift card