11-20-2017 08:54 AM - edited 03-08-2019 12:48 PM
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
11-20-2017 10:54 AM
Actually, this works! Not sure why it took a while for it to "kick in"but it works
11-21-2017 12:46 AM
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.
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