Configuring a Link-local Address for an Interface

Link-local addresses are used in neighbor discovery and in the communication between nodes on the local link during stateless address autoconfiguration. Link-local addresses are valid only on local links, meaning that packets with link-local addresses as source or destination addresses are not forwarded to other links.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run ipv6 enable

    IPv6 is enabled on the interface.

  4. Perform either of the following operations according to on-site requirements:

    • To automatically configure the link-local address of the interface, run the ipv6 address auto link-local command.

    • To manually configure the link-local address of the interface, run the ipv6 address ipv6-address link-local command.

    You can configure multiple IPv6 addresses but only one link-local address for an interface.

  5. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >