334
Examples
# Configure a reference to an IKE peer in an IPsec policy.
<Sysname> system-view
[Sysname] ipsec policy policy1 10 isakmp
[Sysname-ipsec-policy-isakmp-policy1-10] ike-peer peer1
ipsec anti-replay check
Syntax
ipsec anti-replay check
undo ipsec anti-replay check
View
System view
Default level
2: System level
Parameters
None
Description
Use the ipsec anti-replay check command to enable IPsec anti-replay checking.
Use the undo ipsec anti-replay check command to disable IPsec anti-replay checking.
By default, IPsec anti-replay checking is enabled.
Examples
# Enable IPsec anti-replay checking.
<Sysname> system-view
[Sysname] ipsec anti-replay check
ipsec anti-replay window
Syntax
ipsec anti-replay window width
undo ipsec anti-replay window
View
System view
Default level
2: System level
Parameters
width: Size of the anti-replay window. It can be 32, 64, 128, 256, 512, or 1024.
Description
Use the ipsec anti-replay window command to set the size of the anti-replay window.
Use the undo ipsec anti-replay window command to restore the default.