dhcpv6-server replace client-duid

Function

The dhcpv6-server replace client-duid command configures the device that functions as a DHCPv6 relay agent to replace the client DUID in a DHCPv6 message sent from a client with the one it generates for that client before sending the message to a server.

The undo dhcpv6-server replace client-duid command restores the default configuration.

By default, the device retains the client DUIDs in received DHCPv6 messages when sending them to a server.

This command is supported only on the NetEngine 8000 F1A.

Format

dhcpv6-server replace client-duid

undo dhcpv6-server replace client-duid

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ipv6pool write

Usage Guidelines

Usage Scenario

When one-to-many mapping between one MAC address and many sessions is enabled, if clients have the same client DUID, the client DUID cannot uniquely identify a DHCPv6 client. To allow a server to use a client DUID to uniquely identify a client, run the dhcpv6-server replace client-duid command so that the NetEngine 8000 F replaces the client DUID in a DHCPv6 message sent from a client with the one it generates for that client before sending the message to the server.

After the DHCPv6 relay agent receives a reply message, the relay agent replaces the client DUID in the message with the original one before sending the message to the client.

Precautions

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

The dhcpv6-server replace client-duid command cannot be used together with the reserved ipv6-address { mac | duid } [ lease ] command in the remote address pool view. After the reserved ipv6-address mac lease command is run in the remote address pool view, the DHCP server cannot detect a user logout and reserves a lease for the address of the user. If the dhcpv6-server replace client-duid command is run in the remote address pool view, the DHCP server replaces the DUID of the user. As a result, the server cannot query the user, or the client DUID check fails after the user is found.

Example

# Configure the device that functions as a DHCPv6 relay agent to replace the client DUID in a DHCPv6 message sent from a client with the one it generates for that client before sending the message to a server.
<HUAWEI> system-view
[~HUAWEI] dhcpv6-server replace client-duid
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >