ipv6 nd autoconfig managed-address-flag

Use ipv6 nd autoconfig managed-address-flag to set the managed address configuration (M) flag to 1 so that the host can obtain an IPv6 address through stateful autoconfiguration (for example, from a DHCPv6 server).

Use undo ipv6 nd autoconfig managed-address-flag to restore the default.

Syntax

ipv6 nd autoconfig managed-address-flag

undo ipv6 nd autoconfig managed-address-flag

Default

The M flag is set to 0 so that the host can obtain an IPv6 address through stateless autoconfiguration.

Views

Layer 3 interface view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

The M flag determines whether a host uses stateful autoconfiguration to obtain an IPv6 address.

If the M flag is set to 1, the host uses stateful autoconfiguration (for example, from an DHCPv6 server) to obtain an IPv6 address. Otherwise, the host uses stateless autoconfiguration to generate an IPv6 address according to its link-layer address and the prefix information in the RA message.

Examples

# Configure the host to obtain an IPv6 address through stateful autoconfiguration.

<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 nd autoconfig managed-address-flag