pool (Address-Assignment Pools)
Syntax
pool pool-name { active-drain; family family { dhcp-attributes { [ protocol-specific attributes ] } excluded-address ip-address; excluded-range name low minimum-value high maximum-value; host hostname { hardware-address mac-address; ip-address ip-address; } network ip-prefixprefix-length>; prefix ipv6-prefix; range range-name { high upper-limit; low lower-limit; prefix-length prefix-length; } } hold-down; link pool-name; }
Hierarchy Level
[edit access address-assignment] [edit routing-instances routing-instances-name access address-assignment]
Description
Configure the name of an address-assignment pool.
Subordinate statement support depends on the platform. See individual statement topics for more detailed support information.
Options
pool-name | Name assigned to the address-assignment pool. |
active-drain | Configure the DHCP local server to stop allocating addresses from this pool. When this is configured, the DHCP local server gracefully shifts clients from this address pool to an alternative pool for which active drain is not configured. When existing clients with an address from this pool submit a DHCPv4 request or DHCPv6 renew, they receive a NAK, forcing them to renegotiate. The server responds with a DHCPv4 offer or DHCPv6 advertise message with an address from a different pool. |
family | Configure the protocol family for the address-assignment pool. The options for this statement are explained separately. Click the linked statement for details. |
hold-down | Configure an address-assignment pool that is currently in use to be unavailable for further address allocation. When a pool is in the hold-down state, the pool is no longer used to allocate IP addresses for subscribers. Current subscribers who previously obtained an address from the pool are not affected; they can continue to renew their leases. As each of these users disconnects, their address is not reallocated. The pool becomes inactive when all subscribers have disconnected and their addresses are returned to the pool. |
link | Designate a secondary address-assignment pool that is linked to the pool being configured. When the pool being configured has no addresses available for allocation, the secondary pool can be searched for a free address. You can configure a chain of linked pools, but you cannot directly link more than one pool to or from any other pool. Each linked pool in the chain serves as a backup pool for the pool immediately before it in the chain.
|
The remaining statements are explained separately. Search for a statement in CLI Explorer or click a linked statement in the Syntax section for details.
Required Privilege Level
admin—To view this statement in the configuration.
admin-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 9.0.
Support at the [edit routing-instances routing-instances-name access address-assignment]
hierarchy level at tenant system level introduced in Junos
OS Release 20.2R1.