< Home

ipsec anti-replay window

Function

The ipsec anti-replay window command sets the global IPSec anti-replay window size.

The undo ipsec anti-replay window command restores the default global IPSec anti-replay window size.

By default, the global IPSec anti-replay window size is 1024 bits.

Format

ipsec anti-replay window window-size

undo ipsec anti-replay window

Parameters

Parameter

Description

Value

window-size

Specifies the global IPSec anti-replay window size.

The value can be 32, 64, 128, 256, 512, or 1024, in bits.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In some situations, for example, network congestion occurs or QoS is performed for packets, the sequence numbers of some service data packets may be unusual. The device that has IPSec anti-replay enabled considers the packets replayed and discards them. To prevent packets from being discarded incorrectly, you can disable global IPSec anti-replay or adjust the IPSec anti-replay window size to meet service requirements.

Prerequisites

The anti-replay function has been enabled. By default, the anti-replay function is enabled (through ipsec anti-reply enable command).

Precautions

When both anti-replay window and ipsec anti-replay window are used, the anti-replay window command takes effect. When anti-replay window is not configured, the ipsec anti-replay window command takes effect.

Example

# Set the global IPSec anti-replay window size to 128 bits.

<HUAWEI> system-view
[HUAWEI] ipsec anti-replay window 128 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >