< Home

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 hot standby tunnels

Perform the following steps on the NQA client.

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 lsp-loopback loopback-address | lsp-loopback loopback-address lsp-masklen masklen ]

        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 hot standby 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 hot standby tunnel is configured.

    • 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 configured.

  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.

      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.

      In a uni-directional LSP Ping test, if the lsp-replymode no-reply command is configured, the test result shows 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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >