3.8.2 DHCP Server Excluded IP Configuration

This command configures the excluded IP addresses. DHCP server will not allocate these excluded IP addresses to the DHCP client.

Command Syntax:

ip dhcp excluded-address <low_ip> [ <high_ip> ]
Table 3-34. Command Description

Argument

Description

Parameter

<low_ip>

Low IP address

<high_ip>

High IP address

Default

N/A

Mode

Global Configuration mode

Usage

Prevents the DHCP from assigning certain addresses. To remove IP addresses from exclusion list, use the ‘no’ form of the command.

Example

Example 1:

Exclude IP range 10.10.10.1 to 10.10.10.20.

# configure terminal
(config)# ip dhcp excluded-address 10.10.10.1 10.10.10.20