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

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

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).
(Optional) Associating a DNS Server with NQA

(Optional) Associating a DNS Server with NQA

Context

After a DNS server is associated with NQA, the device sends a query packet only to the DNS server in Up state during dynamic domain name resolution. This improves the domain name resolution efficiency.

Procedure

  1. Configure and start NQA test instances. A DNS server can be associated with NQA test instances of the DNS and ICMP types. According to the test mechanism, NQA test instances of the DNS type are used to test whether the DNS server function is normal; those of the ICMP type are used to test whether routes to the DNS server are reachable. You can select one NQA test instance type based on the site requirements.

    • Configuring and starting an NQA test instance of the DNS type
      1. Run system-view

        The system view is displayed.

      2. Run nqa test-instance admin-name test-name

        An NQA test instance is created and the test instance view is displayed.

        By default, no NQA test instance is configured.

      3. Run test-type dns

        The test instance type is set to DNS.

        By default, no test type is configured for an NQA test instance.

      4. Run dns-server ipv4 ip-address

        The DNS server address is configured.

        By default, no DNS server address is configured.

        NOTE:
        Ensure that the configured DNS server address is the same as that specified in the dns server ip-address track nqa admin-name test-name command. If the addresses are different, the NQA check result will not match the associated DNS server.
      5. Run destination-address url urlstring

        The destination host name is configured.

        By default, no test destination host name is configured.

      6. Run frequency interval

        The automatic test interval is set for the NQA test instance.

        By default, no automatic test interval is set. The system performs the test only once.

      7. Run start

        The NQA test instance is started.

        An NQA test instance can be started immediately, at a specified time, or after a specified delay.

        • Run the start now [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } } ] command to start the test instance immediately.

        • Run the start at [ yyyy/mm/dd ] hh:mm:ss [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } } ] command to start the test instance at a specified time.

        • Run the start delay { seconds second | hh:mm:ss } [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } } ] command to start the test instance after a specified delay.

      8. Run quit

        Exit from the NQA test instance view.

    • Configuring and starting an NQA test instance of the ICMP type
      1. Run system-view

        The system view is displayed.

      2. Run nqa test-instance admin-name test-name

        An NQA test instance is created and the test instance view is displayed.

        By default, no NQA test instance is configured.

      3. Run test-type icmp

        The test type is set to ICMP.

        By default, no test type is configured for an NQA test instance.

      4. Run destination-address ipv4 ipv4-address

        The destination address is configured.

        By default, no test destination address is configured.

      5. Run frequency interval

        The automatic test interval is set for the NQA test instance.

        By default, no automatic test interval is set. The system performs the test only once.

      6. Run start

        The NQA test instance is started.

        An NQA test instance can be started immediately, at a specified time, or after a specified delay.

        • Run the start now [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } } ] command to start the test instance immediately.

        • Run the start at [ yyyy/mm/dd ] hh:mm:ss [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } } ] command to start the test instance at a specified time.

        • Run the start delay { seconds second | hh:mm:ss } [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } } ] command to start the test instance after a specified delay.

      7. Run quit

        Exit from the NQA test instance view.

    NOTE:
    • To persistently detect the DNS server status, you need to perform periodical test for NQA test instances. Therefore, run the frequency interval command to set the automatic test interval for NQA test instances.
    • This section only mentions basic configuration parameters of the DNS and ICMP NQA test instances. For details on how to configure other parameters, see Configuring DNS Test and Configuring ICMP Test in the Huawei AR100&AR120&AR150&AR160&AR200&AR1200&AR2200&AR3200&AR3600 Series V300R003 Configuration Guide-Network Management and Monitoring-Configuring the NQA.

  2. Run dns resolve

    The dynamic domain name resolution function is enabled.

    By default, dynamic domain name resolution is disabled.

  3. Run dns server ip-address track nqa admin-name test-name

    An IP address for the DNS server is configured and the DNS server is associated with NQA. During dynamic domain name resolution, the device sends a query request only to the DNS server in Up state.

    By default, no DNS server IP address is configured.

    NOTE:

    You can run the display dns server command to check the DNS server status. When the DNS server is not associated with NQA, the server is in Up state. After the DNS server is associated with NQA, the server status depends on the NQA check result. When the NQA test instance type is not DNS and ICMP, the association between the DNS server and NQA does not take effect and the DNS server is in Up state.

Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069333

Views: 33329

Downloads: 167

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