No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - IP Service

AR500, AR510, AR531, AR550, AR1500, and AR2500 V200R010

This document describes the concepts and configuration procedures of IP Service features on the device, and provides the configuration examples.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring an IPv6 Address Pool

Configuring an IPv6 Address Pool

Context

To implement the DHCPv6 function, you need to create an IPv6 address pool and configure its attributes including the IPv6 address range, IPv6 configuration update time, IPv6 addresses not to be automatically allocated, and IPv6 addresses to be statically bound to clients. IPv6 addresses can be dynamically assigned or statically bound to clients based on client requirements.

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. (Optional) Run lock

    The IPv6 address pool is locked

    By default, the IPv6 address pool is unlocked.

  4. Run the commands in the IPv6 address pool view to configure the network prefix.

    When functioning as a DHCPv6 server, the device supports the DHCPv6 stateful mode and DHCPv6 stateless mode to assign network parameters to clients. In DHCPv6 stateful mode, the DHCPv6 server automatically provides IPv6 addresses, prefixes, and other network configuration parameters, such as DNS, NIS, and SNTP server addresses. In DHCPv6 stateless mode, the DHCPv6 server does not provide IPv6 addresses but provides other configuration parameters about the DNS, NIS, and SNTP servers. IPv6 addresses for clients are still generated based on Route Advertisement (RA) packets.

    • When the DHCPv6 server needs to automatically assign network parameters in DHCPv6 stateful mode, run the address prefix [ prefix-name ] ipv6-prefix/ipv6-prefix-length [ eui-64 ] [ life-time { valid-lifetime | infinite } { preferred-lifetime | infinite } ] command to configure network prefixes and lifetimes in the IPv6 address pool view.

      By default, no network prefix and lifetime are configured in the IPv6 address pool view.

    • When the DHCPv6 server needs to automatically assign network parameters in DHCPv6 stateless mode, run the link-address ipv6-prefix/ipv6-prefix-length command to configure networks prefixes in the IPv6 address pool view.

      By default, no network prefix is configured in the IPv6 address pool view.

      The DHCPv6 server determines the clients on network segments to which the server assigns network configuration parameters from an address pool based on the configured network prefixes.

  5. (Optional) Run static-bind address [ prefix-name ] ipv6-address duid client-duid [ iaid iaid ] [ life-time { valid-lifetime | infinite } { preferred-lifetime | infinite } ]

    The IPv6 address is statically bound to the client DUID.

    By default, no IPv6 address is bound to client DUID in the address pool view.

    To statically assign specified IPv6 addresses to some specific clients, specify the mapping between IPv6 addresses and client DUIDs. When such a client requests an IPv6 address from the DHCPv6 server, the device functioning as the DHCPv6 server assigns the specified IPv6 address to the client.

    Configure the specified IPv6 addresses to be assigned only to the clients with specified DUIDs.

  6. (Optional) Run excluded-address [ prefix-name ] start-ipv6-address [ to end-ipv6-address ]

    The range of the IPv6 addresses that cannot be automatically assigned is specified in the IPv6 address pool.

    By default, all IPv6 addresses in the address pool can be automatically assigned to clients. If only one IPv6 address is not automatically assigned, you can specify only the value of start-ipv6-address.

  7. (Optional) Run information-refresh time

    The time is configured for updating configuration parameters assigned to clients through stateless DHCPv6 address autoconfiguration.

    By default, the time for updating IPv6 address pool configuration is 86400s (24 hours).

  8. (Optional) Run capwap-ac ipv6-address

    The IPv6 address for the AC is configured.

    By default, the AC's IPv6 address is not configured in the IPv6 address pool view.

    In the AC+Fit AP scenario, the AC needs to establish connections with APs. The device functioning as a DHCPv6 server can specify the AC's IPv6 address for an AP. The AP then can connect to the specified AC. If the AC and AP are located in the same network segment, this step is optional because the AP will send a broadcast packet to automatically discover the AC. If the AC and AP are located in different network segments, this step is mandatory.

  9. (Optional) Run renew-time-percent renew-time-percent rebind-time-percent rebind-time-percent

    The percentage of the lease renewal time and the percentage of the rebinding time in the preferred lifetime of an IPv6 address pool are configured.

    By default, the percentage of the lease renewal time in the preferred lifetime of an IPv6 address pool is 50%, and the percentage of the rebinding time is 80%.

  10. (Optional) Run import all interface interface-type interface-number

    The device is configured to dynamically assign configurations of the DNS server and SNTP server to DHCPv6 clients.

    By default, the device does not dynamically assign configurations of the DNS server and SNTP server to DHCPv6 clients.

  11. (Optional) Run conflict-address expire-time expire-time

    The aging time is set for conflicted addresses in the IPv6 address pool.

    By default, the aging time of conflicted addresses is 172800s (two days).

Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034231

Views: 79062

Downloads: 51

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next