
An administrator is extensively using IPsec on FortiGate. Many tunnels show information similar to the output shown in the exhibit.
What can the administrator conclude?
Show answerHide answer
Correct answer: B The two IPsec SAs, inbound and outbound, are copied to the NPU
Explanation
Explanation:The key to interpreting this output lies in the npu_flag field.
npu_flag=20:
This hexadecimal value (0x20) is a bitmask that indicates the state of the IPsec Security Associations (SAs) relative to the Network Processing Unit (NPU). The value 0x20 specifically means that the tunnel is NPU accelerated.
npu_gwy=10.10.2.2: This shows the IP address of the peer gateway as known to the NPU.
npu_lgwy=10.10.1.1: This shows the IP address of the local gateway as known to the NPU.
When an IPsec tunnel is established, two unidirectional SAs are created: one for inbound traffic and one for outbound traffic. For the tunnel to be fully accelerated by the NPU, both SAs must be successfully offloaded.
The presence of the npu_flag=0x20 and the specific NPU gateway addresses confirms that this offloading process has been successful for both SAs. The NPU now has the necessary information to encrypt and decrypt traffic for this tunnel at hardware speed, bypassing the main CPU.
Why the other options are incorrect:
A. IPsec SAs cannot be offloaded:
This is the direct opposite of what the output shows. The npu_flag being set to 0x20 is explicit proof that offloading has occurred.
C. Only the outbound IPsec SA is copied to the NPU:
For a tunnel to be functional and accelerated, both SAs must be offloaded. A partial offload would not result in the npu_flag=0x20 status, and tunnel performance would be suboptimal.
D. Only the inbound IPsec SA is copied to the NPU:
Similarly, this is incorrect. The NPU needs both the encryption (outbound) and decryption (inbound) keys and parameters to handle the full flow of traffic. The output indicates the tunnel is fully accelerated.
Reference
Fortinet Documentation:
The FortiOS CLI Reference guide for diagnose vpn tunnel commands explains the meaning of the various output fields.
Troubleshooting Guide:
Knowledge Base articles and troubleshooting guides on Fortinet's support website frequently reference npu_flag=0x20 as the indicator for a successfully NPU-offloaded IPsec tunnel. A value of npu_flag=0x00 would indicate that the tunnel is running in CPU mode, which is not the case here.



