Flow accounting

From VyOS Wiki
Jump to: navigation, search

VyOS supports flow accounting through NetFlow or sFlow.

For both types you need to specify the interfaces for which the data will be collected:

set system flow-accounting interface eth0
set system flow-accounting interface bond3

NetFlow

NetFlow is a protocol originating from Cisco Systems. It works on level3.

NetFlow example

set system flow-accounting netflow engine-id 100
set system flow-accounting netflow version 5
set system flow-accounting netflow server 192.0.2.10 port 2055