ipv6 nd autoconfig other-flag

Function

The ipv6 nd autoconfig other-flag command sets the "other configuration" flag (O flag) in the RA message, indicating whether hosts should use stateful autoconfiguration to obtain additional information (excluding addresses).

The undo ipv6 nd autoconfig other-flag command clears the "other configuration" flag (O flag) set in the RA message.

By default, the "other configuration" flag (O flag) is not set in the RA message.

Format

ipv6 nd autoconfig other-flag

undo ipv6 nd autoconfig other-flag

Parameters

None

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, PW-VE sub-interface view, PW-VE interface view, VBDIF interface view, VE sub-interface view, VLANIF interface view, Management interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
nd write

Usage Guidelines

Usage Scenario

  • If the O flag is set, the attached hosts should use stateful autoconfiguration to obtain additional configuration information (excluding IPv6 addresses). Additional configuration information includes the router lifetime, neighbor reachable time, retransmission interval, and PMTU.
  • If the O flag is not set, the attached hosts should use stateless autoconfiguration to obtain additional configuration information. That is, the attached hosts obtain additional configuration information through the RA messages advertised by Routers.

Prerequisites

IPv6 has been enabled on the involved interface using the ipv6 enable command.

Configuration Impact

If the ipv6 nd autoconfig managed-address-flag command is run, hosts can obtain additional configuration information (excluding IPv6 addresses) though the ipv6 nd autoconfig other-flag command is not run.

To check whether the attached hosts obtain IPv6 addresses through stateful autoconfiguration or stateless autoconfiguration, run the display ipv6 interface command.

Precautions

The interface on a Router cannot use stateful and stateless address autoconfiguration simultaneously to obtain additional configuration information (excluding IPv6 addresses).

Example

# Set the "other configuration" flag (O flag) on GE 0/1/1.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/1
[~HUAWEI-GigabitEthernet0/1/1] ipv6 enable
[*HUAWEI-GigabitEthernet0/1/1] ipv6 nd autoconfig other-flag
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >