warning-threshold

Function

The warning-threshold command sets an alarm threshold for the address usage of an address pool. If the address usage exceeds the threshold, an alarm is generated on the device.

The undo warning-threshold command restores the default alarm threshold for the address usage of an address pool.

By default, the alarm threshold for the address usage of an address pool is set to 80.

This command is supported only on the NetEngine 8000 F1A.

Format

warning-threshold threshold

undo warning-threshold

Parameters

Parameter Description Value
threshold

The alarm threshold for the address usage of an address pool is a percentage. If the value of threshold-value is set to 80, the device will generate an alarm when the address usage of the address pool reaches 80%. 0 indicates that the alarm is disabled.

The value ranges from 0 to 100.

Views

Bas IP address pool view, Address pool group view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ippool write

Usage Guidelines

Usage Scenario

The warning-threshold command is used to set an alarm threshold for the usage of an address pool. If the address usage exceeds the threshold, an alarm is generated on the , prompting the administrator to reallocate addresses. If all addresses of the address pool are used, subsequent users cannot log in.

An address pool may be bound to multiple domains. The usage of the address pool changes regardless of which domain is assigned an IP address.

If the usage of an address pool exceeds the threshold, an alarm is generated. When the address usage falls below 90% of the threshold, the alarm is cleared.

If this command is run more than once in the same view, the latest configuration overrides the previous one.

NOTE:

If you want the device to generate an alarm when the usage of an address pool or address pool group exceeds the alarm threshold and another alarm when IP addresses in the address pool or address pool group are exhausted, run the warning-threshold and warning-exhaust commands.

Precautions

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

Example

# Set an alarm threshold for the usage of an address pool to 85%.
<HUAWEI> system-view
[~HUAWEI] ip pool huawei bas local
Info: It's successful to create an IP address pool
[*HUAWEI-ip-pool-huawei] commit
[~HUAWEI-ip-pool-huawei] warning-threshold 85
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >