domain-name

Syntax

domain-name domain-name

undo domain-name

View

DHCPv6 address pool view

Default level

2: System level

Parameters

domain-name: Domain name, a string of 1 to 50 characters.

Description

Use domain-name to configure the domain name for the client.

Use undo domain-name 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 overwrites 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