DHCP Server Commands
285
OL-32830-01 Command Line Interface Reference Guide
12
in DHCP Pool Host Configuration mode. To remove the DNS server list, use the no
form of this command.
Syntax
dns-server
ip-address
[
ip-address2
...
ip-address8
]
no dns-server
Parameters
•
ip-address
[
ip-address2
...
ip-address8
]—Specifies the IP addresses of
DNS servers. Up to eight addresses can be specified in one command line.
Command Mode
DHCP Pool Network Configuration mode
DHCP Pool Host Configuration mode
Default Configuration
No DNS server is defined.
User Guidelines
If DNS IP servers are not configured for a DHCP client, the client cannot correlate
host names to IP addresses.
Example
The following example specifies 10.12.1.99 as the client domain name server IP
address.
switchxxxxxx(config-dhcp)#
dns-server
10.12.1.99
12.8 domain-name
To specify the domain name for a DHCP client, use the domain-name command in
DHCP Pool Network Configuration mode or in DHCP Pool Host Configuration
mode. To remove the domain name, use the no form of this command.
Summary of Contents for 300 Series
Page 2: ......