![HP 5120 SI Series Command Reference Manual Download Page 345](http://html.mh-extra.com/html/hp/5120-si-series/5120-si-series_command-reference-manual_162935345.webp)
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.