domain-name

Use domain-name to specify a domain name suffix in a DHCPv6 address pool.

Use undo domain-name to remove the domain name suffix.

Syntax

domain-name domain-name

undo domain-name

Default

No domain name suffix is specified.

Views

DHCPv6 address pool view

Predefined user roles

network-admin

Parameters

domain-name: Specifies a domain name suffix, a case-insensitive string of 1 to 50 characters.

Usage guidelines

You can configure only one domain name suffix in an address pool.

If you use the domain-name 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