For the complete documentation index, see llms.txt. This page is also available as Markdown.

IPFIX collector Installation

Introduced in ASN 2.5

IPFIXcol2 Deployment Guide (Aviz ASN)

This guilde mainly focused on KPI templte used for IPFIX element

Platform used for deploying IPFIX collector

  • Ubuntu 22.04 LTS

  • Docker installed

  • Docker Compose installed

  • Kafka already running

Each file and directory in ~/ipfixcol2 has a specific purpose. Together, they define how the collector is built, configured, and run.

File/Directory

Purpose

Required?

Dockerfile

Builds a Docker image with libfds and IPFIXcol2 installed.

✅ Yes

docker-compose.yml

Starts the container, maps ports, and mounts configuration files and directories.

✅ Yes

ipfixcol2.xml

Main runtime configuration of IPFIXcol2 (input plugins, output plugins, etc.).

✅ Yes

enterprise/

Stores enterprise Information Element (IE) XML files such as kpi_fields.xml.

✅ Yes (for Aviz Networks enterprise fields)

logs/

Stores collector log files if logging to files is configured.

Optional

output/

Stores exported output (JSON, files, etc.) if file-based output plugins are used.

Optional

Verify Docker:

Create Ipfix Directory

Directory structure:

Create Dockerfile

Build IPFIXcol2 from source.

Install dependencies:

  • git

  • cmake

  • build-essential

  • pkg-config

  • libxml2-dev

  • libssl-dev

  • zlib1g-dev

  • liblz4-dev

  • libzstd-dev

  • librdkafka-dev

  • libcurl4-openssl-dev

  • libpcap-dev

Build:

  • Clone libfds

  • Build libfds

  • Install libfds

  • Clone ipfixcol2

  • Build ipfixcol2

  • Install ipfixcol2

Dockerfile

Create Collector Configuration

Ipfixcol2.xml :

Create docker-compose.yml

Configure Aviz Information Elements

Copy:

Verify:

Expected:

Update IPFIX Aviz template to kpi_fields.xml

Build Docker Image

Start Collector

Verify UDP Port

Verify Enterprise XML

Verify IPFIX Reception

Verify traffic from ASN

Logs:

Last updated