ip-pool algorithm loading-share

Function

The ip-pool algorithm loading-share command configures a device to assign addresses from IPv4 remote address pools based on weights of the address pools.

The undo ip-pool algorithm loading-share command restores the default configuration.

By default, a device assigns addresses from IPv4 remote address pools in the sequence the address pools are bound to a domain.

This command is supported only on the NetEngine 8000 F1A.

Format

ip-pool algorithm loading-share remote [ chasten { restrain-period period-value | timeout-threshold threshold-value } * ]

undo ip-pool algorithm loading-share [ remote [ chasten [ restrain-period period-value | timeout-threshold threshold-value ] * ] ]

Parameters

Parameter Description Value
chasten

Specifies a chasten item.

-

restrain-period period-value

Specifies a period during which a remote address pool is suppressed.

The value is an integer ranging from 1 to 60, in minutes.

The default value is 10 min.

timeout-threshold threshold-value

Specifies a threshold for the number of NAK packets in a suppressed remote address pool.

The value is an integer ranging from 1 to 255.

The default value is 10.

remote

Configures a remote IP pool.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ippool write

Usage Guidelines

Usage Scenario

By default, IPv4 addresses are assigned in the sequence the address pools are bound to a domain. Specifically, one address pool is used only after addresses in the preceding address pool are used up. This address assignment mode results in unbalanced address pool usage. Moreover, the BRAS is unable to know the number of available addresses in a remote address pool on a DHCPv4 server in real time. As a result, the remote address pool may still have available addresses on the BRAS but actually does not have any addresses on the DHCPv4 server. In this case, clients may fail to obtain IPv4 addresses. To resolve the problems, the algorithm for assigning addresses from address pools has been optimized. Specifically, run the ip-pool algorithm loading-share remote command to configure a device to assign addresses from IPv4 remote address pools based on the weights of the address pools.

If the NAK count in the remote address pool selected based on weights is greater than or equal to the threshold specified by <td> and the address pool is within the period specified by <PERIOD-VALUE>, the remote address pool is not selected.

The ip-pool algorithm loading-share remote [ chasten { restrain-period period-value | timeout-threshold threshold-value } * ] command configures a period during which a remote address pool is suppressed and a threshold for the number of NAK packets in a suppressed remote address pool.

The undo ip-pool algorithm loading-share [ remote [ chasten ] ] command cancels the configuration and restores restrain-period and timeout-threshold to the default values.

The undo ip-pool algorithm loading-share [ remote [ chasten { restrain-period period-value | timeout-threshold threshold-value } * ] ] command deletes a configured period and threshold and restores either restrain-period or timeout-threshold or both to the default values.

Precautions

By default, IPv4 addresses are assigned in the sequence the address pools are bound to a domain. Specifically, one address pool is used only after addresses in the preceding address pool are used up. This address assignment mode results in unbalanced address pool usage. Moreover, the BRAS is unable to know the number of available addresses in a remote address pool on a DHCPv4 server in real time. As a result, the remote address pool may still have available addresses on the BRAS but actually does not have any addresses on the DHCPv4 server. In this case, clients may fail to obtain IPv4 addresses. To resolve the problems, the algorithm for assigning addresses from address pools has been optimized. Specifically, run the ip-pool algorithm loading-share remote command to configure a device to assign addresses from IPv4 remote address pools based on the weights of the address pools.

If the NAK count in the remote address pool selected based on weights is greater than or equal to the threshold specified by and the address pool is within the period specified by, the remote address pool is not selected.

The ip-pool algorithm loading-share remote [ chasten { restrain-period period-value | timeout-threshold threshold-value } * ] command configures a period during which a remote address pool is suppressed and a threshold for the number of NAK packets in a suppressed remote address pool.

The undo ip-pool algorithm loading-share [ remote [ chasten ] ] command cancels the configuration and restores restrain-period and timeout-threshold to the default values.

The undo ip-pool algorithm loading-share [ remote [ chasten { restrain-period period-value | timeout-threshold threshold-value } * ] ] command deletes a configured period and threshold and restores either restrain-period or timeout-threshold or both to the default values.

Example

# Configure a device to assign addresses from IPv4 remote address pools based on weights of the address pools.
<HUAWEI> system-view
[~HUAWEI] ip-pool algorithm loading-share remote
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >