Example: Vyatta NOS flow monitoring
This example shows how to set up flow monitoring between two servers in Azure. The Netflow collector also lies within Azure.
This example uses the following topology:
Vyatta NOS Configuration
First create an exporter and selector.
vyatta@vyatta# set service flow-monitoring exporter e1 udp-collector address '10.0.3.5'
vyatta@vyatta# set service flow-monitoring exporter e1 udp-collector port '9995'
vyatta@vyatta# set service flow-monitoring selector s1 randomly out-of '10'
vyatta@vyatta# commit
Then configure the interface that to monitor the traffic.
vyatta@vyatta# set interfaces dataplane dp0s17 flow-monitoring exporter 'e1'
vyatta@vyatta# set interfaces dataplane dp0s17 flow-monitoring selector 's1'
vyatta@vyatta# commit