To begin using Magic Network Monitoring, complete the list of tasks below. If you are an Enterprise customer, Cloudflare can significantly accelerate the timeline during active-attack scenarios.
1. Verify NetFlow or SFlow capabilities
Verify your routers are capable of exporting NetFlow or sFlow to an IP address on Cloudflare’s network.
Magic Network Monitoring supports NetFlow v5, NetFlow v9, IPFIX, and sFlow.
2. Register your router with Cloudflare
When you register your router with Cloudflare, your router links your NetFlow or sFlow data to your Cloudflare account.
- From the , select Magic Network Monitoring.
- On the Magic Network Monitoring page, select Configure Magic Network Monitoring.
- Select the Configure routers tab.
- Under IP Address, enter your router’s public IP address.
- Under Default router sampling rate, enter a value for the sampling rate. The value should match the sampling rate of your NetFlow or sFlow configuration.
- Select Next.
3. Configure your router
Next, configure your router to send NetFlow/SFlow data to Cloudflare. For this step, you will also need to have your router’s configuration menu open to input the values shown in the Cloudflare dashboard.
- From Configure routers in the dashboard, select either NetFlow Configuration or sFlow configuration.
- Follow the configuration steps for the selected configuration type.
- Enter the values shown in your router’s configuration.
- Select Next.
4. Check your router configuration
After setting up your router, confirm the configuration was successfully set up.
From the Check routers page on the dashboard, you can view the status of your routers. Keep in mind that router data takes five to ten minutes to be sent to Cloudflare.
Refer to Router status description to confirm whether data is successfully being sent.
When you are done with router configuration, select Finish onboarding.
- Create rules