< Home

(Optional) Configuring the Options of an IPv6 Address Pool

Context

DHCPv6 provides various options. To use these options, add them to the attribute list of the DHCPv6 server manually. If the DHCPv6 server is configured with the vendor-defined Option field, the client can obtain the configuration information in the Option field of the DHCPv6 reply packet from the server when a DHCPv6 client applies for an IPv6 address.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run dhcpv6 pool pool-name

    An IPv6 address pool is created and the address pool view is displayed.

    By default, no IPv6 address pool is created on the device.

  3. Run vendor-specific vendor-id

    Vendor-defined options are configured for the IPv6 address pool and the vendor-defined mode view is displayed.

    By default, no vendor-defined option is configured. A maximum of 8 vendor-defined options can be configured for one IPv6 address pool.

    vendor-id indicates the vendor identifier ID, which is assigned by the IANA. The identifier ID of Huawei is 2011.

  4. Run suboption suboption-code { address ipv6-address &<1-4> | ascii ascii-string | hex hex-string }

    Vendor-defined DHCPv6 sub-options are configured in the vendor-defined mode view.

    A maximum of 16 vendor-defined sub-options can be configured in the vendor-defined mode view.

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