The sa anti-replay window command configures the anti-replay window size.
The undo sa anti-replay window command cancels the anti-replay window size configuration.
The sa anti-replay eanble and undo sa anti-replay disable commands start the anti-replay function in an IPsec policy.
The undo sa anti-replay eanble and sa anti-replay disable commands cancel the anti-replay function in an IPsec policy.
By default, the anti-replay function is globally enabled and takes effect for each IPsec policy.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
disable |
Disables the anti-replay function in an IPsec policy. |
- |
window-size |
Indicates the anti-replay window size. |
It is an integer and can take any one the following values: 32, 64, 128, 256, 512 or 1024. The default value is 1024. |
enable |
Enables the anti-replay function in an IPsec policy. |
- |
Usage Scenario
If the live network is attacked by replay packets, you can enable the anti-replay function to protect the device against replay attacks. If the live network is so complex that packets reach the device in disorder, you can disable the anti-replay function to prevent packet loss. The anti-replay function is globally enabled by default. If packet loss occurs on a large number of IPSec tunnels, globally disable the anti-replay function. If packet loss occurs on a few IPSec tunnels, enable the anti-replay function in a specific IPSec policy.
Therefore, the anti-replay function in an IPSec policy is more granular than that enabled globally.Configuration Impact
If the anti-replay function is enabled globally and in an IPSec policy, the anti-replay function in the IPSec policy takes effect preferentially.