dhcpv6-unshare-only

Function

The dhcpv6-unshare-only command configures an IPv6 prefix pool to assign only IPv6 addresses not prefixes to users.

The undo dhcpv6-unshare-only command cancels the configuration.

By default, an IPv6 prefix pool assigns only prefixes not IPv6 addresses to users.

This command is supported only on the NetEngine 8000 F1A.

Format

dhcpv6-unshare-only

undo dhcpv6-unshare-only

Parameters

None

Views

IPv6 prefix pool view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ipv6pool write

Usage Guidelines

Usage Scenario

By default, the device assigns the same 64-bit prefix to users when IPv6 addresses are assigned through DHCPv6, and no prefix information is carried in RA packets. Users cannot learn prefix information about neighbors and have to communicate with each other through a gateway device. To allow different users of a home connected to the network through a hub to communicate with each other directly rather than through a gateway device, configure the device to assign IPv6 addresses based on the Option 18 or Option 37 attribute and to send RA packets carrying the first 64 bits of the addresses assigned to IPv6 users as on-link prefixes. Then, the preceding users will be assigned IPv6 addresses sharing the same 64-bit prefix. In this way, the users can identify neighbors and communicate with each other based on the on-link prefix carried in RA packets. To allow the device to assign IPv6 addresses based on the Option 18 or Option 37 attribute, run the dhcpv6-unshare-only command to configure the IPv6 prefix pool to assign only IPv6 addresses not prefixes to users.

Precautions

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

The dhcpv6-unshare-only command is mutually exclusive with the following commands:

  • slaac-unshare-only
  • pd-unshare-only
  • client-duid client-duid bind prefix prefix-address
  • permit [ hot-standby ] up-group master-up-id <up-id1> slave-up-id <up-id2>

Example

# Configure an IPv6 address pool to assign only IPv6 addresses not prefixes to users.
<HUAWEI> system-view
[~HUAWEI] ipv6 prefix pd delegation
 Info: Create a prefix pool.
[*HUAWEI-ipv6-prefix-pd] commit
[~HUAWEI-ipv6-prefix-pd] dhcpv6-unshare-only
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >