Command Reference Guide
3Com Router 5000 Family and Router 6000 Family dhcp server domain-name interface (System view) ● 79
Command Reference
dhcp server domain-name interface (System
view)
Purpose Use the dhcp server domain-name interface command in system view to
configure the domain name that the DHCP address pool of the interfaces in a
specified range allocates to DHCP clients.
Use the undo dhcp server domain-name interface command in system
view to delete the configured domain name.
Syntax dhcp server domain-name domain-name { interface interface-type
interface-number [ to interface-type interface-number ] | all }
undo dhcp server domain-name interface interface-type interface-number
[ to interface-type interface-number ] | all }
Parameters domain-name
Domain name that the DHCP server allocates to
clients, comprised of a string from 3 to 50 characters in
length.
interface-type
interface-number [ to
interface-type
interface-number ]
Indicates an interface or all interfaces from the first
specified interface to the second. Note that the
interfaces must be Ethernet interfaces (or
subinterfaces) or virtual Ethernet interfaces.
all
All the interfaces.
Default By default, no domain name is configured for clients.
Example Configure eth2_1_5.com.cn as the domain name in the interface DHCP address pool
of the interfaces Ethernet2/0/0.1 through Ethernet2/0/0.5.
[3Com] dhcp server domain-name eth1_0_0.com.cn interface ethernet
2/0/0.1 to ethernet 2/0/0.5
View This command can be used in the following views:
■ System view
Description After configuring this command, you cannot view the configuration of this command
by executing the
display current-configuration command. By executing
the
dhcp server domain-name command respectively on the specified
interfaces, you can fulfill the batch configurations of the command.