dhcpv6-server destination

Function

The dhcpv6-server destination command sets an IP address or outbound interface and the load balancing weight for a DHCPv6 server.

The undo dhcpv6-server destination command deletes a DHCPv6 server. If no parameters are specified, all DHCPv6 servers are deleted from a DHCPv6 server group.

By default, the load balancing weight is 0 for DHCPv6 servers.

This command is supported only on the NetEngine 8000 F1A.

Format

dhcpv6-server { destination destination-address [ vpn-instance vpn-name ] | interface { interface-name | interface-type interface-number } } [ weight weight-value ]

undo dhcpv6-server [ destination destination-address [ vpn-instance vpn-name ] | interface { interface-name | interface-type interface-number } ]

Parameters

Parameter Description Value
destination destination-address

Specifies the IP address for a destination DHCPv6 server, in the format of X:X::X:X.

The address is a 32-digit hexadecimal number.

vpn-instance vpn-name

Specifies the name of a VPN instance.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported.

interface interface-type interface-number

Specifies the outbound interface for DHCPv6 packets.

The value is an integer that ranges from 1 to 64.

weight weight-value

Specifies the load balancing weight for a DHCPv6 server.

The value is an integer that ranges from 0 to 100.

Views

DHCPv6 server group view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ipv6pool write

Usage Guidelines

Usage Scenario

If a remote DHCPv6 server needs to be used for address allocation, you need to configure a DHCPv6 server group and then run the dhcpv6-server command to specify a DHCPv6 server.

Prerequisites

  • A DHCPv6 server group to which the remote DHCPv6 server belongs must have been configured.
  • The algorithm for selecting DHCPv6 servers must have been set to load balancing for the DHCPv6 server group if load balancing needs to be configured.

Configuration Impact

After the dhcpv6-server destination <ipv6-address> command is run, the first address specifies the master server if DHCPv6 servers in a DHCPv6 server group work in master/backup mode.

If the parameter loading-share is specified in the dhcpv6-server algorithm { loading-share | master-backup } command, the parameter weight is valid only when you configure a DHCPv6 server.

Note that weight refers to the weight of a DHCPv6 server in load balancing rather than the priority of a DHCPv6 server. If the weight is set, packets are sent to two DHCPv6 servers according to the weight of each DHCPv6 server. If the weight is not set, packets are sent equally to two DHCPv6 servers.

Precautions

In VS mode, this command is supported only by the admin VS.

A maximum of eight DHCPv6 servers can be configured in a DHCPv6 server group.

Example

# Add two DHCPv6 servers to a DHCPv6 server group named remote.
<HUAWEI> system-view
[~HUAWEI] dhcpv6-server group remote
[*HUAWEI-dhcpv6-server-group-remote] commit
[*HUAWEI-dhcpv6-server-group-remote] dhcpv6-server destination 2001:db8:1::1
[~HUAWEI-dhcpv6-server-group-remote] dhcpv6-server destination 2001:db8:2::1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >