DoS policy hardware acceleration
DoS policy hardware acceleration offloads processing required for IPv4 and IPv6 DoS policies, interface policies, and access control list (ACL) policies to NP7 processors.
Use the following command to configure DoS policy offloading:
config system npu
config dos-options
set npu-dos-meter-mode {global | local}
set npu-dos-tpe-mode {disable | enable}
end
npu-dos-meter-mode
select global
(the default) to configure DoS metering across all NP7 processors. Select local
to configure metering per NP7 processor.
DoS metering controls how the threshold for each configured anomaly is distributed among NP7 processors. For example, for a FortiGate with four NP7 processors and the tcp_syn_flood
anomaly threshold set to 400. If npu-dos-meter-mode
is set to global
, the threshold of 400 is divided between the NP7 processors and the tcp_syn_flood
threshold would be set to 100 for each NP7 (for a total threshold of 400 for the FortiGate). If npu-dos-meter-mode
is set to local
, then each NP7 would have a threshold of 400 (for a total threshold of 1600 for a FortiGate with four NP7 processors).
npu-dos-tpe-mode
select enable
(the default) to insert the dos meter ID into the session table. Select disable
if you don't want to insert the DoS meter into the session table. If set to enable, UDP_FLOOD and ICMP_FLOOD DoS protection applies to offloaded sessions. If set to disable, UDP_FLOOD and ICMP_FLOOD DoS protection will not apply to offloaded sessions.