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

3850 stack- Unable to apply NetFlow to output interface. Please help?

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

2 Replies 2

M02@rt37
VIP
VIP

balaji.bandi
Hall of Fame
Hall of Fame

have you looked to netflow limitation on IOS XE :

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/fnetflow/configuration/xe-16-12/fnf-xe-16-12-book/fnf-l2-fields.html

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

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help