Dns-server – Enterasys Networks X-Pedition XSR CLI User Manual
Page 598
DHCP Commands
15-88 Configuring DHCP
Mode
Any of the following command modes are available:
DHCP pool configuration:
XSR(config-dhcp-pool)#
DHCP host configuration:
XSR(config-dhcp-host)#
DHCP client class configuration:
XSR(config-dhcp-class)#
Example
The following example sets 14.12.1.99 as the IP address of the default router for any client in the
subnet with three other routers in descending order of preference:
XSR(config-dhcp-pool)#default-router 14.12.1.99 14.13.1.66 14.12.1.56 14.12.1.57
The following example specifies 14.12.1.1 as the IP address of the default router for the host with
MAC address 0010.a4f5.28a1:
XSR(config-dhcp-pool)#hardware-address 0010.a4f5.28a1
XSR(config-dhcp-host)#default-router 14.12.1.1
The following example specifies 14.12.1.99 as the IP address of the default router for any client in
the client class eng:
XSR(config-dhcp-pool)#client-class eng
XSR(config-dhcp-class)#default-router 14.12.1.99
dns-server
This command specifies the DNS IP servers available to a DHCP client. It is available from DHCP
pool, host, or client class mode. Depending on the client configuration inheritance, the command
should be used from the proper mode. If it is specified from multiple modes, an override
mechanism chooses the innermost config value, with host as innermost, then client‐class and pool as
the most general.
Syntax
dns-server address [address2...address8]
Syntax of the “no” Form
Use the no form of this command to remove the DNS server list:
no dns-server
Mode
Any of the following command modes are available:
DHCP pool configuration:
XSR(config-dhcp-pool)#
DHCP host configuration:
XSR(config-dhcp-host)#
DHCP client class configuration:
XSR(config-dhcp-class)#
address
IP address of a DNS server. One IP address is required.
address2 ...
address8
You can list up to 8 addresses at the prompt line by order of preference (DNS
server address is highest priority, then server address2, etc.).