excluded-address

To create an excluded pool that defines a range of IP addresses that needs to be excluded from the created subnet pool, use the command excluded-address in DHCP Pool Configuration Mode. The no form of the command deletes the created excluded pool. The same start IP address and end IP address of the already created excluded pool should be provided while executing the no form of the command.

excluded-address

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

no excluded-address

no 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

DHCP Pool Configuration Mode

Prerequisites

This command is executed successfully only if a subnet pool is already created for the DHCP address pool.

Examples

iS5comm(config)# ip dhcp pool 1 pool1

iS5comm(dhcp-config)# excluded-address 20.0.0.1 20.0.0.30