R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide

144
Ste
p
Command
Remarks
3. Configure an IPv6 address
manually.
ipv6 address { ipv6-address
prefix-length |
ipv6-address/prefix-length }
By default, no IPv6 global unicast
address is configured on an interface.
Configuring an IPv6 link-local address
IPv6 link-local addresses can be configured in either of the following ways:
Automatic generation—The device automatically generates a link-local address for an interface
according to the link-local address prefix (FE80::/10) and the link-layer address of the interface.
Manual assignment—IPv6 link-local addresses can be assigned manually.
An interface can have only one link-local address. To avoid link-local address conflicts, use the automatic
generation method.
Manual assignment takes precedence over automatic generation.
If you first use automatic generation and then manual assignment, the manually assigned link-local
address overwrites the automatically generated one.
If you first use manual assignment and then automatic generation, the automatically generated
link-local address does not take effect and the link-local address is still the manually assigned one.
If you delete the manually assigned address, the automatically generated link-local address is
validated.
To configure automatic generation of an IPv6 link-local address for an interface:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Configure the interface
to automatically
generate an IPv6
link-local address.
ipv6 address auto link-local
Optional.
By default, no link-local address is
configured on an interface.
After an IPv6 global unicast address is
configured on the interface, a link-local
address is generated automatically.
To manually configure an IPv6 link-local address:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A