Configuring prefix-specific address autoconfiguration

  1. Enter system view.

    system-view

  2. Configure an IPv6 prefix.

    Choose one option as needed:

    • Configure a static IPv6 prefix.

      ipv6 prefix prefix-number ipv6-prefix/prefix-length

      By default, no static IPv6 prefixes exist.

    • Use DHCPv6 to obtain a dynamic IPv6 prefix.

      For more information about IPv6 prefix acquisition, see "Configuring the DHCPv6 client."

  3. Enter interface view.

    interface interface-type interface-number

  4. Specify an IPv6 prefix for an interface to automatically generate an IPv6 global unicast address and advertise the prefix.

    ipv6 address prefix-number sub-prefix/prefix-length

    By default, no IPv6 prefix is specified for the interface to automatically generate an IPv6 global unicast address.