These instructions assume:
- The Mikrotik RouterOS version is 6.38 or higher. *
- The date, time and time zone are correctly set on the router.
- You have Telnet or SSH credentials and access to the MikroTik router.
- The IP address of your Auvik collector is known.
* Versions older than 6.38 may incorrectly display flow lengths in TrafficInsights. In version 6.38, the NetFlow export issues causing the incorrect display have been resolved.
If you have a shared collector and want to ensure that it receives netflow data to enable TrafficInsights, you will need to add the source IP address as a /32 in order for Auvik to register the flows from that specific address in the TrafficInsights portal. There may be some delay for the shared collector to receive the data after the change.
Note: Even if that source IP address is already being scanned, you must add a /32 targeting only the source IP address, due to some limitations, the collector can’t tell if it should be sent to site A or B.
Access your router CLI
- Telnet or SSH into your router.
- Enter privileged mode by typing enable and entering your enable password.
Enable NetFlow export
On the router, run the following command. Replace AuvikCollectorIP with the IP address of your Auvik collector and AuvikPort with one of the following ports: 2055, 2056, 4432, 4739, 6343, 9995 or 9996.
/ip traffic-flow set active-flow-timeout=1m enabled=yes /ip traffic-flow target add dst-address=<AuvikCollectorIP> port=<AuvikPort>