set dhcp pool domain-name
16-24 DHCP Server Configuration
Mode
Switchcommand,read‐write.
Example
ThisexampleremovestheDNSserverlistfromtheaddresspool“auto1.”
D2(rw)->clear dhcp pool auto1 dns-server
set dhcp pool domain-name
UsethiscommandtospecifyadomainnametobeassignedtoDHCPclientsservedbytheaddress
poolbeingconfigured.
Syntax
set dhcp pool poolname domain-name domain
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Example
Thisexampleassignsthe“mycompany.com”domainnametotheaddresspool“auto1.”
D2(rw)->set dhcp pool auto1 domain-name mycompany.com
clear dhcp pool domain-name
Usethiscommandtoremovethedomainnamefromtheaddresspoolbeingconfigured.
Syntax
clear dhcp pool poolname domain-name
Parameters
Defaults
None.
poolname Specifiesthenameoftheaddresspool.Poolnamesmaybeupto31
charactersinlength.
domain Specifiesthedomainnamestring.Thedomainnamecanbeupto255
charactersinlength.
poolname Specifiesthenameoftheaddresspool.Poolnamesmaybeupto31
charactersinlength.