ip dhcp excluded-address

To create an excluded pool and to prevent DHCP server from assigning certain addresses to DHCP clients, use the command ip dhcp excluded-address in Global Configuration Mode. The no form of the command deletes the created excluded pool. This command is a complete standardized implementation of the existing command and operates similar to that of the command excluded-address. This command is used to exclude a single IP address or a range of IP addresses.

ip dhcp excluded-address

ip dhcp excluded-address { <low-address> } { <high-address> }

ip dhcp excluded-address

no ip dhcp excluded-address { <low-address> } { <high-address> }

Parameters

Parameter Type Description
<low-address> Integer Enter to set the start IP address for an excluded pool. This address denotes the first IP address of a range of IP addresses which needs to be excluded from the created subnet pool. This IP address should be:
  • lower than the end IP address, and
  • in the same network of the subnet pool’s start IP address.
<high-address>   Enter to set the end IP address for an excluded pool. This address denotes the last IP address of a range of IP addresses which needs to be excluded from the created subnet pool. This IP address should be:
  • high than the start IP address, and within or equal to the subnet pool’s end IP address

Mode

Global Configuration Mode

Prerequisites

Examples

iS5Comm(config)# ip dhcp excluded-address 20.0.0.20 20.0.0.30