ipv6 nd autoconfig managed-address-flag

Function

The ipv6 nd autoconfig managed-address-flag command sets the IP address allocation mode to DHCPv6 for PPPoX users, and specifies the interface ID negotiated using IPv6CP as the interface ID of the IPv6 address allocated by means of DHCPv6.

The undo ipv6 nd autoconfig managed-address-flag command restores the default IP address allocation mode for PPPoX users.

By default, NDRA is used as an IP address allocation mode for PPPoX users.

This command is supported only on the NetEngine 8000 F1A.

Format

ipv6 nd autoconfig managed-address-flag [ interface-id ipv6cp ]

undo ipv6 nd autoconfig managed-address-flag

Parameters

Parameter Description Value
interface-id ipv6cp

Indicates that the interface ID negotiated using IPv6CP is specified as the interface ID of the IPv6 address allocated by means of DHCPv6.

-

Views

AAA domain view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
nd write

Usage Guidelines

Usage Scenario

The ipv6 nd autoconfig managed-address-flag command is used in the AAA domain view to set the IP address allocation mode to DHCPv6 for PPPoX users.

Configuration Impact

If interface-id ipv6cp is specified in the command, the interface ID negotiated using IPv6CP is specified as the interface ID of the IPv6 address allocated by means of DHCPv6, and the device only allocates a 64-bit IPv6 prefix. If interface-id ipv6cp is not specified, the device allocates a 128-bit IPv6 address.

Precautions

This command takes effect only for PPPoX users. For IPoX users, the configuration of the ipv6 nd autoconfig managed-address-flag command is configured or not on an interface determines whether NDRA or DHCPv6 is used as an IP address allocation mode.

Example

# Set the IP address allocation mode to DHCPv6 for PPPoE users, and specifies the interface ID negotiated using IPv6CP as the interface ID of the IPv6 address allocated by means of DHCPv6.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] domain d1
[*HUAWEI-domain-d1] commit
[~HUAWEI-domain-d1] ipv6 nd autoconfig managed-address-flag interface-id ipv6cp
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >