H3C Technologies H3C S10500 Series Switches User Manual
Page 123

112
NOTE:
•
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 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, 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.
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, 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.
NOTE:
•
After an IPv6 global unicast address is configured for an interface, a link-local address is generated
automatically. The automatically generated link-local address is the same as the one generated by using
the ipv6 address auto link-local command. If a link-local address is manually assigned to an interface,
this manual link-local address takes effect. If the manually assigned link-local address is removed, the
automatically generated link-local address takes effect.
•
The undo ipv6 address auto link-local command can only remove the link-local addresses generated
through the ipv6 address auto link-local command. However, if an IPv6 global unicast address is
already configured for an interface, the interface still has a link-local address because the system
automatically generates one for the interface. If no IPv6 global unicast address is configured, the
interface has no link-local address.