< Home

nat srcip-car used-up alarm threshold

Function

The nat srcip-car used-up alarm threshold command sets the alarm threshold for the number of private addresses corresponding to a public address.

The undo nat srcip-car used-up alarm threshold command restores the default alarm threshold.

Format

nat srcip-car used-up alarm threshold threshold

undo nat srcip-car used-up alarm threshold

Parameters

Parameter Description Value

threshold

Specifies the alarm threshold for the number of private addresses corresponding to a public address. You can run the srcip-car-num command to set the maximum number of private addresses corresponding to a public address.

The value is an integer ranging from 60 to 100. The default value is 80, indicating 80%.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The default alarm threshold corresponding to the number of private addresses corresponding to a public address is 80%. After setting the alarm threshold, run the nat srcip-car used-up alarm enable command to enable the function of sending logs and alarms if the number of private addresses corresponding to a public address exceeds the threshold. Otherwise, no logs or alarms are sent.

Only the USG6510E/6510E-POE/6530E does not support this command.

Example

# Set the alarm threshold corresponding to the number of private addresses corresponding to a public address to 85%.

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