cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2253
Views
0
Helpful
4
Replies

Netflow

robin.disla
Level 1
Level 1

I need help with the following error I'm configuring netflow in my network and when I assigned the configuration in the interface it shows me the following % Flow Monitor: Failed to add monitor to interface: internal error: field information missing

4 Replies 4

marce1000
VIP
VIP

 

 - Post the configuration commands which you tried for Netflow on the particular interface. Also include switch model and software version.

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Hello,

 

I have the next information.

 

1. what is the device model

 

Cisco Catalyst 9500-40X

 

2. IOS/NXOS code version

 

ios-xe version 16.09.02

 

3. your netflow configuration.

 

flow record HIT-NET-IN
match flow direct
match ipv4 tos
match transport destination-port
match transport source-port
collect counter bytes long
collect counter packets long
collect interface output
collect application dns domain-name

flow record HIT-NET-OUT
match flow direction
match interface output
match ipv4 destination address
match ipv4 protocol
match ipv4 source address
match ipv4 tos
match transport destination-port
match transport source-port
collect counter bytes long
collect counter packets long
collect interface input
collect application dns domain-name

*****************************************

flow exporter HIT-NET
source vlan X
destination X.X.X.X
transport udp 2055
export-protocol netflow-v9

***************************************

flow monitor Netflow-Monitor-In
exporter HIT-NET
cache timeout inactive 10 
cache timeout active 60 
record HIT-NET-IN

flow monitor Netflow-Monitor-Out 
exporter HIT-NET 
cache timeout inactive 10 
cache timeout active 60 
record HIT-NET-OUT

*********************************

The error  is in this part.

 

interface ten1/0/5

ip flow monitor Netflow-Monitor-In input

% Flow Monitor: Failed to add monitor to interface: internal error: field information missing
ip flow monitor Netflow-Monitor-Out output

Hello Robin,

have you enabled IPv4 routing on yur device?

according to configuration guide

IPv4 Traffic

  • The networking device must be configured for IPv4 routing.

  • One of the following must be enabled on your device and on any interfaces on which you want to enable Flexible NetFlow: Cisco Express Forwarding or distributed Cisco Express Forwarding.

see

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9400/software/release/16-6/configuration_guide/nmgmt/b_166_nmgmt_9400_cg/b_166_nmgmt_9400_cg_chapter_0111.html#reference_FB2AAC4511A140CEBC384F64F86F4DCC

 

There is also a list of Restrictions for Flexible netflow.

It is only the ingress netflow command rejected or both ?

If only the ingress direction fails Something in the flow record definition is missing.

 

Hope to help

Giuseppe

 

Duplicate post

BB

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

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card