IPFIX Export Template Formats from FastRADIUS [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:dpi:dpi_components:radius:radmon_acct_ipfix [2024/09/26 15:29] – created - external edit 127.0.0.1en:dpi:dpi_components:radius:radmon_acct_ipfix [2025/04/11 13:16] (current) elena.krasnobryzh
Line 1: Line 1:
-====== Ipfix template formats for the Radius monitor (fdpi_radius) ======+====== IPFIX Export Template Formats from FastRADIUS ======
 {{indexmenu_n>6}} {{indexmenu_n>6}}
-Ipfix template formats for the Radius monitor (fdpi_radius) +IPFIX export is configured with the following parameters
- +<code bash>
-Ipfix export is configured by means of the following settings+
-<code>+
 ipfix_dev=em1 ipfix_dev=em1
 ipfix_udp_collectors=1.2.3.4:1500,1.2.3.5:1501 ipfix_udp_collectors=1.2.3.4:1500,1.2.3.5:1501
 ipfix_tcp_collectors=1.2.3.6:9418 ipfix_tcp_collectors=1.2.3.6:9418
 </code> </code>
-here ''em1'' presents the name of network interface being intended for the export\\  +where: \\ 
-''ipfix_udp_collectors'' presents the addresses of udp collectors\\  +''em1'' — network interface name for export\\ 
-''ipfix_tcp_collectors'' presents the addresses of tcp collectors\\ +''ipfix_udp_collectors'' — UDP collector addresses\\ 
 +''ipfix_tcp_collectors'' — TCP collector addresses\\ 
  
-The template+Template
-^^Number of bytes ^Data type ^IANA ^Description^ +No.   Byte Count ^ Data Type ^ IANA   ^ Description                                                                                                                                                                                                              
-|1001 |4  |int32  |43823 |TIMESTAMP+| 1001  | 4            | int32       | 43823  Timestamp                                                                                                                                                                                                       
-|4001   |4  |int32  |43823      |AAA-events type: 0 - beginning, 1 - end, 2 - update| +| 4001  | 4            | int32       | 43823  | AAA Event Type: 0 - start, 1 - end, 2 - update                                                                                                                                                                    
-|4002   |-  |string |43823      |Accounting session ID (max. length - 64 bytes)| +| 4002  | -            | string      | 43823  | Accounting session ID (max. length - 64 bytes)                                                                                                                                                                         
-|1003   |4  |ipv4   |43823      |IPv4 address, for the IPv6 it is equal to 0| +| 1003  | 4            | ipv4        | 43823  | IPv4 address, for IPv6 set to 0                                                                                                                                                                                          
-|1103   |16 |ipv6   |43823      |IPv6 address, for the IPv4 it is equal to 0 (::)| +| 1103  | 16           | ipv6        | 43823  | IPv6 address, for IPv4 set to 0 (::)                                                                                                                                                                                     
-|1002   |-  |string |43823      |LOGIN+| 1002  | -            | string      | 43823  Login                                                                                                                                                                                                                 
-|4003   |4  |int32  |43823      |Connection type+| 4003  | 4            | int32       | 43823  | Connection Type                                                                                                                                                                                                        
-|4004   |-  |string |43823      |Calling-Station-Id+| 4004  | -            | string      | 43823  | Calling station ID                                                                                                                                                                                                 
-|4005   |-  |string |43823      |Called-Station-Id+| 4005  | -            | string      | 43823  | Called station ID                                                                                                                                                                                                 
-|4006   |4  |ipv4   |43823      |NAS-IP-Address, for the IPv6 it is equal to 0| +| 4006  | 4            | ipv4        | 43823  | NAS IP address, for IPv6 set to 0                                                                                                                                                                                        
-|4106   |16 |ipv6   |43823      |NAS-IPv6-Address, for the IPv4 it is equal to 0 (::)| +| 4106  | 16           | ipv6        | 43823  | NAS IPv6 address, for IPv4 set to 0 (::)                                                                                                                                                                                 
-|4007   |4  |int32  |43823      |NAS-Port| +| 4007  | 4            | int32       | 43823  | NAS Port                                                                                                                                                                                                              
-|4008   |8  |int64  |43823      |Number of incoming bytes+| 4008  | 8            | int64       | 43823  | Incoming bytes                                                                                                                                                                                                   | 
-|4009   | |int64  |43823      |Number of outgoing bytes|+| 4009  | 8            | int64       | 43823  | Outgoing bytes                                                                                                                                                                                                  | 
 +| 4010  | 4            | int32       | 43823  | Service Type                                                                                                                                                                                                            | 
 +| 4011  | 4            | int32       | 43823  | NAS Port Type                                                                                                                                                                                                         | 
 +| 4012  | -            | string      43823  | NAS ID                                                                                                                                                                                                                | 
 +| 8     | 4            | ipv4        | -      | Source IP address of the accounting packet                                                                                                                                                                                  
 +7     2            | int16       | -      | Source port of the accounting packet                                                                                                                                                                                      | 
 +| 12    | 4            | ipv4        | -      | Destination IP address of the accounting packet                                                                                                                                                                                 | 
 +| 11    | 2            | int16       | -      | Destination port of the accounting packet                                                                                                                                                                                     | 
 +| 4014  16           | ipv6        | 43823  | Assigned IPv6 Prefix                                                                                                                                                                                              | 
 +| 4015  | 1            | int8        | 43823  | Length of the assigned IPv6 prefix                                                                                                                                                                                      | 
 +| 4016  | 16           | ipv6        | 43823  | Delegated IPv6 Prefix                                                                                                                                                                                           | 
 +| 4017  | 1            | int8        | 43823  | Length of the delegated IPv6 prefix                                                                                                                                                                                   | 
 +| 4020  | -            | string      43823  | 3GPP-SGSN-MCC-MNC\\ Country code (MCC) and mobile network code (MNC) where the SGSN operates\\ :!: This field is added when ''[[en:dpi:dpi_components:radius:radius_config#radius_monitor_setup|ipfix_extra_gsm=1]]''       | 
 +| 4021  | 4            | ipv4        | 43823  | 3GPP_SGSN_Address\\ IP address of the SGSN (Serving GPRS Support Node) processing traffic\\ :!: This field is added when ''[[en:dpi:dpi_components:radius:radius_config#radius_monitor_setup|ipfix_extra_gsm=1]]'' 
 +| 4022  | 4            | int32       | 43823  | 3GPP_Charging_ID\\ Unique ID used for accounting and session billing\\ :!: This field is added when ''[[en:dpi:dpi_components:radius:radius_config#radius_monitor_setup|ipfix_extra_gsm=1]]''                  | 
 +| 4023  | 4            | int32       | 43823  | 3GPP_RAT_Type\\ Radio Access Network type: e.g., UTRAN (3G), EUTRAN (4G), NR (5G), etc.\\ :!: This field is added when ''[[en:dpi:dpi_components:radius:radius_config#radius_monitor_setup|ipfix_extra_gsm=1]]''       | 
 +| 4024  | -            | string      | 43823  | 3GPP-IMSI\\ International Mobile Subscriber Identity in the mobile network\\ :!: This field is added when ''[[en:dpi:dpi_components:radius:radius_config#radius_monitor_setup|ipfix_extra_gsm=1]]''                              | 
 +| 4025  | -            | string      | 43823  | 3GPP_IMEISV\\ Extended International Mobile Equipment Identity with software version\\ :!: This field is added when ''[[en:dpi:dpi_components:radius:radius_config#radius_monitor_setup|ipfix_extra_gsm=1]]''                |
  
- Connection types (value of Radius-attribute Framed-Protocol): +Connection Types (Radius attribute Framed-Protocol values): 
-^Type ^Desciption+^ Type ^ Description 
-|0  | Attribute not set| +| 0  | Attribute not set | 
-|1  | PPP| +| 1  | PPP | 
-|2  | SLIP| +| 2  | SLIP | 
-|3  | AppleTalk Remote Access Protocol (ARAP)| +| 3  | AppleTalk Remote Access Protocol (ARAP) | 
-|4  | Gandalf proprietary SingleLink/MultiLink protocol| +| 4  | Gandalf proprietary SingleLink/MultiLink protocol | 
-|5  | Xylogics proprietary IPX/SLIP| +| 5  | Xylogics proprietary IPX/SLIP | 
-|6  | X.75 Synchronous| +| 6  | X.75 Synchronous | 
-|7  | GPRS PDP Context|+| 7  | GPRS PDP Context |
  
- +Configuration for ipfixreceiver
-Ipfixreceiver configuration+<code ini>
-<code>+
 [InfoModel] [InfoModel]
 InfoElements =  timestamp,         43823, 1001, SECONDS, True InfoElements =  timestamp,         43823, 1001, SECONDS, True
Line 77: Line 92:
                 output_bytes                 output_bytes
 </code> </code>
- 
-