< Home

nis-domain-name

Function

The nis-domain-name command configures the NIS domain name suffix assigned by the DHCPv6 server to a DHCPv6 client.

The undo nis-domain-name command deletes the NIS domain name suffix assigned to the DHCPv6 client.

By default, no NIS domain name suffix is configured for the DHCPv6 client.

Format

nis-domain-name nis-domain-name

undo nis-domain-name nis-domain-name

Parameters

Parameter

Description

Value

nis-domain-name

Specifies the NIS domain name suffix assigned to a DHCPv6 client.

The value is a string of case-insensitive characters without spaces. It can be the combination of letters, digits, underscores (_), hyphens (-), or dots (.) and cannot be - or --.

Views

IPv6 address pool view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The nis-domain-name command is used on DHCPv6 servers. The DHCPv6 server specifies an NIS domain name suffix when allocating IPv6 addresses for clients. You can use the nis-domain-name command on the DHCPv6 server to specify a NIS domain name suffix for each global address pool. When allocating IPv6 addresses to clients, the DHCPv6 server also sends the NIS domain name suffix to the clients.

Precautions

A maximum of four different NIS domain names can be configured for an IPv6 address pool.

Example

# Configure the NIS domain name assigned to the DHCPv6 client as nis.com for the address pool pool1.

<HUAWEI> system-view
[HUAWEI] dhcpv6 pool pool1
[HUAWEI-dhcpv6-pool-pool1] nis-domain-name nis.com
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >