ipv6-pool algorithm

Function

The ipv6-pool algorithm loading-share remote command allows address assignment from a remote IPv6 address pool based on the configured weight. In multi-device backup scenarios, address assignment from an address pool of the local rui-slave type is also performed based on the configured weight.

The undo ipv6-pool algorithm loading-share remote command restores the default configuration for both a remote IPv6 address pool and an address pool of the local rui-slave type.

The ipv6-pool algorithm round-robin command configures address assignment from a local IPv6 address pool, an IPv6 delegation address pool, and a remote IPv6 address pool in round-robin mode.

The undo ipv6-pool algorithm round-robin command restores the default configuration.

By default, addresses are assigned from the local IPv6 address pool, IPv6 delegation address pool, and remote IPv6 address pool in order. In multi-device backup scenarios, IP addresses can be assigned from an address pool of the local rui-slave type in order.

This command is supported only on the NetEngine 8000 F1A.

Format

ipv6-pool algorithm loading-share remote

ipv6-pool algorithm round-robin { local | remote } *

undo ipv6-pool algorithm loading-share [ remote ]

undo ipv6-pool algorithm round-robin [ local | remote ] *

Parameters

Parameter Description Value
round-robin

Selects pools according to round-robin algorithm.

-

local

Configures a local IP pool.

-

remote

Configures a remote IP pool.

-

loading-share

Selects pools according to weight.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ipv6pool write

Usage Guidelines

Usage Scenario

By default, the local IPv6 address pool, IPv6 delegation address pool, and remote IPv6 address pool are used for address assignment in order. The implementation principles of address assignment in the three modes are as follows:

  • If address assignment is performed in order, the device assigns an address pool based on the order configured for the same type of address pool. For example, if three address pools of the same type are configured in a domain, the device assigns addresses for online users from the first address pool. After IP addresses are used up in the first address pool, the device assigns addresses for online users from the second address pool.
  • If address assignment is performed based on the weights configured for address pools, the device determines the ratios of selecting each address pool based on the configured weights.
  • If address assignment is performed in round-robin mode, the priority of selecting each address pool for address assignment is the same. For example, if three address pools of the same type are configured in a domain, the device selects the first address pool for the first online user, the second address pool for the second online user, the third address pool for the third online user, the first address pool for the fourth online user, and the second address pool for the fifth online user.

    Users can perform the configuration based on their actual requirements.
  • After the ipv6-pool algorithm loading-share remote command is run, a remote IPv6 address pool is used for address assignment based on the configured weight. In a multi-device backup scenario, the address pool of the local rui-slave type is also used for address assignment based on the configured weight.
  • After the ipv6-pool algorithm round-robin local command is run, the local IPv6 address pool and IPv6 delegation address pool are used for address assignment in round-robin mode.
  • After the ipv6-pool algorithm round-robin remote command is run, the remote IPv6 address pools are used for address assignment in round-robin mode.

Precautions

In VS mode, this command applies only to the admin VS.

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

Example

# Configure the device to perform address assignment from a local IPv6 address pool and an IPv6 delegation address pool based on the configured weight.
<HUAWEI> system-view
[~HUAWEI] ipv6-pool algorithm round-robin local
# Configure the device to perform address assignment from a remote IPv6 address pool based on the configured weight.
<HUAWEI> system-view
[~HUAWEI] ipv6-pool algorithm loading-share remote
# Configure the device to perform address assignment from a remote IPv6 address pool in round-robin mode.
<HUAWEI> system-view
[~HUAWEI] ipv6-pool algorithm round-robin remote
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >