sFlow configuration
Configure your router to export sFlow data to Cloudflare's network for analysis in Magic Network Monitoring. sFlow is a network monitoring protocol that samples network traffic to provide visibility into your network's performance and traffic patterns.
Before configuring sFlow, verify the following:
- Your router supports sFlow export capabilities. Refer to Supported routers for a list of compatible routers.
- You have administrative access to your router's configuration interface.
- You have registered your router with Cloudflare and noted the default sampling rate you configured during registration.
Log in to your router's configuration application or command-line interface. The exact method varies by router vendor and model.
Locate your router's sFlow configuration menu and set up the sFlow exporter with the following values:
- Destination IP address:
162.159.65.1 - Destination Port:
6343 - Transport Protocol:
UDP
These settings direct your router to send sFlow data to Cloudflare's network for analysis.
Set your router's sampling rate to match the value you entered when registering your router with Cloudflare. The sampling rate determines how frequently your router samples network traffic to generate sFlow data.
Refer to Recommended sampling rate for guidance on selecting an appropriate sampling rate based on your network's traffic volume.
Save your sFlow configuration changes and apply them to your router. Depending on your router model, you may need to restart the sFlow service or reload the configuration for changes to take effect.
After configuring sFlow, verify that data is being sent to Cloudflare:
- Wait five to ten minutes for sFlow data to be transmitted and processed.
- Check your router status in the Cloudflare dashboard under Network flow > Configure Network flow > Check routers (visible during onboarding) or view analytics in the Network flow page.
- If data is not appearing, verify your sFlow exporter settings and confirm your router's public IP address matches the IP registered with Cloudflare.
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Directory
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- © 2026 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark
-