191
Examples
# Specify the DNS server address to be assigned to the client as 2:2::3.
<Sysname> system-view
[Sysname] ipv6 dhcp pool 1
[Sysname-dhcp6-pool-1] dns-server 2:2::3
domain-name
Syntax
domain-name domain-name
undo domain-name
View
DHCPv6 address pool view
Default level
2: System level
Parameters
domain-name: Specifies the domain name, a string of 1 to 50 characters.
Description
Use the domain-name command to configure the domain name for the client.
Use the undo domain-name command to remove the configuration.
By default, no domain name is configured for the client.
You can configure only one domain name in an address pool.
If you repeatedly use the domain-name command, the latest configuration will overwrite the previous one.
Examples
# Configure the domain name to be assigned to the client as aaa.com.
<Sysname> system-view
[Sysname] ipv6 dhcp pool 1
[Sysname-dhcp6-pool-1] domain-name aaa.com
ipv6 dhcp pool
Syntax
ipv6 dhcp pool pool-number
undo ipv6 dhcp pool pool-number
View
System view
Default level
2: System level
Parameters
pool-number: Specifies the address pool number. The value ranges from 1 to 128..