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

NE40E V800R010C10SPC500 Configuration Guide - User Access 01

This is NE40E V800R010C10SPC500 Configuration Guide - User Access
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 DHCPv6 (IA_NA) Address Allocation

Configuring DHCPv6 (IA_NA) Address Allocation

This section describes how to configure the NE40E to use DHCPv6 (IA_NA) to allocate IPv6 addresses when the CPE works in bridging mode.

Usage Scenario

In DHCPv6(IA_NA) address allocation mode, IA_NA options are used to carry IA addresses to be allocated.

Figure 5-5 Networking diagram of DHCPv6(IA_NA) address allocation mode

The host initiates a connection request and the CPE transparently forwards the connection request packet. The NE40E uses DHCPv6 (IA_NA) to allocate IPv6 addresses to the host.

Pre-configuration Tasks

Before configuring DHCPv6 address allocation, enable IPv6.

Configuration Procedures

Figure 5-6 Flowchart for configuring DHCPv6 (IA_NA) address allocation

Configuring the NE40E based on Its Role

This section describes how to configure the NE40E based on its role.

Context

When a device acts as a DHCPv6 relay agent, refer to the configuration of Configuring a DHCPv6 Relay Agent on the User Side.

When a device acts as a DHCPv6 server, perform the following operations to allow Layer 3 DHCPv6 users to request for IPv6 addresses from an IPv6 relay address pool.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ipv6 prefix prefix-name local

    An IPv6 prefix pool is created, and the IPv6 prefix pool view is displayed.

    The address pool is of the relay type, and the prefix pool must be configured as the local mode.

  3. Run prefix prefix-address/prefix-length

    An IPv6 address prefix is configured.

  4. Run quit

    The system view is displayed.

  5. Run ipv6 pool pool-name bas relay

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

  6. Run prefix prefix-name

    The IPv6 address pool is bound to the IPv6 prefix pool.

Configuring the State of Address Allocation

Configuring the state of address allocation according to the IPv6 access mode and address allocation mode.

Context

Stateful address allocation (M=1) should be configured for IA_NA and IA_NA+IA_PD address allocation modes.

If the M flag is 1, the clients need to obtain IPv6 addresses and other configuration information in stateful mode.

NOTE:
  • For PPPoE users, the domain configuration determines whether stateful or stateless configuration should be adopted.
  • For IPoE users, the interface configuration determines whether stateful or stateless address configuration should be adopted.

Perform the following steps on the NE40E:

Procedure

  • Configure the state of address allocation on an interface.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run ipv6 nd autoconfig managed-address-flag

      Stateful address allocation mode is enabled.

    4. Run ipv6 nd autoconfig other-flag

      The O flag is set to 1 to enable stateful mode.

    Configures unicast as the destination IP address type for RA packets.

    1. Run bas

      The BAS interface view is displayed.

    2. (Optional) Run ipv6 nd ra unicast

      The router is enabled to send RA packets that carry unicast destination IP addresses in response to IPoEv6 user access requests.

  • Configure the state of address allocation in a domain.
    1. Run system-view

      The system view is displayed.

    2. Run aaa

      The AAA view is displayed.

    3. Run domain domain-name

      A domain is created and the AAA domain view is displayed.

    4. Run ipv6 nd autoconfig managed-address-flag [ interface-id ipv6cp ]

      Stateful address allocation is configured for PPPoX users.

    5. Run ipv6 nd autoconfig other-flag { ndra | dhcpv6 }

      The O flag is set.

    6. (Optional) Run prefix-assign-mode unshared

      The IPv6 prefix allocation mode is set to unshared mode. After the configuration, IPv6 users do not share the same IP prefix.

    7. (Optional) Run dhcpv6-follow-ipv6cp wait-delay { time-value| infinity }

      The timeout period for waiting for a DHCPv6 connection request is set.

    8. (Optional) Run ipv6 nd ra unicast

      The router is enabled to send RA packets that carry unicast destination IP addresses in response to PPPv6 user access requests.

  • Run commit

    The configuration is committed.

Verifying the DHCPv6 (IA_NA) Address Allocation Configuration

After DHCPv6 address allocation mode is configured, you can check the configuration of the IPv6 address pool, the prefix pool, the domain, and usage in the address pool bound to the domain.

Procedure

  • Run the display ipv6 pool [ pool-name ] command to check the IPv6 address pool configurations.
  • Run the display ipv6 prefix [ prefix-name [ all | used ] ] command to check the IPv6 prefix pool configurations.
  • Run the display domain [ domain-name ] command to check the domain configurations.
  • Run the display ipv6-pool pool-usage [ domain domain-name | pool-name [ pool-name ] ] command to check information about the usage of the address pool.
  • Run the display ipv6-pool max-usage { pool [ pool-name ] | domain [ domain-name ] } command in any view to check the historical maximum usage of addresses in an IPv6 address pool.
  • Run the display ipv6-pool max-ratio domain command to check information about IPv6 address pool or prefix pool usage in all domains on the device.
  • Run the display ipv6-pool pool-usage { upper-threshold | lower-threshold | all-threshold } command to check information about domains whose IPv6 address pool or prefix pool usage exceeds a specified threshold.
Translation
Download
Updated: 2019-01-03

Document ID: EDOC1100055031

Views: 17782

Downloads: 72

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