The pfs command enables PFS when the local end initiates IPSec tunnel negotiation.
The undo pfs command disables PFS when the local end initiates IPSec tunnel negotiation.
By default, PFS is not used when the local end initiates IPSec tunnel negotiation.
Parameter | Description | Value |
---|---|---|
dh-group14 |
Uses the 2048-bit DH group. |
- |
dh-group19 |
Uses the 256-bit Elliptic Curve Groups modulo a Prime (ECP) DH group. |
- |
dh-group20 |
Uses the 384-bit ECP DH group. |
- |
dh-group21 |
Uses the 521-bit ECP DH group. |
- |
Usage Scenario
When the local end initiates negotiation, there is an additional DH exchange in IKEv1 phase 2 or IKEv2 CREATE_CHILD_SA exchange. The additional DH exchange ensures security of the IPSec SA key and improves communication security.
Precautions
The system software does not support the dh-group1, dh-group2, and dh-group5 parameters. To use these DH groups, you need to install the WEAKEA plug-in. For higher security purposes, you are advised to specify other DH groups.