
5.4.5 Enabling Stateful Auto Configuration
After being enabled with stateful auto-configuration, the host can obtain an IPv6 address through
stateful auto-configuration, for example, the DHCP server.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface vlanif
vlan-id
The VLANIF interface view is displayed.
Step 3
Run:
ipv6 enable
You can enable the IPv6 capability.
Step 4
Run:
ipv6 nd autoconfig managed-address-flag
The flag bit for stateful auto configuration addresses is set.
If this flag is set, hosts use the stateful protocol for address auto-configuration in addition to any
addresses auto-configured using stateless address auto-configuration.
Step 5
Run:
ipv6 nd autoconfig other-flag
The flag bit for other stateful configurations is set.
When this flag is set, hosts use the stateful protocol for auto-configuration of other (non-address)
information.
----End
5.4.6 Configuring the Address Prefixes to Be Advertised
Nodes of the local links can perform address auto-configuration by using prefixes of these
addresses.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface vlanif
vlan-id
The VLANIF interface view is displayed.
Step 3
Run:
ipv6 enable
Quidway S2700 Series Ethernet Switches
Configuration Guide - IP Service
5 Basic Configurations of IPv6
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
65