Foundry NetIron M2404C and M2404F Metro Access Switches
Configuring DHCP Features (Rev. 03)
DHCP Server
© 2008 Foundry Networks, Inc.
Page 16 of 63
device-name
(config-dhcp-subnet)#
option domain-name WORD
device-name
(config-dhcp-subnet)#
no option domain-name
Argument Description
WORD
Literal domain name, up to 254 characters.
Example
The following example sets a global domain name to
foundrynet.com
:
device-name
(config)#
service dhcp
device-name
(config-dhcp)#
option domain-name foundrynet.com
Setting the Domain Name Server
The
option domain-name-servers
command, in DHCP Server Configuration or DHCP Subnet
Configuration mode, specifies the Domain Name System (DNS) IP servers that are available to the
DHCP clients. The
no
form of this command removes the specified DNS servers. If no DNS server
IP address is specified in the
no
command, all DNS servers will be removed.
Up to five DNS servers may be defined (each requires a separate command).
The DHCP clients use the DNS server to resolve the hosts’ names to the IP addresses.
Command Syntax
device-name
(config-dhcp)#
option domain-name-servers A.B.C.D
device-name
(config-dhcp)#
no
option domain-name-servers A.B.C.D
device-name
(config-dhcp-subnet)#
option domain-name-servers A.B.C.D
device-name
(config-dhcp-subnet)#
no
option domain-name-servers A.B.C.D
Argument Description
A.B.C.D
The DNS server IP address
Example
The following example specifies two DNS server IP addresses:
device-name
(config)#
service dhcp
device-name
(config-dhcp)#
option domain-name-servers 20.20.0.1
device-name
(config-dhcp)#
option domain-name-servers 20.20.0.5
Setting the Merit Dump File
The
option merit-dump
command, in DHCP Server Configuration or in DHCP Subnet
Configuration mode, specifies the path name of a file to which the client’s core image should be
placed in the event the client crashes (the DHCP application issues an exception in case of errors
such as division by zero). The
no
form of this command removes the specified path name.
This option is used for tracking crashes that clients may encounter when booting via the network.
When a DHCP client boots via the network, core dump files provide the only means for safe dump
storage for later investigation of possible problems.