Configuring An Ipv6 Link-Local Address - HPE FlexNetwork HSR6800 Configuration Manual

Comware 7 layer 3, ip services
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

Step
2.
Configure an IPv6 prefix.
3.
Enter interface view.
4.
Specify an IPv6 prefix for
an interface to
automatically generate an
IPv6 global unicast
address and advertise the
prefix.

Configuring an IPv6 link-local address

Configure IPv6 link-local addresses using one of the following methods:
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—Manually configure an IPv6 link-local address for an interface.
An interface can have only one link-local address. As a best practice, use the automatic generation
method to avoid link-local address conflicts. If both methods are used, the manual assignment takes
precedence.
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, both of the following occur:
The link-local address is still the manually assigned one.
The automatically generated link-local address does not take effect. If you delete the
manually assigned address, the automatically generated link-local address takes effect.
Configuring automatic generation of an IPv6 link-local address for an interface
Step
1.
Enter system view.
2.
Enter interface view.
3.
Configure the interface to
automatically generate an
IPv6 link-local address.
Command
(Method 1) Configure a static
IPv6 prefix:
ipv6 prefix prefix-number
ipv6-prefix/prefix-length
(Method 2) Use DHCPv6 to
obtain a dynamic IPv6 prefix:
For more information about
IPv6 prefix acquisition, see
"Configuring the DHCPv6
client."
interface interface-type
interface-number
ipv6 address prefix-number
sub-prefix/prefix-length
Command
system-view
interface interface-type
interface-number
ipv6 address auto link-local
211
Remarks
By default, no static or dynamic
IPv6 prefixes exist.
N/A
By default, no IPv6 prefix is
specified for the interface to
automatically generate an IPv6
global unicast address.
Remarks
N/A
N/A
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.

Advertisement

Table of Contents
loading

Table of Contents