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_ipfix [2025/09/11 12:31] – elena.krasnobryzh | en:dpi:dpi_options:opt_statistics:statistics_ipfix [2025/10/31 08:58] (current) – elena.krasnobryzh | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Configuring Full NetFlow | + | ====== Configuring Full NetFlow |
| {{indexmenu_n> | {{indexmenu_n> | ||
| - | NetFlow | + | |
| - | <code bash> | + | The '' |
| - | netflow_full_collector_type=1 | + | |
| - | </ | + | |
| * '' | * '' | ||
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| The '' | The '' | ||
| Line 13: | Line 11: | ||
| * '' | * '' | ||
| - | The '' | + | The '' |
| - | :!: Affects the parameters | + | :!: Affects the formation |
| Values that make up the mask: | Values that make up the mask: | ||
| + | * '' | ||
| * '' | * '' | ||
| * '' | * '' | ||
| * '' | * '' | ||
| * '' | * '' | ||
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| + | |||
| + | The '' | ||
| - | The following is an IPFIX (Netflow | + | <note tip> |
| + | IPFIX/ | ||
| + | The configuration parameter '' | ||
| + | If IPFIX/ | ||
| + | </ | ||
| - | ^ Export template for IPFIX format (Netflow v10) | + | <note tip>For receiving, processing, and storing |
| - | ^ № ^ Size ^ Type ^ IANA ^ Description | + | |
| - | | 1 | 8 | int64 | 0 | OCTET_DELTA_COUNT | + | |
| - | | 2 | 8 | int64 | 0 | PACKET_DELTA_COUNT | + | |
| - | | 4 | 1 | int8 | 0 | PROTOCOL_IDENTIFIER | + | |
| - | | 5 | 1 | int8 | 0 | IP_CLASS_OF_SERVICE | + | |
| - | | 7 | 2 | int16 | 0 | SOURCE_TRANSPORT_PORT | + | |
| - | | 8 | 4 | int32 | 0 | SOURCE_IPV4_ADDRESS | + | |
| - | | 11 | 2 | int16 | 0 | DESTINATION_TRANSPORT_PORT | + | |
| - | | 12 | 4 | int32 | 0 | DESTINATION_IPV4_ADDRESS | + | |
| - | | 16 | 4 | int32 | 0 | BGP_SOURCE_AS_NUMBER | + | |
| - | | 17 | 4 | int32 | 0 | BGP_DESTINATION_AS_NUMBER | + | |
| - | | 152 | 8 | int64 | 0 | FLOW_START_MILLISECOND | + | |
| - | | 153 | 8 | int64 | 0 | FLOW_END_MILLISECOND | + | |
| - | | 10 | 2 | int16 | 0 | INPUT_SNMP | + | |
| - | | 14 | 2 | int16 | 0 | OUTPUT_SNMP | + | |
| - | | 60 | 1 | int8 | 0 | IP_VERSION | + | |
| - | | 2000 | 8 | int64 | 43823 | SESSION_ID | + | |
| - | | 2001 | - | string | + | |
| - | | 2002 | 2 | int16 | 43823 | DPI_PROTOCOL | + | |
| - | | 2003 | - | string | + | |
| - | | 225 | 4 | int32 | 0 | POST_NAT_SOURCE_IPV4_ADDRESS | + | |
| - | | 227 | 2 | int16 | 0 | POST_NAPT_SOURCE_TRANSPORT_PORT | + | |
| - | | 2010 | 2 | int16 | 43823 | FRGMT_DELTA_PACKS | + | |
| - | | 2011 | 2 | int16 | 43823 | REPEAT_DELTA_PACK | + | |
| - | | 2012 | 4 | int32 | 43823 | PACKET_DELIVER_TIME | + | |
| - | | 2016 | 2 | int16 | 43823 | BRIDGE_CHANNEL_NUM | + | |
| - | | 6 | 2 | int16 | 0 | TCP_FLAGS | + | |
| - | | 58 | 2 | int16 | 0 | SRC_VLAN | + | |
| - | | 59 | 2 | int16 | 0 | DST_VLAN | + | |
| - | | 56 | 6 | mac_address | + | |
| - | | 57 | 6 | mac_address | + | |
| - | | 2017 | - | raw | 43823 | MPLS Lables | + | |
| - | | 132 | 8 | int64 | 0 | DROPPED_BYTES | + | |
| - | | 133 | 8 | int64 | 0 | DROPPED_PACKETS | + | |
| - | | 2019 | 1 | int8 | 43823 | originalTOS | + | |
| - | Below is an IPFIX export template for an IPv6 protocl for IPv6. | + | For collecting information in IPFIX format, any universal IPFIX collector that understands templates, or the [[en: |
| - | The following fields are missing from this template: ** // | + | |
| - | ^ Export | + | ===== Export Template in IPFIX Format (Netflow v10) for IPv4 Protocol ===== |
| - | ^ № ^ Num of bytes | + | ^ Export |
| - | | 27 | 16 | + | ^ № ^ Bytes ^ Data Type ^ IANA |
| - | | 28 | 16 | int128 | + | | 1 |
| + | | 2 | 8 | int64 | 0 | PACKET_DELTA_COUNT | ||
| + | | 4 | 1 | int8 | 0 | PROTOCOL_IDENTIFIER | ||
| + | | 5 | 1 | int8 | 0 | IP_CLASS_OF_SERVICE | ||
| + | | 7 | 2 | int16 | 0 | SOURCE_TRANSPORT_PORT | ||
| + | | 8 | 4 | int32 | 0 | SOURCE_IPV4_ADDRESS | ||
| + | | 11 | 2 | int16 | 0 | DESTINATION_TRANSPORT_PORT | ||
| + | | 12 | ||
| + | | 16 | ||
| + | | 17 | 4 | int32 | 0 | BGP_DESTINATION_AS_NUMBER | ||
| + | | 152 | 8 | int64 | 0 | FLOW_START_MILLISECOND | ||
| + | | 153 | 8 | int64 | 0 | FLOW_END_MILLISECOND | ||
| + | | 10 | 2 | int16 | 0 | INPUT_SNMP | ||
| + | | 14 | 2 | int16 | 0 | OUTPUT_SNMP | ||
| + | | 60 | 1 | int8 | 0 | IP_VERSION | ||
| + | | 2000 | 8 | int64 | 43823 | SESSION_ID | ||
| + | | 2001 | - | string | ||
| + | | 2002 | 2 | int16 | 43823 | DPI_PROTOCOL | ||
| + | | 2003 | - | string | ||
| + | | 225 | 4 | int32 | 0 | POST_NAT_SOURCE_IPV4_ADDRESS | ||
| + | | 227 | 2 | int16 | 0 | POST_NAPT_SOURCE_TRANSPORT_PORT | ||
| + | | 2010 | 2 | int16 | 43823 | FRGMT_DELTA_PACKS | ||
| + | | 2011 | 2 | int16 | 43823 | REPEAT_DELTA_PACK | ||
| + | | 2012 | 4 | int32 | 43823 | PACKET_DELIVER_TIME | ||
| + | | 2016 | 2 | int16 | 43823 | BRIDGE_CHANNEL_NUM | ||
| + | | 6 | 2 | int16 | 0 | TCP_FLAGS | ||
| + | | 58 | 2 | int16 | 0 | SRC_VLAN | ||
| + | | 59 | 2 | int16 | 0 | DST_VLAN | ||
| + | | 56 | 6 | mac_address | 0 | SRC_MAC | ||
| + | | 57 | 6 | mac_address | 0 | DST_MAC | ||
| + | | 2017 | - | raw | 43823 | MPLS Lables | ||
| + | | 132 | 8 | int64 | 0 | DROPPED_BYTES | ||
| + | | 133 | 8 | int64 | 0 | DROPPED_PACKETS | ||
| + | | 2019 | 1 | int8 | 43823 | originalTOS | ||
| - | <note tip>To collect, process | + | ===== Export Template in IPFIX Format (Netflow v10) for IPv6 Protocol ===== |
| + | The template is similar to IPv4 except that the following fields are absent:** // | ||
| - | For extended information in IPFIX format can be used any universal IPFIX collector, | + | ^ Export Template |
| + | ^ № ^ Bytes ^ Data Type ^ IANA ^ Description | ||
| + | | 27 | 16 | int128 | ||
| + | | 28 | 16 | int128 | ||