cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6634
Views
11
Helpful
2
Replies

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

regis.pierquin
Level 1
Level 1

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
Level 1
Level 1

 

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
Level 1
Level 1

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: