dhcp server apply ip-pool

Syntax

dhcp server apply ip-pool pool-name

undo dhcp server apply ip-pool [ pool-name ]

View

Interface view

Default level

2: System level

Parameters

pool-name: DHCP address pool name, a case-insensitive string in the range of 1 to 35 characters.

Description

Use dhcp server apply ip-pool to apply an extended address pool on an interface.

Use undo dhcp server apply ip-pool to remove the configuration.

By default, no extended address pool is applied on an interface, and the server assigns an IP address from a common address pool to a client when the client's request arrives at the interface.

Related commands: dhcp server ip-pool.

Examples

# Apply extended DHCP address pool 0 on VLAN-interface 1.

<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] dhcp server apply ip-pool 0