Command Manual – Network Protocol
Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands
Huawei Technologies Proprietary
4-6
System View: return to User View with Ctrl+Z.
[Quidway] interface Vlan-interface 1
[Quidway-Vlan-interface1] dhcp server dns-list 1.1.1.254
4.2.4 dhcp server domain-name
Syntax
In VLAN interface view:
dhcp server domain-name domain-name
undo dhcp server domain-name
In system view:
dhcp server domain-name domain-name { interface vlan-interface vlan-id [ to
vlan-interface vlan-id ] | all }
undo dhcp server domain-name domain-name { interface vlan-interface vlan-id [ to
vlan-interface vlan-id ] | all }
View
DHCP address pool view, VLAN interface view, system view
Parameter
domain-name: DHCP client domain name for DHCP address pool of specified VLAN
interface, a string that is of 3 to 50 characters in length.
interface vlan-interface vlan-id [ to vlan-interface vlan-id ]: Specifies one VLAN
interface, or a range of VLAN interfaces.
all: Specifies all VLAN interfaces.
Description
Use the dhcp server domain-name command to configure a DHCP client domain
name for the DHCP address pool of the current VLAN interface, or for the DHCP
address pool(s) of the specified VLAN interface(s).
Use the undo dhcp server domain-name command to remove the DHCP client
domain name configured for the DHCP address pool of the current VLAN interface, or
for the DHCP address pool(s) of the specified VLAN interface(s).
No DHCP client domain name is configured by default.
Related command: domain-name.
Example
# Configure the DHCP client domain name of the DHCP address pool of the current
VLAN interface to vlan-interface1.com.
<Quidway> system-view