10-18-2023 07:26 AM
Hello.
When I try to add the below NetFlow config to either a switchport interface (ip not enabled), or a vlan interface, i receive the below error...
---
3850STACK(config-if)#Ip flow monitor MONITOR-1 output
% Flow Monitor: Failed to add monitor to interface: Unsupported non-key field "interface output" for ip traffic in Output direction
---
Maybe i need a layer 3 physical interface here? Or not? (If I do need a L3 interface, I would need to travel to the datacenter to add cables to a new port-- not appealing.)
I expect (and hope) that my config (below) is not satisfactory.
QUESTION: What must i do to solve this error symptom?
Thank you.
---
3850STACK#sh ver
Cisco IOS XE Software, Version 16.12.08
Cisco IOS Software [Gibraltar], Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 16.12.8, RELEASE SOFTWARE (fc1)
---
3850STACK#sh run | b flow record
flow record FLOW-RECORD-1
match ipv4 source address
match ipv4 destination address
match ipv4 protocol
match transport source-port
match transport destination-port
collect interface output
collect counter bytes long
collect counter packets long
collect timestamp absolute first
collect timestamp absolute last
!
flow exporter EXPORTER-1
destination 192.168.0.1
source Vlan77
transport udp 777
template data timeout 60
option application-table timeout 60
option application-attributes timeout 300
!
flow monitor MONITOR-1
exporter EXPORTER-1
cache timeout active 60
record FLOW-RECORD-1
10-18-2023 08:47 AM - edited 10-18-2023 08:48 AM
Hello @jmaxwellUSAF,
Please refer here
https://community.cisco.com/t5/network-management/flexible-netflow-configuration/td-p/3959538
Also here:
https://pitstop.manageengine.com/portal/en/community/topic/failed-to-netflow-v9-on-cat3850-device
10-18-2023 09:10 AM
have you looked to netflow limitation on IOS XE :
as i tested some time back 16.12.X it never worked on Layer 2 - Personally believe you need Laery 3 VLAN to work.
I will confirm my notes later with exampl :
can you also share interface config
show run interface x/x
Cat 9300 17.X version support Layer 2
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