717
Related command: dhcp server ip-pool.
Example # Specify the DNS server address 10.1.1.254 in DHCP address pool 0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] dns-list 10.1.1.254
domain-name
Syntax domain-name domain-name
undo domain-name
View DHCP address pool view
Parameter domain-name: DHCP client domain name suffix, a string of 1 to 50 characters.
Description Use the domain-name command to specify the DHCP client domain name suffix
in a DHCP address pool.
Use the undo domain-name command to remove the domain name suffix from
a DHCP address pool.
The domain name suffix is not specified by default.
Related command: dhcp server ip-pool.
Example # Specify the client domain name suffix as mydomain.com in DHCP address pool
0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] domain-name mydomain.com
expired
Syntax expired {day day [ hour hour [ minute minute]] | unlimited }
undo expired
View DHCP address pool view
Parameter day day: Specifies the number of days, in the range of 0 to 365.
hour hour: Specified the number of hours, in the range of 0 to 23.
minute minute: Specifies the number of minutes, in the range of 0 to 59.
unlimited: Specifies the infinite duration, which is actually 136 years.