nat alarm session-number disable

Function

The nat alarm session-number disable command disables the trap and log functions for the number of NAT sessions.

The undo nat alarm session-number disable command restores the default configuration.

By default, the trap and log functions for the number of NAT sessions are enabled.

This command is supported only on the NetEngine 8000 F1A.

Format

nat alarm session-number log disable

nat alarm session-number trap disable

undo nat alarm session-number log disable

undo nat alarm session-number trap disable

Parameters

Parameter Description Value
trap

Enables or disables the alarm function for the number of NAT sessions.

-

log

Enables or disables the log function for the number of NAT sessions.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
nat write

Usage Guidelines

Usage Scenario

To disable the trap or log function for the number of NAT sessions, run the nat alarm session-number disable command. If the number of NAT sessions on a specific service board reaches the alarm threshold, the service board can record a log and send a trap to the NMS. After the number of NAT sessions falls to 87.5% of the upper limit, the service can also record a log and send a clear trap to the NMS.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Disable the log function for the number of NAT sessions.
<HUAWEI> system-view
[~HUAWEI] nat alarm session-number log disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >