Hello Experts,
Confirmation for "Adaptive Forward Error Correction (FEC)".
Is Adaptive FEC only applied to the existing "virtual-wan-link" SD-WAN zone?
I tried it for my created/custom zone which belongs to IPsec tunnel members,
however, it does not seem to work.
FEC counter is not increased at "diag vpn tunnel fec VPN-NAME".
If any, I would like to know the official KB ID and/or the reference.
Any comments are appreciated.
Best regards,
Hello HT_JDC,
Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.
Hello,
We are still looking for an answer to your question.
We will come back to you ASAP.
Hello again HT_JDC,
I found this solution. Can you tell us if it helps, please?
Adaptive Forward Error Correction (FEC) is designed to work within the SD-WAN framework, specifically with the "virtual-wan-link" SD-WAN zone. If you are attempting to apply Adaptive FEC to a custom zone that includes IPsec tunnel members and it is not functioning as expected, it may be due to the configuration not aligning with the supported SD-WAN setup.
To troubleshoot this issue, ensure that:
Unfortunately, I do not have a specific KB ID or reference for this issue. If the problem persists, consider reaching out to Fortinet support for further assistance.
Dear Jean-Philippe,
Thanks for you answer.
I checked both egress and ingress in IPsec configuration.
However, it seems that FEC counter is not increased, seeing result of "diag vpn tunnel fec VPN-NAME".
Performance SLA is configured and "Best quality" strategy is selected with the SLA.
You said:
Can you tell me exactly what needs to be configured to activate Adaptive FEC?
Any comments are appreciated.
Best regards,
Hello again HT_JDC,
I found this answer for you:
To activate Adaptive Forward Error Correction (FEC) in your IPsec configuration, ensure the following steps are completed:
SD-WAN Zone Configuration: Ensure the IPsec tunnel is part of the "virtual-wan-link" SD-WAN zone.
FEC Profile Configuration:
config vpn ipsec phase1-interface
edit <Tunnel-Intf>
set fec-egress enable
set fec-ingress enable
set fec-health-check "Performance_SLA"
set fec-mapping-profile "FEC-Profile"
set fec-redundant 1
set fec-base 10
next
end
Performance SLA Configuration:
SD-WAN Strategy: Select the "Best Quality" strategy to ensure traffic is routed based on the best available link quality.
Traffic Policy: Ensure that the traffic sensitive to packet loss is identified and a dedicated firewall policy is in place where FEC is enabled.
Verification: Use the command diagnose vpn tunnel fec <Tunnel_Intf> to verify FEC status and counters.
If all configurations are correct and the FEC counters are still not increasing, verify that the network conditions meet the thresholds set for FEC activation, such as packet loss exceeding the configured threshold. If issues persist, further investigation may be needed to ensure all configurations are correctly applied.
Dear Jean-Philippe,
Thanks for your reply.
set fec-mapping-profile "FEC-Profile"
What is "FEC-Profile"?
It is new to me. Should I configure somewhere?
Can you tell me where/what/how to do?
Thanks in advance and best regards,
The "fec-profile" in the context of IPsec VPN configuration refers to a Forward Error Correction (FEC) mapping profile. This profile defines how FEC is applied based on network conditions such as packet loss, latency, and bandwidth thresholds.
To configure an FEC profile, follow these steps:
Define FEC Mappings:
config vpn ipsec fec to enter the FEC configuration mode.edit <name>, where <name> is your desired profile name.config mappings, define the parameters such as base, redundant, packet-loss-threshold, etc.Set Parameters:
base: Number of base FEC packets.redundant: Number of redundant FEC packets.packet-loss-threshold: Packet loss percentage to trigger FEC.Apply the FEC Profile: Attach the FEC profile to the IPsec tunnel interface using the command set fec-mapping-profile "<fec-profile>" in the config vpn ipsec phase1-interface section.
Verify Configuration: Use the command diagnose vpn tunnel fec <Tunnel_Intf> to check the FEC status and ensure it is applied correctly.
Ensure that the FEC profile is tailored to your network conditions and requirements. If you need further assistance, refer to the Fortinet documentation or contact support.
Dear Jean-Philippe,
Thanks for your detailed explanation.
The same parameters such as 'base/fec-base' and 'redundant/fec-redundant' are configured in both "config vpn ipsec fec" and "config vpn ipsec phase1-interface".
Do we really need to configure them in both section?
What are the differences in the 2 sections?
Thanks in advance and best regards,
| User | Count |
|---|---|
| 2799 | |
| 1424 | |
| 812 | |
| 749 | |
| 455 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.