H3C S3100 Series Command Manual page 558

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Parameters
ip-address&<1-8>: IP address of a DNS server. &<1-8> string means you can provide up to eight DNS
server IP addresses. When inputting more than one IP address, separate two neighboring IP addresses
with a space.
all: Specifies all configured DNS server IP addresses.
Description
Use the dns-list command to configure one or multiple DNS server IP addresses in a DHCP global
address pool for the DHCP client.
Use the undo dns-list command to remove one or all DNS server IP addresses configured for the
DHCP client.
By default, no DNS server IP address is configured.
If you execute the dns-list command repeatedly, the new configuration overwrites the previous one.
Related commands: dhcp server dns-list, dhcp server ip-pool.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
# Configure the DNS server IP address 1.1.1.254 in DHCP global address pool 0 for the DHCP client.
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] dns-list 1.1.1.254
domain-name
Syntax
domain-name domain-name
undo domain-name
View
DHCP address pool view
Parameters
domain-name: Domain name suffix for the DHCP client of a DHCP global address pool, a string of 3 to
50 characters.
Description
Use the domain-name command to configure a domain name suffix in a DHCP global address pool for
the DHCP client.
Use the undo domain-name command to remove the domain name suffix.
By default, no domain name suffix is configured in a DHCP global address pool for the DHCP client.
Related commands: dhcp server ip-pool, dhcp server domain-name.
1-27

Advertisement

Table of Contents
loading

Table of Contents