I am trying to configure Netflow to monitor L3, and L3 VRf and VLAN traffic on a NX-OSv in VIRL. I get the following ""Protocol for record and monitor do not match" error when entering "layer2-switched flow monitor flowmon1 input" command under a interface assigned to a vlan.
Also on another note, if I have VRFs is configuring Netflow to export data and/or use all Netflow comms using let's say mgmt vrf ok in terms of not sharing information between the vrfs as of course I don't want vrf talking to each other and totally separate. This would apply to using SNMP let's say to export to Solarwinds as well.
Here are my Netflow configs:
CE_Sw1# sh run | section flow
feature netflow
flow exporter flowex1
description exportversion9
destination 192.0.2.1
transport udp 200
source Ethernet2/1
version 9
template data timeout 1200
option exporter-stats timeout 1200
flow record TEST
description IPv4Flow
match ipv4 destination address
match ip protocol
match ip tos
match transport destination-port
collect transport tcp flags
collect counter bytes
collect counter packets
collect timestamp sys-uptime last
collect ip version
flow record TEST_l2record
match datalink ethertype
flow monitor flowmon1
description IPv4Mon
record TEST
exporter flowex1
interface vlan 11
ip flow monitor flowmon1 input