< Home

Configuring NQA for IPv4 Static Routes

Pre-configuration Tasks

Before associating IPv4 static routes with NQA, configure link layer parameters for interfaces to ensure that the link layer protocol status on the interfaces is Up.

Procedure

  1. Configure an NQA ICMP test instance.
    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 its view is displayed.

    3. Run test-type icmp

      The test type is set to ICMP.

      When a static route is associated with an NQA test instance, only ICMP test instances are used to test whether there are reachable routes between the source and destination.

    4. Run destination-address ipv4 ip-address

      The destination address is set.

      In an NQA test instance, you can specify an NQA server by running the destination-address command to configure a destination address for the NQA test instance.

    5. (Optional) Run frequency interval

      The interval for automatically performing an NQA test is set.

      By default, no interval is set, and only one test is performed.

    6. (Optional) Run probe-count number

      The number of probes to be sent each time is set for the NQA test instance.

      By default, the number of probes is 3.

      By sending probes multiple times in an NQA test instance, you can accurately estimate network quality based on the collected statistics.

    7. Run start

      The NQA test instance is started.

      The start command can be used to configure an NQA test instance to start immediately, at a specified time, or after a specified delay period. You can perform one of the following operations as required:
      • Run start now [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } } ]

        The NQA test instance starts immediately.

      • Run 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 } } ]

        The NQA test instance will start at a specified time.

      • Run 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 } } ]

        The NQA test instance will start after a specified delay period.

    8. Run quit

      Return to the system view.

  2. Associate static routes with an NQA test instance.
    1. Run ip route-static ip-address { mask | mask-length } { nexthop-address | interface-type interface-number [ nexthop-address ] } [ preference preference | tag tag ] * track nqa admin-name test-name [ description text ]

      IPv4 static routes are associated with an NQA test instance.

      The destination address of an NQA test instance cannot be the destination address of an associated static route.

      If the static route to be associated with an NQA test instance is already associated with a different NQA test instance, the static route is disassociated from the first NQA test instance once it becomes associated with the new NQA test instance.

Verifying the Configuration

Once IPv4 static routes are associated with NQA, run the following commands to check the configuration.

  • Run the display current-configuration | include nqa command to check the configuration of association between static routes and NQA.

  • Run the display nqa results [ collection ] [ test-instance admin-name test-name ] command to check the NQA test result.

    The NQA test result cannot be displayed automatically. You must run the display nqa results command to view the NQA test result. By default, the command output shows the results of the latest five NQA tests.

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