
Dynamic Host Configuration Protocol (DHCP) Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
53.5
domain-name
This command adds a domain name to the DHCP address pool you are configuring. Use this
command to specify the domain name that a client should use when resolving host names using
the Domain Name System. This sets the domain name details using the pre-defined option 15.
Note that if you add a user-defined option 15 using the
option command on page 53.18
, then
you will override any settings created with this command.
The
no
parameter removes the domain name from the address pool.
Syntax
domain-name <
domain_name
>
no domain-name
Mode
DHCP mode
Examples
To add the domain name “Nerv_Office” to the DHCP pool, use the command:
awplus(dhcp-config)#
domain-name Nerv_Office
To remove the domain name “Nerv_Office” from the DHCP pool, use the command:
awplus(dhcp-config)#
no domain-name Nerv_Office
Related Commands
default-router
dns-server
option
service dhcp-server
show ip dhcp pool
subnet-mask
Parameter
Description
<
domain_name
>
The domain name you wish to assign the DHCP pool. Valid
characters are any printable character. If the name contains spaces
then you must enclose it in “quotation marks”.