The ip pool server command creates an address pool for the DHCP server or displays the IP address pool view.
The undo ip pool command deletes an address pool from the DHCP server.
By default, no address pool is created for the DHCP server.
Parameter | Description | Value |
---|---|---|
ip-pool-name |
Specifies the name of an address pool. |
The value is a string of 1 to 128 characters and can contain digits, letters, underscores (_), and periods (.), but not spaces. |
server |
Indicates that the address pool is of the server type. During first-time address pool creation, the server parameter must be specified. In the address pool view displayed after the address pool is created, the server parameter does not need to be specified. |
- |
Usage Scenario
To create an address pool, run the ip pool command to configure address pool parameters, such as the gateway address, address pool lease, and VPN instance. Such an address pool can be used for the DHCP server to assign IP addresses.
Follow-up Procedure
After an address pool is created, run the section command in the IP address pool view to specify the network segment in which the IP address can be assigned from the address pool.
Precautions
Users cannot go online by borrowing IP addresses from the local server address pool.