Specifications
ip dhcp excluded-address
477
ip dhcp excluded-address
Sets a range of IP addresses that are to be excluded from distribution in the IP address pool
specified by using the
network command.
Syntax
To set or change information:
ip dhcp excluded-address <Low address> [<High address>]
To delete information:
no ip dhcp excluded-address <Low address> [<High address>]
Input mode
(config)
Parameters
<Low address> [<High address>]
Sets an IP address that cannot be assigned to a DHCP client by a DHCP server or a
range of IP addresses.
1. Default value when this parameter is omitted:
This parameter cannot be omitted.
2. Range of values:
1.0.0.0 to 126.255.255.255, 128.0.0.0 to 223.255.255.255
The following addresses cannot be set:
- 127.0.0.0 to 127.255.255.255
Default behavior
All IP addresses in the range set by the network command can be assigned.
Impact on communication
None
When the change is applied
The change is applied immediately after setting values are changed.
Notes
1. The maximum number of IP addresses that can be set is 64.
2. If the number of IP address pools exceeds the maximum number when the setting
for excluded addresses is deleted, you cannot delete the setting.
Related commands
ip dhcp pool
network