The ip-pool mode priority command configures a device to prefer a local or remote IP address pool in a domain.
The undo ip-pool mode priority command deletes the preference configured for an IP address pool in a domain.
By default, a device selects an IP address pool for Layer 3 DHCP users based on its gateway address and preferentially selects a local address pool for Layer 2 DHCP and PPP users.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
local |
Indicates that a local IP address pool takes precedence during address pool allocation. |
- |
layer2-subscriber |
Indicates Layer 2 common users. |
- |
remote |
Indicates that a remote IP address pool takes precedence during address pool allocation. |
- |
ipoe |
Indicates IPoE users. |
- |
pppoe |
Indicates PPPoE users. |
- |
mode |
Specifies a mode in which an IP address pool assigns IP addresses. |
Only mode is currently available. |
Usage Scenario
To configure a device to prefer a local or remote IP address pool in a domain, run the ip-pool priority mode command. To delete the preference, run the undo ip-pool priority mode command.
When Layer 2 or Layer 3 users access a device, they must be assigned IP addresses from an IP address pool in a domain. You can run the ip-pool priority mode command to configure the device to preferentially select a desired IP address pool.Precautions
This command is supported only on the admin VS.
If a device is configured to prefer a remote address pool in a domain for address assignment, IP addresses can only be assigned from a remote address pool for vCPE users.<HUAWEI> system-view [~HUAWEI] aaa [~HUAWEI-aaa] domain huawei [*HUAWEI-aaa-domain-huawei] commit [~HUAWEI-aaa-domain-huawei] ip-pool mode priority remote layer2-subscriber pppoe
<HUAWEI> system-view [~HUAWEI] aaa [~HUAWEI-aaa] domain huawei [*HUAWEI-aaa-domain-huawei] commit [~HUAWEI-aaa-domain-huawei] ip-pool mode priority local