Netflow "Protocol for record and monitor do not match" error. Configuring Netflow on Nexus for VRFs, VLANs, and L3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2020 10:21 AM - edited 02-09-2020 11:23 AM
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
- Labels:
-
LAN Switching
-
Other Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 10:14 AM
I have the same problem too in Cisco Nexus 9K. Please your help
ERROR: Protocol for record and monitor do not match
This is my config
flow exporter ee
destination 10..x.x.x
transport udp 9997
source Vlan521
version 9
template data timeout 20
flow record rr
match ipv4 source address
match ipv4 destination address
match ip protocol
match transport source-port
match transport destination-port
collect counter bytes long
collect counter packets long
collect ip version
flow monitor foo
record rr
exporter ee
