Fortinet white logo
Fortinet white logo

CLI Reference

config system vdom-sflow

config system vdom-sflow

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.
    config collectors
        Description: sFlow collectors.
        edit <id>
            set collector-ip {ipv4-address}
            set collector-port {integer}
            set source-ip {ipv4-address}
            set interface-select-method [auto|sdwan|...]
            set interface {string}
        next
    end
    set vdom-sflow [enable|disable]
end

config system vdom-sflow

Parameter

Description

Type

Size

Default

vdom-sflow

Enable/disable the sFlow configuration for the current VDOM.

option

-

disable

Option

Description

enable

Enable sFlow for this VDOM.

disable

Disable sFlow for this VDOM.

config collectors

Parameter

Description

Type

Size

Default

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

collector-ip

IP addresses of the sFlow collectors that sFlow agents added to interfaces in this VDOM send sFlow datagrams to.

ipv4-address

Not Specified

0.0.0.0

collector-port

UDP port number used for sending sFlow datagrams.

integer

Minimum value: 0 Maximum value: 65535

6343

source-ip

Source IP address for sFlow agent.

ipv4-address

Not Specified

0.0.0.0

interface-select-method

Specify how to select outgoing interface to reach server.

option

-

auto

Option

Description

auto

Set outgoing interface automatically.

sdwan

Set outgoing interface by SD-WAN or policy routing rules.

specify

Set outgoing interface manually.

interface

Specify outgoing interface to reach server.

string

Maximum length: 15

config system vdom-sflow

config system vdom-sflow

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.
    config collectors
        Description: sFlow collectors.
        edit <id>
            set collector-ip {ipv4-address}
            set collector-port {integer}
            set source-ip {ipv4-address}
            set interface-select-method [auto|sdwan|...]
            set interface {string}
        next
    end
    set vdom-sflow [enable|disable]
end

config system vdom-sflow

Parameter

Description

Type

Size

Default

vdom-sflow

Enable/disable the sFlow configuration for the current VDOM.

option

-

disable

Option

Description

enable

Enable sFlow for this VDOM.

disable

Disable sFlow for this VDOM.

config collectors

Parameter

Description

Type

Size

Default

id

ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

collector-ip

IP addresses of the sFlow collectors that sFlow agents added to interfaces in this VDOM send sFlow datagrams to.

ipv4-address

Not Specified

0.0.0.0

collector-port

UDP port number used for sending sFlow datagrams.

integer

Minimum value: 0 Maximum value: 65535

6343

source-ip

Source IP address for sFlow agent.

ipv4-address

Not Specified

0.0.0.0

interface-select-method

Specify how to select outgoing interface to reach server.

option

-

auto

Option

Description

auto

Set outgoing interface automatically.

sdwan

Set outgoing interface by SD-WAN or policy routing rules.

specify

Set outgoing interface manually.

interface

Specify outgoing interface to reach server.

string

Maximum length: 15