Fortinet white logo
Fortinet white logo

CLI Reference

config dpdk global

config dpdk global

Note

This command is available for model(s): FortiGate VM64.

It is not available for: FortiGate 1000D, FortiGate 100EF, FortiGate 100E, FortiGate 100F, FortiGate 101E, FortiGate 101F, FortiGate 1100E, FortiGate 1101E, FortiGate 1200D, FortiGate 1500DT, FortiGate 1500D, FortiGate 1800F, FortiGate 1801F, FortiGate 2000E, FortiGate 200E, FortiGate 200F, FortiGate 201E, FortiGate 201F, FortiGate 2200E, FortiGate 2201E, FortiGate 2500E, FortiGate 2600F, FortiGate 2601F, FortiGate 3000D, FortiGate 3000F, FortiGate 3001F, FortiGate 300E, FortiGate 301E, FortiGate 3100D, FortiGate 3200D, FortiGate 3300E, FortiGate 3301E, FortiGate 3400E, FortiGate 3401E, FortiGate 3500F, FortiGate 3501F, FortiGate 3600E, FortiGate 3601E, FortiGate 3700D, FortiGate 3800D, FortiGate 3960E, FortiGate 3980E, FortiGate 400E Bypass, FortiGate 400E, FortiGate 400F, FortiGate 401E, FortiGate 401F, FortiGate 40F 3G4G, FortiGate 40F, FortiGate 4200F, FortiGate 4201F, FortiGate 4400F, FortiGate 4401F, FortiGate 5001E1, FortiGate 5001E, FortiGate 500E, FortiGate 501E, FortiGate 600E, FortiGate 600F, FortiGate 601E, FortiGate 601F, FortiGate 60E DSLJ, FortiGate 60E DSL, FortiGate 60E-POE, FortiGate 60E, FortiGate 60F, FortiGate 61E, FortiGate 61F, FortiGate 70F, FortiGate 71F, FortiGate 800D, FortiGate 80E-POE, FortiGate 80E, FortiGate 80F Bypass, FortiGate 80F-POE, FortiGate 80F, FortiGate 81E-POE, FortiGate 81E, FortiGate 81F-POE, FortiGate 81F, FortiGate 900D, FortiGate 90E, FortiGate 91E, FortiGateRugged 60F 3G4G, FortiGateRugged 60F, FortiWiFi 40F 3G4G, FortiWiFi 40F, FortiWiFi 60E DSLJ, FortiWiFi 60E DSL, FortiWiFi 60E, FortiWiFi 60F, FortiWiFi 61E, FortiWiFi 61F, FortiWiFi 80F 2R, FortiWiFi 81F 2R 3G4G-POE, FortiWiFi 81F 2R-POE, FortiWiFi 81F 2R.

Configure global DPDK options.

config dpdk global
    Description: Configure global DPDK options.
    set status [disable|enable]
    set interface <interface-name1>, <interface-name2>, ...
    set multiqueue [disable|enable]
    set sleep-on-idle [disable|enable]
    set elasticbuffer [disable|enable]
    set per-session-accounting [disable|traffic-log-only|...]
    set ipsec-offload [disable|enable]
    set hugepage-percentage {integer}
    set mbufpool-percentage {integer}
end

config dpdk global

Parameter

Description

Type

Size

Default

status

Enable/disable DPDK operation for the entire system.

option

-

disable

Option

Description

disable

Disable DPDK operation.

enable

Enable DPDK operation. *The minimum system requirements for DPDK is 2 vCPUs and 4GB memory.

interface <interface-name>

Physical interfaces that enable DPDK.

Physical interface name.

string

Maximum length: 31

multiqueue

Enable/disable multi-queue RX/TX support for all DPDK ports.

option

-

disable

Option

Description

disable

Disable multi-queue RX/TX support for DPDK ports.

enable

Enable multi-queue RX/TX support for DPDK ports.

sleep-on-idle

Enable/disable sleep-on-idle support for all FDH engines.

option

-

disable

Option

Description

disable

Disable sleep-on-idle support for FDH engines.

enable

Enable sleep-on-idle support for FDH engines.

elasticbuffer

Enable/disable elasticbuffer support for all DPDK ports.

option

-

disable

Option

Description

disable

Disable elasticbuffer support for DPDK ports.

enable

Enable elasticbuffer support for DPDK ports.

per-session-accounting

Enable/disable per-session accounting.

option

-

traffic-log-only

Option

Description

disable

Disable per-session accounting.

traffic-log-only

Enable per-session accounting only for VNP sessions with traffic logging turned on in firewall policy.

enable

Enable per-session accounting for all VNP sessions. *Affect performance.

ipsec-offload

Enable/disable DPDK IPsec phase 2 offloading.

option

-

disable

Option

Description

disable

Disable DPDK IPsec phase 2 offloading.

enable

Enable DPDK IPsec phase 2 offloading.

hugepage-percentage

Percentage of main memory allocated to hugepages, which are available for DPDK operation.

integer

Minimum value: 15 Maximum value: 50

30

mbufpool-percentage

Percentage of main memory allocated to DPDK packet buffer.

integer

