< Home

Configuring the MAC Ping Test

Context

Before configuring the MAC ping test, complete the following task:
  • Enabling connectivity fault management (CFM) globally so that the maintenance association end points (MEPs) of the same level can reside on the same VLAN

During a MAC ping test, the source can send multiple LBMs continuously and then check whether LBRs are returned. In a MAC ping test, statistics about Ethernet OAM performance, including the average delay, jitter, and packet loss ratio, can be collected based on the timestamps in the test packets. These statistics can reflect Ethernet network performance.

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 macping

    The test type is set to MAC Ping.

  4. (Optional) Run mep mep-id mep-id

    The local MEP ID is configured.

  5. Run md md-name ma ma-name

    The MD and the MA are specified.

  6. Configure the destination address for the MAC ping test in either of the following methods:
    1. Run destination-address mac mac-address

      The destination MAC address is configured.

    2. Run destination-address remote-mep mep-id remote-mep

      The peer MEP ID is configured.

      If the type of the configured destination address is remote-mep, configure the mapping between remote-mep and the MAC address in the CFM module.

  7. (Optional) Run the following commands to set other parameters for the MAC ping test.

    • Run description string

      A description is configured for the test instance.

    • Run frequency interval

      The test period is set for the NQA test instance.

    • Run timeout time

      The timeout period of a probe is set for the NQA test instance.

    • Run datasize size

      The packet size is set for the NQA test instance.

    • Run source-interface interface-type interface-number

      The source interface that sends test packets is configured.

    • Run probe-count number

      The number of probes in a test is set.

    • Run jitter-packetnum number

      The number of test packets sent in each probe is set.

      By default, 20 packets are sent each time in each test.

      The Jitter test is used to collect and analyze the delay variation during the UDP packet transmission. To improve the accuracy of the test result, the system sends multiple test packets each time. The more test packets are sent, the more accurate the statistics are, and the longer the test lasts.

      The probe-count command sets the number of MAC Ping probes and the jitter-packetnum command sets the number of test packets sent during each probe. The product of probe count multiplied by the number of test packets must be less than or equal to 3000.

    • Run fail-percent percent

      The failure percentage is set for the NQA test instance.

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

    • Run probe-failtimes times

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

    • Run test-failtimes times

      The trap threshold for continuous probe failures is set for the NQA test instance.

    • Run records history number

      The maximum number of historical records is set for the NQA test instance.

    • Run records result number

      The maximum number of result records is set for the NQA test instance.

    • Run agetime hh:mm:ss

      The aging time is set for the NQA test instance.

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