Configuring an ipv6 link-local address – H3C Technologies H3C SecPath F1000-E User Manual

Page 113

Advertising
background image

13

vulnerability, you can configure the temporary address function that enables the system to generate and

use temporary IPv6 addresses with different interface ID portions 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.

NOTE:

An interface can have one link-local address only. To avoid link-local address conflicts, it is
recommended to generate a link-local address on an interface automatically.

Manual assignment takes precedence over automatic generation. If you first use automatic generation
and then manual assignment, the manually assigned link-local address will overwrite the automatically
generated one. If you first use manual assignment and then automatic generation, the automatically

generated link-local address will 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.

Follow these steps to configure automatic generation of an IPv6 link-local address for an interface:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter interface view

interface interface-type
interface-number

Configure the interface to
automatically generate an

IPv6 link-local address

ipv6 address auto link-local

Optional
By default, after an IPv6 site-local
address or global unicast address is

configured on an interface, a link-local

address is generated automatically.


Follow these steps to configure an IPv6 link-local address manually:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter interface view

interface interface-type
interface-number

Configure an IPv6 link-local
address manually

ipv6 address ipv6-address
link-local

Optional
By default, after an IPv6 site-local

address or global unicast address is
configured on an interface, a link-local

address is generated automatically.

Advertising
This manual is related to the following products: