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).
Configuring the LSP Ping Test

Configuring the LSP Ping Test

Context

The NQA LSP Ping test can be used to test the reachability of the following types of Label Switched Paths (LSPs).
  • LSP tunnels

  • MPLS TE tunnels

  • MPLS CR-LSP hotstandby tunnels

NOTE:

The AR100&AR120&AR150&AR160&AR200 does not support the LSP ping test.

Perform the following steps on the NQA client.

The timeout, probe-count, frequency, and interval commands constrain each other; therefore, properly set the values when running the four commands. Improper command settings may lead to test failure.

  • On a network with poor quality and low transmission rate, increase the timeout value to ensure that the response to NQA detection packets can be received.
  • On a network with low reliability, increase the probe-count value because multiple detection packets may need to be sent to ensure successful detection.
  • The interval value must be larger than the timeout value.
  • The frequency value must be larger than the product of interval and probe-count.

Procedure

  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.

  3. Run test-type lspping

    The test type is set to LSP ping.

  4. Configure the LSP ping test based on the LSP type.

    • Configure the LSP ping test for the LSP tunnel.

      • Run lsp-type ipv4

        The tunnel type is set to be the LSP tunnel.

      • Run destination-address ipv4 ipv4-address [ lsp-masklen masklen [ lsp-masklen masklen ] [ vpn-frr-path ] | lsp-loopback loopback-address [lsp-masklen masklen ] [vpn-frr-path ] | vpn-frr-path ]

        The destination IP address to be tested is configured.

    • Configure the LSP ping test for the MPLS TE tunnel.

      • Run lsp-type te

        The tunnel type is set to be the MPLS TE tunnel.

      • Run lsp-tetunnel tunnel interface-number

        The TE tunnel interface to be tested is configured.

    • Configure the LSP ping test for the CR-LSP hotstandby tunnel.

      • Run lsp-type te

        The tunnel type is set to be TE tunnel.

      • Run lsp-tetunnel tunnel interface-number hot-standby

        The TE tunnel interface to be pinged is specified and the CR-LSP hotstandby tunnel is set to be tested.

    • Configure the LSP ping test for the CR-LSP primary tunnel.

      • Run lsp-type te

        The tunnel type is set to be TE tunnel.

      • Run lsp-tetunnel tunnel interface-number primary

        The TE tunnel interface to be pinged is specified and the CR-LSP primary tunnel is set to be tested.

  5. (Optional) Perform the following as required to configure other parameters for the LSP ping test:

    • Run lsp-version { rfc4379 | draft6 }

      A protocol used by the LSP ping test is configured.

    • Run lsp-nexthop nexthop-ip-address

      The next-hop IP address in the scenario where load balancing is enabled is configured on the initiator of the LSP ping test.

      NOTE:

      The next-hop IP address can be configured only when lsp-type is IPv4 and lsp-version is RFC 4379.

    • Run lsp-replymode { no-reply | udp }

      The response mode of the LSP Ping test is set.

      NOTE:

      In a uni-directional LSP Ping test, if the lsp-replymode no-reply command is configured, the test result displays that the test fails regardless of whether the test is successful or fails. If the test is successful, the test result also displays the number of the timeout packets. If the test fails, the test result displays the number of the discarded packets.

    • Run lsp-exp exp

      The LSP EXP value is set.

    • Run description string

      A description is configured for the test instance.

    • Run frequency interval

      The test period is set.

    • Run timeout time

      The timeout period of a probe is set.

    • Run source-address ipv4 ipv4-address

      The source IP address is configured.

    • Run ttl number

      The TTL value is set.

    • Run datafill fillstring

      The padding field is configured.

    • Run datasize size

      The packet size is set.

    • Run probe-count number

      The number of probes in each test is set.

      By default, the number of probes is 3.

    • Run

      probe-failtimes times

      The number of permitted maximum probe failures, (the threshold to trigger the trap message) is set.

    • Run test-failtimes times

      The trap threshold for continuous probe failures is set.

    • Run fail-percent percent

      The failure percentage is set.

      By default, the failure percentage is 100%, that is, the test is regarded failed only when all the probes fail.

    • Run interval seconds interval

      The interval at which test packets are sent is set.

      By default, test packets are sent at an interval of 4 seconds.

    • Run records history number

      The maximum number of historical records is set.

    • Run records result number

      The maximum number of result records is set.

    • Run agetime hh:mm:ss

      The aging time is set for the test instance.

Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174072

Views: 103707

Downloads: 343

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