Dhcp Server Domain-Name - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Parameters
ip-address&<1-8>: IP address of a DNS server. &<1-8> means you can provide up to eight DNS server
IP addresses. When inputting more than one DNS server IP address, separate two neighboring IP
addresses with a space.
interface interface-type interface-number [ to interface-type interface-number ]: Specifies the
interface(s), through which you can specify the corresponding interface address pools. The
interface-type argument specifies an interface type; the interface-number argument specifies an
interface number; the interface interface-type interface-number [ to interface-type interface-number ]
keyword and argument combination specifies an interface range.
all: (In comparison with the ip-address argument) Specifies all DNS server IP addresses.
all: (In comparison with the interface keyword) Specifies all interface address pools.
Description
Use the dhcp server dns-list command to specify the DNS server IP address in the DHCP interface
address pool for the client.
Use the undo dhcp server dns-list command to remove the DNS server IP address specified in the
DHCP interface address pool.
By default, no DNS server IP address is specified for the client.
If you execute the dhcp server dns-list command repeatedly, the new configuration overwrites the
previous one.
Related commands: dns-list.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
# Enter VLAN-interface 1 view.
[Sysname] interface Vlan-interface 1
# Configure the DNS server IP address 1.1.1.254 for the DHCP address pool of the VLAN-interface 1
for the client.
[Sysname-Vlan-interface1] dhcp server dns-list 1.1.1.254

dhcp server domain-name

Syntax
In VLAN interface view, use the following commands to configure a domain name suffix for the DHCP
clients whose IP addresses are from the current DHCP interface address pool.
dhcp server domain-name domain-name
undo dhcp server domain-name
In system view, use the following commands to configure a domain name suffix for the DHCP clients
whose IP addresses are from multiple DHCP interface address pools.
dhcp server domain-name domain-name { interface interface-type interface-number [ to
interface-type interface-number ] | all }
1-8

Advertisement

Table of Contents
loading

Table of Contents