ipv6 nd ra managed-config-flag

Syntax

ipv6 nd ra managed-config-flag

no ipv6 nd ra managed-config-flag

Description

Controls the M flag setting in RAs the router transmits on the current interface. Enable the M flag to indicate that hosts can obtain IP address through DHCPv6. The M flag is disabled by default.

The no form of this command turns off (disables) the M flag.

Command context

config-if

Authority

Administrators

Usage

  • Enabling the M flag directs hosts to acquire their IPv6 addressing and neighbor discovery host configuration information for the current interface from a DHCPv6 server.

  • When the M-bit is enabled, receiving hosts ignore the O flag setting, which is configured using the command ipv6 nd ra other-config-flag.

  • When the M-bit is disabled (the default), receiving hosts expect to receive their IPv6 addressing and neighbor discovery configuration settings from RA unless the O flag is enabled.

    M flag O flag Description
    0 0 Indicates a network without an IPv6 infrastructure. Automatic address assignment is not available. The host must use other methods, such as manual configuration.
    0 1 DHCPv6 stateless. IP addresses are not assigned by DHCPv6. However, other configuration settings such as DNS, can be assigned.
    1 0 Only IP addresses are assigned by DHCPv6. Typically not used.
    1 1 DHCPv6 stateful. IP addresses, and other configuration settings such as DNS, are assigned via DHCPv6.

Examples

switch(config)# interface 1/1/1
switch(config-if)# ipv6 nd ra managed-config-flag