Help Docs

Configuring Flow Exports on Fortigate Firewall

Site24x7 supports monitoring traffic from Fortinet FortiGate firewalls using sFlow protocols. This guide explains how to configure flow exports for FortiGate devices across various firmware versions.

Prerequisites

  • You need FortiOS version 5.2 or higher.
  • You need admin access to FortiGate CLI or GUI.
  • Ensure appropriate firewall rules allow UDP traffic to the Site24x7 NetFlow collector port (default: 9996).
    Note

    Interface-level sampling is supported in FortiOS version 7.6.0 and above. For earlier versions, only NetFlow-based monitoring is supported.

Flow configuration (FortiOS 7.2.8, 7.4.2, or later)

To configure sFlow (recommended for sampling):

config system sflow
    set collector-ip
    set collector-port 9996
    set source-ip
    set sample-rate 512
    set polling-interval 20
    set interface
end

Enter global configuration mode on the router or Multilayer Switch Feature Card (MSFC), and issue the following commands for each interface on which you want to enable flow:edit {INTERFACE_NAME}

set sflow-sampler enable
set sample-rate 1000
set sample-direction both
set polling-interval 60
next
end config system vdom-sflow
set vdom-sflow enable
set collector-ip {NETFLOW_SERVER_IP}
set collector-port {NETFLOW_SERVER_LISTENER_PORT}
end

Troubleshooting tips

  • Ensure the collector IP and port are reachable.
  • Confirm interface-level NetFlow or sFlow is enabled.

Related links

Was this document helpful?

Would you like to help us improve our documents? Tell us what you think we could do better.


We're sorry to hear that you're not satisfied with the document. We'd love to learn what we could do to improve the experience.


Thanks for taking the time to share your feedback. We'll use your feedback to improve our online help resources.

Shortlink has been copied!