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.


CLI-based Configuration Guide - Network Management and Monitoring

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R009

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).


An NQA DHCP test is performed using User Datagram Protocol (UDP) packets. The NQA client simulates a DHCP client to initiate a DHCP request on a specified interface. According to whether the interface obtains an IP address, you can determine whether DHCP servers are available on the network segment where the interface resides and measure the time the interface takes to obtain an IP address.

Figure 7-1 shows the process of a DHCP test:

  1. The client (RouterA) broadcasts a DHCP Discovery packet through the interface that needs to obtain an IP address to query a DHCP server. The Discovery packet is broadcast to the network segment where the interface resides.

  2. After receiving the Discovery packet, the DHCP server (RouterB) returns a DHCP Offer packet carrying its own IP address, to the client.

  3. The client broadcasts a DHCP Request packet to the network segment where the interface resides. The Request packet contains the IP address of the DHCP server.

  4. After receiving the Request packet, the DHCP server returns a DHCP ACK packet carrying an IP address assigned to the interface.

    After receiving the DHCP ACK packet, the client calculates the time taken to obtain an IP address from the DHCP server by subtracting the time the client sends the Discovery packet from the time the client receives the ACK packet.

Figure 7-1  DHCP test scenario

A DHCP test only uses an interface to send DHCP packets and releases the DHCP lease after obtaining an IP address for the interface. Therefore, the DHCP test does not consume address resources of the DHCP server. The interface used in a DHCP server must be in Up state.

The DHCP test results and historical records are collected in test instances. You can run commands to view the test results and historical records.

Updated: 2019-05-17

Document ID: EDOC1000174072

Views: 103764

Downloads: 343

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