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).
Example for Configuring a DHCPv6 PD Server

Example for Configuring a DHCPv6 PD Server

Networking Requirements

In Figure 9-16, the industrial switch router is required to function as a DHCPv6 PD server and assign an IPv6 address prefix to the DHCPv6 PD client. Configure the industrial switch router as a DHCPv6 PD server to assign IPv6 addresses and other network configuration parameters to DHCPv6 clients. This facilitates centralized management and layered IPv6 network deployment. The DHCPv6 PD server assigns DNS server address fc00:2::1/64 to a client. The DHCPv6 PD server and client are on the same link.

Figure 9-16  Networking diagram for configuring DHCPv6 PD server

Configuration Roadmap

The configuration roadmap is as follows:
  1. Enable IPv6 functions on the interface so that devices can communicate using IPv6.

  2. Enable the DHCPv6 PD server function so that DHCPv6 PD server can assign IPv6 address using DHCPv6.

Procedure

  1. Enable the DHCP service.

    <Huawei> system-view
    [Huawei] sysname RouterA
    [RouterA] dhcp enable

  2. Configure a DHCPv6 PD server.

    [Huawei] dhcpv6 pool pool1 
    [RouterA-dhcpv6-pool-pool1] prefix-delegation fc00:1::/60 63
    [RouterA-dhcpv6-pool-pool1] dns-server fc00:2::1  
    [RouterA-dhcpv6-pool-pool1] quit

  3. Configure IPv6 functions on an interface.

    [RouterA] ipv6
    [RouterA] interface gigabitethernet 0/0/1
    [RouterA-GigabitEthernet0/0/1] undo portswitch
    [RouterA-GigabitEthernet0/0/1] ipv6 enable
    [RouterA-GigabitEthernet0/0/1] ipv6 address fc00:1::1/64

  4. Enable the DHCPv6 PD server function on an interface.

    [RouterA-GigabitEthernet0/0/1] dhcpv6 server pool1 

  5. Configure M and O flag bits of RA messages through which the DHCPv6 PD client learns the route to the IPv6 gateway.

    [RouterA-GigabitEthernet0/0/1] undo ipv6 nd ra halt 
    [RouterA-GigabitEthernet0/0/1] ipv6 nd autoconfig managed-address-flag
    [RouterA-GigabitEthernet0/0/1] ipv6 nd autoconfig other-flag
    [RouterA-GigabitEthernet0/0/1] quit
    [RouterA] quit

  6. Verify the configuration.

    # Run the display dhcpv6 pool command on the industrial switch router to check information about the DHCPv6 address pool.

    <RouterA> display dhcpv6 pool pool1
     DHCPv6 pool: pool1                                                              
      Prefix delegation: FC00:1::/60 63                                               
        Lifetime valid 172800 seconds, preferred 86400 seconds                      
        0 in use                                                                    
      Information refresh time: 86400                                               
      DNS server address: FC00:2::1                                                   
      Conflict-address expire-time: 172800                                          
      Active pd clients: 0     
    

    # Run the display dhcpv6 server command on the industrial switch router to check information about the DHCPv6 server.

    <RouterA> display  dhcpv6  server
      Interface                                DHCPv6 pool                           
      GigabitEthernet0/0/1                     pool1   
    

Configuration File

Configuration file of RouterA

#
 sysname RouterA
#                                                                               
ipv6                                                                            
#                                                                               
dhcp enable                                                                   
#  
dhcpv6 pool pool1                                                               
 prefix-delegation FC00:1::/60 63                                                 
 dns-server FC00:2::1                                                             
#                       
interface GigabitEthernet0/0/1                                                  
 undo portswitch
 ipv6 enable                                                                    
 ipv6 address FC00:1::1/64                                                    
 undo ipv6 nd ra halt
 ipv6 nd autoconfig managed-address-flag
 ipv6 nd autoconfig other-flag
 dhcpv6 server pool1   
#  
return
Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034231

Views: 80347

Downloads: 51

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