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

Nexus 7K(6.2.8a) F2 and Netflow

1368680816
Level 1
Level 1

The device version is 6.2.8A, SUP1, F2line cards, and now netflow is collected, but the device only emits template packets, no data packets, is that the reason for the version?

flow timeout active 60
flow timeout fast 32 threshold 100
flow timeout session
flow timeout aggressive threshold 75
flow exporter NFAExporter
  destination x.x.x.x
  transport udp 9999
  source port-channel5
  version 9
    template data timeout 60
    option exporter-stats timeout 60
    option sampler-table timeout 60
sampler NFAsampler
  mode 1 out-of 100
flow monitor NFAmonitor
  record netflow-original
  exporter NFAExporter
interface Ethernet1/x
  ip flow monitor NFAmonitor input sampler NFAsampler
4 Replies 4

M02@rt37
VIP
VIP

Hello @1368680816 

Please verify that the device has enough resources (CPU, memory) to handle NetFlow data generation. Sometimes, if the device is under heavy load, it may prioritize template packets over data packets.

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Low CPU and memory usage

show system resources
Load average:   1 minute: 0.27   5 minutes: 0.21   15 minutes: 0.18
Processes   :   432 total, 2 running
CPU states  :   1.00% user,   4.00% kernel,   95.00% idle
        CPU0 states  :   2.00% user,   8.00% kernel,   90.00% idle
        CPU1 states  :   0.00% user,   0.00% kernel,   100.00% idle
Memory usage:   8260668K total,   2668612K used,   5592056K free
Current memory status: OK

balaji.bandi
Hall of Fame
Hall of Fame

 

interface Ethernet1/x
  ip flow monitor NFAmonitor input sampler NFAsampler

 

is this layer 3 interface - can you post show run inteface ethe1/X full configuration.

can you also post below output :

show process cpu sorted | ex 0.00

show flow record xxxxxxxxx
show flow monitor standard_v9netflow statistics
show flow monitor standard_v9netflow cache

below example i have tested with nexus 7K

https://www.balajibandi.com/?p=706

BB

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

How to Ask The Cisco Community for Help

interface Ethernet1/47
description xxxx
speed 1000
duplex full
ip access-group acl_in in
ip flow monitor NFAmonitor input sampler NFAsampler
ip address x.x.x.x/30
no shutdown
show flow record netflow-original
Flow record netflow-original:
Description: Traditional IPv4 input NetFlow with origin ASs
No. of users: 1
Template ID: 256
Fields:
match ipv4 source address
match ipv4 destination address
match ip protocol
match ip tos
match transport source-port
match transport destination-port
match interface input
match interface output
match flow direction
collect routing source as
collect routing destination as
collect routing next-hop address ipv4
collect transport tcp flags
collect counter bytes
collect counter packets
collect timestamp sys-uptime first
collect timestamp sys-uptime last
show flow exporter NFAExporter
Flow exporter NFAExporter:
Destination: x.x.x.x
VRF: default (1)
Destination UDP Port 9999
Source Interface port-channel5 (x.x.x.x)
Export Version 9
Sampler-table timeout 60 seconds
Exporter-stats timeout 60 seconds
Data template timeout 60 seconds
Exporter Statistics
Number of Flow Records Exported 4711
Number of Templates Exported 9423
Number of Export Packets Sent 14134
Number of Export Bytes Sent 1432220
Number of Destination Unreachable Events 0
Number of No Buffer Events 0
Number of Packets Dropped (No Route to Host) 0
Number of Packets Dropped (other) 0
Number of Packets Dropped (LC to RP Error) 0
Number of Packets Dropped (Output Drops) 0
Time statistics were last cleared: Never
show flow monitor NFAmonitor
Flow Monitor NFAmonitor:
Use count: 1
Flow Record: netflow-original
Flow Exporter: NFAExporter
show flow monitor NFAmonitor cache detailed
Nothing
show hardware flow ip

slot 1
=======


slot 10
=======
show hardware flow utilization

slot 1
=======

Flow Utilization: 0.0 % (0/524288)
NDE Threshold Level: 1

Total number of flows = 0
IPv4 flow creation failure = 0
IPv6 flow creation failure = 0
MPLS flow creation failure = 0
L2 flow creation failure = 0
IFE flow creation failure = 0
OFE flow creation failure = 0