Skip to main content

Configuring NetFlow on Vyatta Routers

This document outlines the steps to configure Vyatta Router for NetFlow v9 flow export with ObserveOps Flow Explorer.

Configuration Steps​

Set the NetFlow version:

set system flow-accounting netflow version 9

Set the NetFlow collector destination:

set system flow-accounting netflow server {MOTADATA_SERVER_IP} port 2055

Enable flow accounting on each interface to monitor:

set system flow-accounting interface {INTERFACE_NAME}

Set the active flow timeout to 60 seconds:

set system flow-accounting netflow timeout expiry-interval 60

Set the sampling rate (1 packet accounted per N packets):

set system flow-accounting netflow sampling-rate N

Configure additional flow accounting parameters:

set system flow-accounting netflow engine-id id (id values range between 0 – 255)
set system flow-accounting netflow timeout max-active-life 604800
set system flow-accounting netflow timeout flow-generic 3600
set system flow-accounting netflow timeout tcp-fin 300
set system flow-accounting netflow timeout tcp-generic 3600
set system flow-accounting netflow timeout tcp-rst 120
set system flow-accounting netflow timeout icmp 300
set system flow-accounting netflow timeout udp 300

After completing the configuration, navigate to Menu > Flow Explorer and select Explorer to view the active flow data.