H3C S7500E Series Ethernet Switches Operation Manual

Operation Manual – DHCP
H3C S7500E Series Ethernet Switches Chapter 2 DHCP Server Configuration
2-8
To do… Use the command… Remarks
Exclude IP addresses
from automatic allocation
dhcp server
forbidden-ip
low-ip-address
[ high-ip-address ]
Optional
Except IP addresses of the
DHCP server interfaces, all
addresses in the DHCP
address pool are
assignable by default.
Note:
z In DHCP address pool view, using the network command repeatedly overwrites the
previous configuration.
z Using the dhcp server forbidden-ip command repeatedly can specify multiple IP
address ranges not assignable.
2.5.4 Configuring a Domain Name Suffix for the Client
You can specify a domain name suffix in each DHCP address pool on the DHCP server
to provide the clients with the domain name suffix. With this suffix assigned, the client
needs only input part of a domain name, and the system will add the domain name
suffix for name resolution. For details about DNS, refer to DNS Configuration of this
manual.
Follow these steps to configure a domain name suffix in the DHCP address pool:
To do… Use the command… Remarks
Enter system view
system-view
Enter the DHCP
address pool view
dhcp server ip-pool
pool-name
Specify a domain name
suffix for the client
domain-name
domain-name
Required
Not specified by default.
2.5.5 Configuring DNS Servers for the Client
When a DHCP client wants to access a host on the Internet via the host name, it
contacts a Domain Name System (DNS) server holding host name-to-IP address
mappings to get the host IP address. You can specify up to eight DNS servers in the
DHCP address pool.
Follow these steps to configure DNS servers in the DHCP address pool: