nfreplay (1) Linux Manual Page
NAME
nfreplay – netflow replay program
SYNOPSIS
-
nfreplay [options] [filter]
DESCRIPTION
nfreplay
OPTIONS
-Hremotehost- Send all flows to this remote host. Accepts a symbolic name or a IPv4/IPv6 IP address. Defaults to IPv4 localhost 127.0.0.1.
-jmcastgroup- Join this multicast group and send all flows to this group host. Accepts a symbolic name or multicast IPv4/IPv6 IP address.
-pport- Send all flows to this port on the remote side. Default is 9995.
-4- Forces nfreplay to send flows to a IPv4 address only. Can be used together with -i if the remote host has an IPv4 and IPv6 address record.
-6- Forces nfreplay to send flows to a IPv6 address only. Can be used together with -i if the remote host has an IPv4 and IPv6 address record.
-vnum- Send flows as netflow version num.
5and9are supported. The default is sending the flows as netflow version 5. In version 5 mode, IPv6 flows, are skipped and 64bit counters are truncated to 32bit. -dusec- Delay each record by usec mirco seconds, to avoid overrun on the remote side. Default is 10.
-bbuffersize- Set send buffer size in bytes. Useful for large data to transfer. Default is system dependent.
-rinputfile- Read input data from inputfile. Default is read from stdin.
-ttimewin- Send only flows, which fall in the time window timewin, where timewin is YYYY/MM/dd.hh:mm:ss[-YYYY/MM/dd.hh:mm:ss]. Any parts of the time spec may be omitted e.g YYYY/MM/dd expands to YYYY/MM/dd.00:00:00-YYYY/MM/dd.23:59:59 and sends all flow from a given day.
-cnum- Limit number of records to send to the first num flows.
-V- Print nfreplay version and exit.
-h- Print help text on stdout with all options and exit.
RETURN VALUE
Returns
-
0 No error.
255 Initialization failed.
254 Error in filter syntax.
250 Internal error.
NOTES
SEE ALSO
nfcapd(1), nfdump(1), nfprofile(1)
