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 - 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).
Example for Configuring a DNS Test Instance

Example for Configuring a DNS Test Instance

Networking Requirements

In Figure 7-18, RouterA functions as a DNS client to access the host 10.2.1.1/24, using a domain name server.com.

Figure 7-18  Networking diagram for configuring a DNS test instance

Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure RouterA as an NQA client.

  2. Create and start a DNS test instance on the RouterA to check whether RouterA can set up a connection with the DNS server and to obtain the speed of responding to an address resolution request.

Procedure

  1. Configure IP addresses for the interfaces on the RouterA and ensure reachable routes between RouterA and server.com, RouterA and the DNS server.

    <Huawei> system-view
    [Huawei] sysname RouterA
    [RouterA] interface gigabitethernet 1/0/0
    [RouterA-GigabitEthernet1/0/0] ip address 10.1.1.1 24
    [RouterA-GigabitEthernet1/0/0] quit
    [RouterA] ospf
    [RouterA-ospf-1] area 0
    [RouterA-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255 
    [RouterA-ospf-1-area-0.0.0.0] quit
    [RouterA-ospf-1] quit

  2. Configure an NQA DNS test instance.

    <RouterA> system-view
    [RouterA] dns resolve
    [RouterA] dns server 10.3.1.1
    [RouterA] nqa test-instanc admin dns
    [RouterA-nqa-admin-dns] test-type dns
    [RouterA-nqa-admin-dns] dns-server ipv4 10.3.1.1
    [RouterA-nqa-admin-dns] destination-address url server.com

  3. Start the test instance.

    [RouterA-nqa-admin-dns] start now

  4. Verify the configuration.

    [RouterA-nqa-admin-dns] display nqa results test-instance admin dns
     NQA entry(admin, dns) :testflag is inactive ,testtype is dns
      1 . Test 1 result   The test is finished
       Send operation times: 1              Receive response times: 1
       Completion:success                   RTD OverThresholds number: 0
       Attempts number:1                    Drop operation number:0
       Disconnect operation number:0        Operation timeout number:0
       System busy operation number:0       Connection fail number:0
       Operation sequence errors number:0   RTT Status errors number:0
       Destination ip address: 10.3.1.1
       Min/Max/Average Completion Time: 1/1/1
       Sum/Square-Sum  Completion Time: 1/1
       Last Good Probe Time: 2012-7-20 16:23:49.1
       Lost packet ratio: 0 %                      

Configuration Files

RouterA configuration file

#
 sysname RouterA
#
 dns resolve
 dns server 10.3.1.1
#
interface GigabitEthernet1/0/0
 ip address 10.1.1.1 255.255.255.0
#
ospf 1
 area 0.0.0.0
  network 10.1.1.0 0.0.0.255
#
nqa test-instance admin dns
 test-type dns
 destination-address url server.com
 dns-server ipv4 10.3.1.1
#
return
Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174072

Views: 100647

Downloads: 332

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