Fortinet white logo
Fortinet white logo

CLI Reference

config system sflow

config system sflow

Configure sFlow.

config system sflow

Description: Configure sFlow.

set collector-ip {ipv4-address}

set collector-port {integer}

set source-ip {ipv4-address}

set interface-select-method [auto|sdwan|...]

set interface {string}

end

config system sflow

Parameter

Description

Type

Size

Default

collector-ip

IP address of the sFlow collector 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

Not Specified

config system sflow

config system sflow

Configure sFlow.

config system sflow

Description: Configure sFlow.

set collector-ip {ipv4-address}

set collector-port {integer}

set source-ip {ipv4-address}

set interface-select-method [auto|sdwan|...]

set interface {string}

end

config system sflow

Parameter

Description

Type

Size

Default

collector-ip

IP address of the sFlow collector 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

Not Specified