You can use this option to specify a range of IP addresses that cannot be allocated for the client. The no form of the command deletes the excluded pool.
In this example, the range of excluded address pools is 12.0.0.1 through 12.0.0.10. The first available IP in this pool will be 12.0.0.11.
SEFOS# configure terminal SEFOS(config)# ip dhcp pool 1
SEFOS(dhcp-config)# excluded-address 12.0.0.1 12.0.0.10 SEFOS(dhcp-config)# end
SEFOS# show ip dhcp server pools
The output in switch 1 is:
Pool Id : 1 ------------------------------------------- Subnet : 12.0.0.0 Subnet Mask : 255.0.0.0 Lease time : 95400 secs Utilization threshold : 50% Start Ip : 12.0.0.1 End Ip : 12.0.0.100 Exclude Address Start IP : 12.0.0.1 Exclude Address End IP : 12.0.0.10