dhcp server ip-pool

Use dhcp server ip-pool to create a DHCP address pool and enter its view, or enter the view of an existing DHCP address pool.

Use undo dhcp server ip-pool to delete the specified DHCP address pool.

Syntax

dhcp server ip-pool pool-name

undo dhcp server ip-pool pool-name

Default

No DHCP address pools exist.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

pool-name: Specifies a DHCP address pool name, a case-insensitive string of 1 to 63 characters. The pool name uniquely identifies an address pool.

Usage guidelines

A DHCP address pool is used to store the configuration parameters to be assigned to DHCP clients.

Examples

# Create a DHCP address pool named pool1.

<Sysname> system-view
[Sysname] dhcp server ip-pool pool1
[Sysname-dhcp-pool-pool1]

Related commands

class ip-pool

dhcp server apply ip-pool

display dhcp server pool