< Home

nis-server

Function

The nis-server command configures the NIS server address assigned to the DHCPv6 client for the IPv6 address pool.

The undo nis-server command deletes the configured NIS server address assigned to the DHCPv6 client from the IPv6 address pool.

By default, no NIS server address is configured for the IPv6 address pool.

Format

nis-server ipv6-address

undo nis-server ipv6-address

Parameters

Parameter

Description

Value

ipv6-address

Indicates the NIS server IPv6 address.

The value is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X.

Views

IPv6 address pool view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The nis-server command is used on DHCPv6 servers. The DHCPv6 server needs to specify the IPv6 address of the NIS server for the address pool so that the DHCPv6 client can be connected to the Internet. The DHCPv6 server specifies the IPv6 address of the NIS server when allocating IPv6 addresses to the clients.

Precautions

  • A maximum of two NIS server addresses can be configured for each IPv6 address pool. The first assigned address functions as the primary address, and the other address functions as a secondary address.
  • When multiple NIS servers are specified, you need to run the nis-server repeatedly to configure multiple addresses.

Example

# Specify fc00:1::2 as the IPv6 address of the NIS server when IPv6 addresses in the address pool global1 are assigned to clients.

<HUAWEI> system-view
[HUAWEI] dhcpv6 pool global1
[HUAWEI-dhcpv6-pool-global1] nis-server fc00:1::2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >