ip-pool warning-threshold

Function

The ip-pool warning-threshold command sets an alarm threshold for the address usage of the IPv4 address pools bound to a VPN instance so that the NetEngine 8000 F generates an alarm when the IPv4 address usage reaches the threshold.

The undo ip-pool warning-threshold command restores the default configuration.

By default, the alarm threshold for the address usage of an IPv4 address pool is 80%.

This command is supported only on the NetEngine 8000 F1A.

Format

ip-pool warning-threshold threshold

undo ip-pool warning-threshold threshold

Parameters

Parameter Description Value
threshold

Specifies an alarm threshold for the IPv4 address usage, in percentage. For example, the value 80 indicates that the NetEngine 8000 F generates an alarm when the address usage of the IPv4 address pool reaches 80%.The value 0 indicates that the alarm function is disabled.

The value ranges from 0 to 100.

Views

VPN instance IPv4 address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ippool write

Usage Guidelines

Usage Scenario

To set an alarm threshold for the address usage of the IPv4 address pools bound to a VPN instance, run the ip-pool warning-threshold command so that the NetEngine 8000 F generates an alarm when the IPv4 address usage reaches the threshold. This prompts the administrator to plan addresses to prevent user login failures due to address exhaustion.

Precautions

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

Example

# Set the alarm threshold for the address usage of the IPv4 address pool huawei bound to a VPN instance to 85%.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance huawei
[*HUAWEI-vpn-instance-huawei] ipv4-family
[*HUAWEI-vpn-instance-huawei-af-ipv4] ip-pool warning-threshold 85
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >