Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

Configure sFlow per VDOM to add or change the IP address and UDP port that FortiGate sFlow agents in this VDOM use to send sFlow datagrams to an sFlow collector.

  config system vdom-sflow
      Description: Configure sFlow per VDOM to add or change the IP address and UDP port that FortiGate sFlow agents in this VDOM use to send sFlow datagrams to an sFlow collector.
      set vdom-sflow [enable|disable]
      set collector-ip {ipv4-address}
      set collector-port {integer}
      set source-ip {ipv4-address}
  end

config system vdom-sflow

Parameter Name Description Type Size
vdom-sflow Enable/disable the sFlow configuration for the current VDOM.
enable: Enable sFlow for this VDOM.
disable: Disable sFlow for this VDOM.
option -
collector-ip IP address of the sFlow collector that sFlow agents added to interfaces in this VDOM send sFlow datagrams to (default = 0.0.0.0). ipv4-address Not Specified
collector-port UDP port number used for sending sFlow datagrams (configure only if required by your sFlow collector or your network configuration) (0 - 65535, default = 6343). integer Minimum value: 0 Maximum value: 65535
source-ip Source IP address for sFlow agent. ipv4-address Not Specified

Configure sFlow per VDOM to add or change the IP address and UDP port that FortiGate sFlow agents in this VDOM use to send sFlow datagrams to an sFlow collector.

  config system vdom-sflow
      Description: Configure sFlow per VDOM to add or change the IP address and UDP port that FortiGate sFlow agents in this VDOM use to send sFlow datagrams to an sFlow collector.
      set vdom-sflow [enable|disable]
      set collector-ip {ipv4-address}
      set collector-port {integer}
      set source-ip {ipv4-address}
  end

config system vdom-sflow

Parameter Name Description Type Size
vdom-sflow Enable/disable the sFlow configuration for the current VDOM.
enable: Enable sFlow for this VDOM.
disable: Disable sFlow for this VDOM.
option -
collector-ip IP address of the sFlow collector that sFlow agents added to interfaces in this VDOM send sFlow datagrams to (default = 0.0.0.0). ipv4-address Not Specified
collector-port UDP port number used for sending sFlow datagrams (configure only if required by your sFlow collector or your network configuration) (0 - 65535, default = 6343). integer Minimum value: 0 Maximum value: 65535
source-ip Source IP address for sFlow agent. ipv4-address Not Specified