VyOS is an open-source network operating system based on Debian Linux, that came from the development version of Vyatta routing software. While there is both an open-source and paid version of VyOS, here we will focus on the open-source, nightly build solution.
VyOS provides a free routing platform that competes directly with other commercially available solutions from well-known network providers. Because VyOS is run on standard amd64 and other architectures, we can use it in different scenarios, with or without virtualization.
NetFlow configuration
set system flow-accounting disable-imt
set system flow-accounting netflow version 9
set system flow-accounting netflow server 192.168.8.182 port 2055
set system flow-accounting interface eth0
set system flow-accounting interface eth1
An additional thing that can be disabled is locally collected NetFlow data via the disable-imt command, though you would lose the output of the show flow-accounting commands. And that's all! You should now be able to see the NetFlow data in the Netflow collector.
To make interfaces discoverable, we need to enable SNMP on VyOS:
set service snmp community routers authorization ro
set service snmp community routers network 192.0.2.0/24
EventLog configuration
If you think NetFlow configuration was easy, check out Syslog configuration:
You can set up facility and level options differently by following the documentation. Also, when entering commands in VyOS don't forget to commit and save, to apply the commands right away.
Mailing and Visiting Address:
Soneco d.o.o.
Makenzijeva 24/VI, 11000 Belgrade, Serbia
Phone: +381.11.6356319
Fax: +381.11.2455210
sales@netvizura.com | support@netvizura.com
CONNECT WITH US: