Cisco Cisco SG500-52PP 52-port Gigabit Max PoE+ Stackable Managed Switch 技术参考
DHCP Server Commands
OL-31486-02 Command Line Interface Reference Guide
307
13
in DHCP Pool Host Configuration mode. To remove the DNS server list, use the no
form of this command.
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.
host names to IP addresses.
Example
The following example specifies 10.12.1.99 as the client domain name server IP
address.
address.
switchxxxxxx(config-dhcp)#
dns-server
10.12.1.99
13.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.
DHCP Pool Network Configuration mode or in DHCP Pool Host Configuration
mode. To remove the domain name, use the no form of this command.