
address of a link is valid only for the link. A packet with a link-local address as the source or
destination address is forwarded only along the local link.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type interface-number
The interface view is displayed.
Step 3
Perform the following as required.
Run:
ipv6 address auto link-local
Auto generation of the IPv6 link-local address is enabled.
Or
Run:
ipv6 address
ipv6-address
link-local
The IPv6 link-local address is manually configured.
Besides configuring a link-local address through the preceding two commands, you can also
configure a global unicast IPv6 address for auto generating a link-local address. For details, see
Configuring an IPv6 Global Unicast Address for an Interface
----End
5.3.4 Configuring an IPv6 Global Unicast Address for an Interface
A global unicast IP address is equal to an Internet IPv4 address and can be used for links whose
route prefixes can be aggregated. In this manner, routing entries can be reduced.
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:
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.
61