Voice operation configuration example

Network requirements

As shown in Figure 18, configure a voice operation to test jitters, delay, MOS, and ICPIF between Device A and Device B.

Figure 18: Network diagram

Configuration procedure

  1. Assign IP addresses to interfaces, as shown in Figure 18. (Details not shown.)

  2. Configure static routes or a routing protocol to make sure the devices can reach each other. (Details not shown.)

  3. Configure Device B:

    # Enable the NQA server.

    <DeviceB> system-view
    [DeviceB] nqa server enable
    

    # Configure a listening service to listen on IP address 10.2.2.2 and UDP port 9000.

    [DeviceB] nqa server udp-echo 10.2.2.2 9000
    
  4. Configure Device A:

    # Create a voice operation.

    <DeviceA> system-view
    [DeviceA] nqa entry admin test1
    [DeviceA-nqa-admin-test1] type voice
    

    # Specify 10.2.2.2 as the destination IP address.

    [DeviceA-nqa-admin-test1-voice] destination ip 10.2.2.2
    

    # Set the destination port number to 9000.

    [DeviceA-nqa-admin-test1-voice] destination port 9000
    [DeviceA-nqa-admin-test1-voice] quit
    

    # Start the voice operation.

    [DeviceA] nqa schedule admin test1 start-time now lifetime forever
    

    # After the voice operation runs for a period of time, stop the operation.

    [DeviceA] undo nqa schedule admin test1
    

    # Display the most recent result of the voice operation.

    [DeviceA] display nqa result admin test1
    NQA entry (admin admin, tag test1) test results:
        Send operation times: 1000           Receive response times: 1000
        Min/Max/Average round trip time: 31/1328/33
        Square-Sum of round trip time: 2844813
        Last packet received time: 2011-06-13 09:49:31.1
      Extended results:
        Packet loss ratio: 0%
        Failures due to timeout: 0
        Failures due to internal error: 0
        Failures due to other errors: 0
    Packets out of sequence: 0
        Packets arrived late: 0
      Voice results:
       RTT number: 1000
        Min positive SD: 1                     Min positive DS: 1
        Max positive SD: 204                   Max positive DS: 1297
        Positive SD number: 257                Positive DS number: 259
        Positive SD sum: 759                   Positive DS sum: 1797
        Positive SD average: 2                 Positive DS average: 6
        Positive SD square-sum: 54127          Positive DS square-sum: 1691967
        Min negative SD: 1                     Min negative DS: 1
        Max negative SD: 203                   Max negative DS: 1297
        Negative SD number: 255                Negative DS number: 259
        Negative SD sum: 759                   Negative DS sum: 1796
        Negative SD average: 2                 Negative DS average: 6
        Negative SD square-sum: 53655          Negative DS square-sum: 1691776
      One way results:
        Max SD delay: 343                      Max DS delay: 985
        Min SD delay: 343                      Min DS delay: 985
        Number of SD delay: 1                  Number of DS delay: 1
        Sum of SD delay: 343                   Sum of DS delay: 985
        Square-Sum of SD delay: 117649         Square-Sum of DS delay: 970225
        SD lost packets: 0                   DS lost packets: 0
        Lost packets for unknown reason: 0
      Voice scores:
        MOS value: 4.38                        ICPIF value: 0
    

    # Display the statistics of the voice operation.

    [DeviceA] display nqa statistics admin test1
    NQA entry (admin admin, tag test1) test statistics:
      NO. : 1
    
        Start time: 2011-06-13 09:45:37.8
        Life time: 331 seconds
        Send operation times: 4000           Receive response times: 4000
        Min/Max/Average round trip time: 15/1328/32
        Square-Sum of round trip time: 7160528
      Extended results:
        Packet loss ratio: 0%
        Failures due to timeout: 0
        Failures due to internal error: 0
        Failures due to other errors: 0
    Packets out of sequence: 0
        Packets arrived late: 0
      Voice results:
       RTT number: 4000
        Min positive SD: 1                     Min positive DS: 1
        Max positive SD: 360                   Max positive DS: 1297
        Positive SD number: 1030               Positive DS number: 1024
        Positive SD sum: 4363                  Positive DS sum: 5423
        Positive SD average: 4                 Positive DS average: 5
        Positive SD square-sum: 497725         Positive DS square-sum: 2254957
        Min negative SD: 1                     Min negative DS: 1
        Max negative SD: 360                   Max negative DS: 1297
        Negative SD number: 1028               Negative DS number: 1022
        Negative SD sum: 1028                  Negative DS sum: 1022
        Negative SD average: 4                 Negative DS average: 5
        Negative SD square-sum: 495901         Negative DS square-sum: 5419
      One way results:
        Max SD delay: 359                      Max DS delay: 985
        Min SD delay: 0                        Min DS delay: 0
        Number of SD delay: 4                  Number of DS delay: 4
        Sum of SD delay: 1390                  Sum of DS delay: 1079
        Square-Sum of SD delay: 483202         Square-Sum of DS delay: 973651
        SD lost packets: 0                   DS lost packets: 0
        Lost packets for unknown reason: 0
      Voice scores:
        Max MOS value: 4.38                    Min MOS value: 4.38
        Max ICPIF value: 0                     Min ICPIF value: 0