Minimum value: 10 Maximum value: 45

25

config dpdk global

config dpdk global

Note

This command is available for model(s): FortiGate VM64.

It is not available for: FortiGate 1000D, FortiGate 100EF, FortiGate 100E, FortiGate 100F, FortiGate 101E, FortiGate 101F, FortiGate 1100E, FortiGate 1101E, FortiGate 1200D, FortiGate 1500DT, FortiGate 1500D, FortiGate 1800F, FortiGate 1801F, FortiGate 2000E, FortiGate 200E, FortiGate 200F, FortiGate 201E, FortiGate 201F, FortiGate 2200E, FortiGate 2201E, FortiGate 2500E, FortiGate 2600F, FortiGate 2601F, FortiGate 3000D, FortiGate 3000F, FortiGate 3001F, FortiGate 300E, FortiGate 301E, FortiGate 3100D, FortiGate 3200D, FortiGate 3300E, FortiGate 3301E, FortiGate 3400E, FortiGate 3401E, FortiGate 3500F, FortiGate 3501F, FortiGate 3600E, FortiGate 3601E, FortiGate 3700D, FortiGate 3800D, FortiGate 3960E, FortiGate 3980E, FortiGate 400E Bypass, FortiGate 400E, FortiGate 400F, FortiGate 401E, FortiGate 401F, FortiGate 40F 3G4G, FortiGate 40F, FortiGate 4200F, FortiGate 4201F, FortiGate 4400F, FortiGate 4401F, FortiGate 5001E1, FortiGate 5001E, FortiGate 500E, FortiGate 501E, FortiGate 600E, FortiGate 600F, FortiGate 601E, FortiGate 601F, FortiGate 60E DSLJ, FortiGate 60E DSL, FortiGate 60E-POE, FortiGate 60E, FortiGate 60F, FortiGate 61E, FortiGate 61F, FortiGate 70F, FortiGate 71F, FortiGate 800D, FortiGate 80E-POE, FortiGate 80E, FortiGate 80F Bypass, FortiGate 80F-POE, FortiGate 80F, FortiGate 81E-POE, FortiGate 81E, FortiGate 81F-POE, FortiGate 81F, FortiGate 900D, FortiGate 90E, FortiGate 91E, FortiGateRugged 60F 3G4G, FortiGateRugged 60F, FortiWiFi 40F 3G4G, FortiWiFi 40F, FortiWiFi 60E DSLJ, FortiWiFi 60E DSL, FortiWiFi 60E, FortiWiFi 60F, FortiWiFi 61E, FortiWiFi 61F, FortiWiFi 80F 2R, FortiWiFi 81F 2R 3G4G-POE, FortiWiFi 81F 2R-POE, FortiWiFi 81F 2R.

Configure global DPDK options.

config dpdk global
    Description: Configure global DPDK options.
    set status [disable|enable]
    set interface <interface-name1>, <interface-name2>, ...
    set multiqueue [disable|enable]
    set sleep-on-idle [disable|enable]
    set elasticbuffer [disable|enable]
    set per-session-accounting [disable|traffic-log-only|...]
    set ipsec-offload [disable|enable]
    set hugepage-percentage {integer}
    set mbufpool-percentage {integer}
end

config dpdk global

Parameter

Description

Type

Size

Default

status

Enable/disable DPDK operation for the entire system.

option

-

disable

Option

Description

disable

Disable DPDK operation.

enable

Enable DPDK operation. *The minimum system requirements for DPDK is 2 vCPUs and 4GB memory.

interface <interface-name>

Physical interfaces that enable DPDK.

Physical interface name.

string

Maximum length: 31

multiqueue

Enable/disable multi-queue RX/TX support for all DPDK ports.

option

-

disable

Option

Description

disable

Disable multi-queue RX/TX support for DPDK ports.

enable

Enable multi-queue RX/TX support for DPDK ports.

sleep-on-idle

Enable/disable sleep-on-idle support for all FDH engines.

option

-

disable

Option

Description

disable

Disable sleep-on-idle support for FDH engines.

enable

Enable sleep-on-idle support for FDH engines.

elasticbuffer

Enable/disable elasticbuffer support for all DPDK ports.

option

-

disable

Option

Description

disable

Disable elasticbuffer support for DPDK ports.

enable

Enable elasticbuffer support for DPDK ports.

per-session-accounting

Enable/disable per-session accounting.

option

-

traffic-log-only

Option

Description

disable

Disable per-session accounting.

traffic-log-only

Enable per-session accounting only for VNP sessions with traffic logging turned on in firewall policy.

enable

Enable per-session accounting for all VNP sessions. *Affect performance.

ipsec-offload

Enable/disable DPDK IPsec phase 2 offloading.

option

-

disable

Option

Description

disable

Disable DPDK IPsec phase 2 offloading.

enable

Enable DPDK IPsec phase 2 offloading.

hugepage-percentage

Percentage of main memory allocated to hugepages, which are available for DPDK operation.

integer

Minimum value: 15 Maximum value: 50

30

mbufpool-percentage

Percentage of main memory allocated to DPDK packet buffer.

integer

Minimum value: 10 Maximum value: 45

25