< Home

ipv6 nd autoconfig managed-address-flag

Function

The ipv6 nd autoconfig managed-address-flag command sets the flag bit indicating that the routable IPv6 address can get through the stateful auto configuration.

The undo ipv6 nd autoconfig managed-address-flag command clears the flag bit.

By default, the "managed address configuration" flag (M flag) is not set in the RA message.

Format

ipv6 nd autoconfig managed-address-flag

undo ipv6 nd autoconfig managed-address-flag

Parameters

None

Views

Ethernet interface view, Eth-Trunk interface view, Tunnel interface view, VLANIF interface view, BDIF interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The ipv6 nd autoconfig managed-address-flag command can be run on the Ethernet interfaces and sub-interfaces, GE interfaces and sub-interfaces, Eth-Trunk interfaces and sub-interfaces, and tunnel interfaces.

  • If the flag bit is set, a host obtains an IPv6 address by means of stateful auto-configuration.
  • If the flag bit is cleared, a host obtains an IPv6 address by means of stateless auto-configuration, meaning that a routing device advertises IPv6 prefixes using RA messages to the connected hosts.

Prerequisites

The ipv6 enable command has been run in the interface view to enable IPv6.

Configuration Impact

If the ipv6 nd autoconfig managed-address-flag command has been run to set a flag bit for stateful address auto-configuration, a host can still obtain configurations (excluding an IPv6 address) such as the router lifetime, neighbor reachable time, retransmission interval, and PMTU by means of stateful auto-configuration even if the ipv6 nd autoconfig other-flag command has not been run.

You can run the display ipv6 interface command to see that the hosts attached to a routing device have obtained IPv6 addresses by means of stateful or stateless auto-configuration.

Example

# Set the flag bit for a stateful auto configuration managed address configuration.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/0
[sysname-GigabitEthernet0/0/0] ipv6 nd autoconfig managed-address-flag
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >