cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Join Customer Connection to register!
3586
Views
10
Helpful
2
Replies
regis.pierquin
Beginner

Error: "% Flow Record: Failed to field add: Failed to validate Unsetting Public:behaviour" when adding "collect interface output" on netflow config

Hi,

 

When trying to add this netflow config, I get an error on the last line "collect interface output":

 

Config:

flow record MY-RECORD
description MY Flow Record
match routing vrf input
match ipv4 tos
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
match interface input
match interface output
match flow direction
collect ipv4 dscp
collect counter bytes
collect counter packets
collect interface output

 

Error:

 collect interface output

% Flow Record: Failed to field add: Failed to validate Unsetting Public:behaviour

 

The same happens when I try to add "collect interface input"

 

2 REPLIES 2
johnsmunoz
Beginner

 

You probably have a flow monitor setup somewhere with a line

record MY-RECORD

 

try doing a 

NO record MY-RECORD

 

add then do a 

collect interface output

 

and then re-enable the flow record.  at least that's what worked for me. 

 

steveng777
Beginner

It looks like match "interface input/output" are mutually exclusive with "collect interface input/output". You can only have one in the flow record block. At least what's what I noticed.

Content for Community-Ad