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


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


NE20E-S2 V800R010C10SPC500 Configuration Guide - IP Services 01

This is NE20E-S2 V800R010C10SPC500 Configuration Guide - IP Services
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 DHCP-PNP

Configuring DHCP-PNP

This section describes how to configure Dynamic Host Configuration Protocol (DHCP) plug-and-play (PNP). DHCP PNP enables the network management system (NMS) to remotely configure and commission devices. This feature improves the working process and reduces operation and maintenance (O&M) costs.

Usage Scenario

Mobile networks have lots of access devices. Software commissioning engineers need to configure and commission these devices on site. This network construction method requires significant human and material resources, causing high capital expenditure (CAPEX) and operational expenditure (OPEX). DHCP PNP has been developed to resolve the problem.

DHCP PNP enables the NMS to use DHCP to automatically configure and commission devices remotely. This solution reduces the time required to commission devices on site and frees personnel from working in unfavorable outdoor environments. It improves the working process and reduces costs. Figure 4-6 shows the DHCP PNP networking.

This feature is supported only on the Admin-VS.

Figure 4-6 DHCP PNP networking

Pre-configuration Tasks

Before configuring DHCP PNP, complete the following tasks:
  • Configure a DHCP server.

  • Configure a DHCP relay agent if the DHCP client and DHCP server are not on the same network segment.


  • If the plug-and-play function is required, perform the following operations when the DHCP client and server are on different network segments:
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run dhcp select relay

      The DHCP relay function is enabled.

    4. Run ip relay address ip-address

      The IP address of the DHCP server to which the DHCP relay agent relays packets is configured on the DHCP relay agent.

    5. (Optional)Run ip relay source-ip-address ip-address

      An IP address is configured for the DHCP relay agent.

      This step is performed only when DHCP relay agent and DHCP server routes are isolated and DHCP PNP is required.

    6. Run commit

      The configuration is committed.

  • If the plug-and-play function is not required, use serial interfaces to connect to the DHCP client. In the system view, run the undo pnp enable command on the DHCP client to disable DHCP PNP. This function protects user configurations from being affected by automatic VLAN learning.


After the configuration is complete, run the following commands on the DHCP client to check the result:

Run the display pnp state command to check whether the device is in the DHCP PNP state.

<HUAWEI> display pnp state
PNP State!!!PLEASE UNDO PNP enable for manual Setup! 
You can undo PNP in system view with "undo pnp enable

Run the display nms-vpn-instance ip-address ip-address command to view VPN instances to which the specified IP address is bound.

<HUAWEI> display nms-vpn-instance ip-address
IP Address           Interface                                VPN-Instance  
--------------------------------------------------------------------------------              gigabitethernet0/3/2                     vpna  

Follow-up Procedure

After DHCP PNP is performed, the PNP default route is no longer required. Run the undo pnp default route command on the DHCP client to delete route information and free up routing table space.

Updated: 2019-01-02

Document ID: EDOC1100055376

Views: 15176

Downloads: 33

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