You can perform Ubiquiti EdgeMAX NetFlow configuration using the following steps:
configure
Enter global configuration mode on the router or MSFC, and issue the following commands for each interface on which you want to enable flow:
set system flow-accounting interface {INTERFACE_NAME}
set system flow-accounting netflow enable-ingress
set system flow-accounting netflow engine-id 1
set system flow-accounting netflow server {NETFLOW_SERVER_IP} port {NETFLOW_SERVER_LISTENER_PORT}
set system flow-accounting netflow version 9
commit