< Home

nat user-table used-up alarm threshold

Function

The nat_user-table_used-up_alarm_threshold command sets the alarm threshold of the user table usage.

The undo nat_user-table_used-up_alarm_threshold command restores the default threshold.

Format

nat user-table used-up alarm threshold threshold

undo nat user-table used-up alarm threshold

Parameters

Parameter Description Value
threshold Specifies the alarm threshold of the user table usage. The value is an integer ranging from 60 to 100, in percentage. The default value is 80.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The default alarm threshold of the user table usage is 80%. If you set the threshold, you need to run the nat user-table used-up alarm enable command to enable the corresponding log and alarm functions. Otherwise, the system will not sent the log or alarm even if the user table usage reaches the threshold.

If the user table usage reaches the alarm threshold, the system sends the CGN/4/USERTBL_USEDUP log and the USERTBL_1.3.6.1.4.1.2011.6.122.18.7.2.1 hwNatTrapUserTableUsedUp alarm. After the user table usage falls below the alarm threshold, the system sends the CGN/5/USERTBL_NORMAL log and USERTBL_1.3.6.1.4.1.2011.6.122.18.7.2.2 hwNatTrapUserTableNormal alarm.

Example

# Set the alarm threshold of the user table usage to 85%.

<sysname> system-view
[sysname] nat user-table used-up alarm threshold 85
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >