< Home

nat port-block keepalive syslog timer

Function

The nat port-block keepalive syslog timer command configures the interval for sending keepalive log.

The undo nat port-block keepalive syslog timer command restores the default configuration.

Format

nat port-block keepalive syslog timer timer

undo nat port-block keepalive syslog timer

Parameters

Parameter Description Value
timer Indicates the interval for sending keepalive log. It is an integer that ranges from 60 to 86400, in seconds.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

By default, the interval for sending keepalive logs is 86400s (one day).

Because it takes some time to send keepalive logs, there is a little error between the actual interval for sending keepalive logs and the configured one. If the configured interval is very short, the error is more obvious. You are advised to set the interval to be greater than one hour.

Example

# Configure the interval for sending keepalive log to 100s.

<sysname> system-view
[sysname] nat port-block keepalive syslog timer 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >