domain-name
Use domain-name to specify a domain name in a DHCPv6 address pool.
Use undo domain-name to restore the default.
Syntax
domain-name domain-name
undo domain-name
Default
No domain name is specified.
Views
DHCPv6 address pool view
DHCPv6 option group view
Predefined user roles
network-admin
Parameters
domain-name: Specifies a domain name, a case-sensitive string of 1 to 50 characters.
Usage guidelines
You can configure only one domain name in an address pool. If you execute this command multiple
times, the most recent configuration takes effect.
Examples
# Specify the domain name aaa.com in DHCPv6 address pool 1.
<Sysname> system-view
[Sysname] ipv6 dhcp pool 1
[Sysname-dhcp6-pool-1] domain-name aaa.com
Related commands
display ipv6 dhcp pool
if-match
Use if-match to configure a match rule for a DHCPv6 user class.
Use undo if-match to delete a match rule for a DHCP user class.
Syntax
if-match rule rule-number { option option-code [ ascii ascii-string [ offset offset | partial ] | hex
hex-string [ mask mask | offset offset length length | partial ] ] | relay-agent
gateway-ipv6-address }
undo if-match rule rule-number
Default
No match rules are configured for the DHCPv6 user class.
Views
DHCPv6 user class view
278