2
3
4
6 flow-gen — Generate test flows
7
9 flow-gen [-h] [-b big|little] [-d debug_level] [-n count] [-V ver‐
10 sion] [-z z_level]
11
13 The flow-gen utility generates a test pattern of flows in any of the
14 currently supported export versions typically for debugging purposes.
15
17 -b big|little
18 Byte order of output.
19
20 -d debug_level
21 Enable debugging.
22
23 -h Display help.
24
25 -n count Generate count flows. Default 1000.
26
27 -V version
28 Generate version type exports. Supported versions are:
29
30 1 NetFlow version 1 (No sequence numbers, AS, or mask)
31 5 NetFlow version 5
32 6 NetFlow version 6 (5+ Encapsulation size)
33 7 NetFlow version 7 (Catalyst switches)
34 8.1 NetFlow AS Aggregation
35 8.2 NetFlow Proto Port Aggregation
36 8.3 NetFlow Source Prefix Aggregation
37 8.4 NetFlow Destination Prefix Aggregation
38 8.5 NetFlow Prefix Aggregation
39 8.6 NetFlow Destination (Catalyst switches)
40 8.7 NetFlow Source Destination (Catalyst switches)
41 8.8 NetFlow Full Flow (Catalyst switches)
42 8.9 NetFlow ToS AS Aggregation
43 8.10 NetFlow ToS Proto Port Aggregation
44 8.11 NetFlow ToS Source Prefix Aggregation
45 8.12 NetFlow ToS Destination Prefix Aggregation
46 8.13 NetFlow ToS Prefix Aggregation
47 8.14 NetFlow ToS Prefix Port Aggregation
48 1005 Flow-Tools tagged version 5
49
50 -z z_level
51 Configure compression level to z_level. 0 is disabled (no
52 compression), 9 is highest compression.
53
55 Generate a test pattern of 1000 version 5 flows and send them in the
56 Cisco NetFlow packet format to 10.0.0.1 port 9500.
57
58 flow-gen -V5 | flow-send 0/10.0.0.1/9500
59
61 The test pattern may change between releases.
62
64 Mark Fullmer maf@splintered.net
65
67 flow-tools(1)
68
69
70
71 flow-gen(1)