Submit a ticketCall us

WebinarUpcoming Webinar: How Help Desk and Remote Support Pays for Itself

Learn how help desk software can simplify ticketing management, allow you to track hardware and software assets, and accelerate the speed of IT support and service delivery. Gain insights on how remote support tools allow your IT team to maximize their efficiency and ticket resolution by expediting desktop troubleshooting, ultimately helping keep end-users happy and productive.

Register here.

Home > Success Center > Netflow Traffic Analyzer (NTA) > Configure sFlow export on Fortigate devices

Configure sFlow export on Fortigate devices

Table of contents
Created by Joseph Esquitin, last modified by Steven Bansil_ret on Jun 24, 2016

Views: 4,534 Votes: 0 Revisions: 6


The following is an example that helps to explain how to configure your FortiGate unit to

send sFlow datagrams to an sFlow collector.

To configure the FortiGate unit to send sFlow datagrams to an sFlow collector


  • All Netflow versions NOTE: Fortigate needs to be running FortiOS 4.0MR3 release or higher


To configure the FortiGate unit to send sFlow datagrams to an sFlow collector follow the steps below


1.)  Enter the following command syntax to set the IP address of your sFlow collector to

config system sflow

set collector-ip



2.)  If required you can also change the UDP port number that the sFlow agent uses. You

should only change this port if required by your network configuration or sFlow

collector. The default sFlow port is 6343. The following command changes the sFlow

agent port to 2055.

config system sflow

set collector-port 2055


3.) Use the following command to enable sFlow for the port1 interface:

config system interface

edit port1

set sflow-sample enable


4.) Repeat this step to add sFlow agents to other FortiGate interfaces.

5.)  You can also change the sampling rate, polling interval, and sample direction for each

sFlow agent:

config system interface

edit port1

set sample-rate <rate_number>

set polling-interval <frequency>

set sample-direction {both | rx | tx}



Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment.  You elect to use third party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.


Last modified