< Home

ike nat-keepalive-timer interval

Function

The ike nat-keepalive-timer interval command configures the interval for sending NAT Keepalive packets.

The undo ike nat-keepalive-timer interval command restores the default setting.

By default, the interval for sending NAT Keepalive packets is 20 seconds.

Format

ike nat-keepalive-timer interval interval

undo ike nat-keepalive-timer interval

Parameters

Parameter Description Value
interval Specifies the interval for sending NAT Keepalive packets. The value is an integer that ranges from 5 to 300, in seconds.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

When an NAT gateway exists between two IKE peers, to prevent NAT entries from being aged, the device on the private network side of the NAT gateway sends NAT Keepalive packets to its peer at a certain interval to maintain the NAT session.

Example

# Configure the interval for sending NAT Keepalive packets to 30 seconds.

<HUAWEI> system-view
[HUAWEI] ike nat-keepalive-timer interval 30
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >