Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:dpi:dpi_options:opt_statistics:statistics_settings [2026/02/03 13:57] – removed elena.krasnobryzh | en:dpi:dpi_options:opt_statistics:statistics_settings [2026/02/03 14:01] (current) – elena.krasnobryzh | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Set up NetFlow export by protocols, directions and billing ====== | ||
| + | {{indexmenu_n> | ||
| + | Changing the settings or disabling the option is done by editing | ||
| + | The configuration file is ''/ | ||
| + | <note warning> | ||
| + | ===== NetFlow on protocols ===== | ||
| + | IP address and NetFlow collector port number with statistics **by protocols**: | ||
| + | < | ||
| + | ===== NetFlow in directions ===== | ||
| + | IP address and NetFlow collector port number with statistics **by direction**: | ||
| + | < | ||
| + | |||
| + | Directions for which statistics and aggregation are collected: | ||
| + | < | ||
| + | * 1 - only for external autonomous systems (suitable for home operators, since there are no other autonomous systems on one side apart from the operator himself) | ||
| + | * 2 - only for internal autonomous systems | ||
| + | * 3 = 1 + 2 - suitable for transit operators, but since AS is an independent aggregation, | ||
| + | ===== NetFlow for billing ===== | ||
| + | IP address and NetFlow collector port number with **statistics for billing**, you need to allocate a separate collector so that the data is not mixed with other statistics: | ||
| + | < | ||
| + | <note important> | ||
| + | IPFIX does not transmit information about the host IP:port with which the subscriber exchanges information. </ | ||
| + | Determination of the format of the transmitted information: | ||
| + | < | ||
| + | * 0 - netflow_v5 (default) | ||
| + | * 1 - ipfix udp | ||
| + | * 2 - ipfix tcp | ||
| + | |||
| + | By default, the full amount of information transmitted, | ||
| + | < | ||
| + | In netflow, the TOS field of billing statistics transmits [[en: | ||
| + | |||
| + | ===== Sending template to IPFIX ===== | ||
| + | - The TCP.\\ Template transport protocol is sent once after the TCP session has been established. | ||
| + | - The UDP.\\ Template transport protocol is sent by default every 20 seconds. Adjusted by '' | ||
| + | |||
| + | ===== Example of configuration ===== | ||
| + | [[en: | ||