ip-pool constant-index enable

Function

The ip-pool constant-index enable command enables the function to configure a constant index for the IPv4 address pool ( except server type), IPv6 prefix pool, or IPv6 address pool.

The undo ip-pool constant-index enable command disables the function to configure a constant index for the IPv4 address pool ( except server type), IPv6 prefix pool, or IPv6 address pool.

By default, the IPv4 address pool, IPv6 prefix pool ( except server type), and IPv6 address pool do not have constant indexes. The indexes for these pools automatically change after the device where these pools reside restarts.

This command is supported only on the NetEngine 8000 F1A.

Format

ip-pool constant-index enable

undo ip-pool constant-index enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ippool write

Usage Guidelines

Usage Scenario

After a device where IP pools reside restarts, the NMS loses all IP pool statistics and can no longer monitor these IP pools. This problem can be solved by configuring constant indexes for IP pools.

Configuration Impact

After the ip-pool constant-index enable command is run, indexes for the IPv4 address pool ( except server type), IPv6 prefix pool, and IPv6 address pool remain unchanged after the device restarts. The constant-index command is automatically generated in corresponding IPv4 address pool, IPv6 prefix pool, and IPv6 address pool views for users to check the constant index value. But the constant-index command cannot be used to change the automatically generated constant index for an IP pool.

After the ip-pool constant-index disable command is run, the constant-index command is automatically deleted from the IPv4 address pool, IPv6 prefix pool, and IPv6 address pool views.

Precautions

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

Example

# Enable the function to configure constant prefixes for the IPv4 address pool ( except server type), IPv6 prefix pool, and IPv6 address pool.
<HUAWEI> system-view
[~HUAWEI] ip-pool constant-index enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >