A UDP jitter test measures the end-to-end jitter time for various services or simulates a voice test. Although the Internet Control Message Protocol (ICMP) reply function may be disabled on devices on the public network to defend against network attacks, the UDP jitter test can still be conducted.
Run system-view
The system view is displayed.
Run nqa-server udpecho [ vpn-instance vpn-instance-name ] ip-address port-number
The IP address and number of the port used to monitor UDP services are specified on the NQA server.
Run commit
The configuration is committed.
The system view is displayed.
The packet version is configured for a UDP jitter test instance.
Packet statistics collected in version 2 is more accurate than those in version 1. Packet version 2 is recommended.
Run nqa test-instance admin-name test-name
An NQA test instance is created, and the view of the test instance is displayed.
The test instance type is set to UDP jitter.
(Optional) Run description description
A description is configured for the test instance.
The client's destination address that is the NQA server address is specified.
Run destination-port port-number
The destination port number is specified for the UDP jitter test.
The hardware forwarding engine on an interface board is enabled to send packets and add timestamps to the packets.
A timestamp unit is configured for the NQA test instance.
The timestamp units need to be configured only after the hardware-based enable command is run.
Run jitter-codec { g711a | g711u | g729a }
The code type is set for the simulated voice test.
Run adv-factor factor-value
The advantage factor for simulated voice test calculation is set.
Run datasize datasizeValue
The size of the data field in an NQA test packet is configured.
Run jitter-packetnum number
The number of packets sent each time in a probe is set.
Run probe-count number
The number of probes is set for an NQA test instance.
Run interval { milliseconds interval | seconds interval }
The interval at which NQA test packets are sent is set for the NQA test instance.
The NQA test instance is configured to send packets without searching the routing table.
IPv6 network does not support this function.
The source IP address of NQA test packets is set.
Run source-port portValue
The source port number is set for the NQA test instance.
Run tos tos-value
The ToS value in NQA test packets is set.
Run ttl ttlValue
The TTL value in NQA test packets is set.
Run timeout time
The response timeout period is set.
If no response packets are received after the configured period elapses, the probe fails.
Run fail-percent percent
The failure percentage is set for the NQA test instance.
If the percentage of failed probes is greater than or equal to the configured failure percentage, the test is considered as a failure.
Run records { history number | result number }
The maximum number of historical records and the maximum number of result records that can be saved for the NQA test instance are set.
Run test-failtimes failTimes
The NQA test instance is configured to send a trap message to the NMS when the number of continuous probe failures reaches the specified value.
Run threshold { owd-ds owd-ds-value | owd-sd owd-sd-value | rtd thresholdRtd }
The thresholds for the round-trip delay (RTD) and one-way delay (OWD) are set.
Run send-trap { all | [ owd-ds | owd-sd | rtd | testfailure ]* }
The condition for triggering a trap is configured.
The VPN instance name is configured for the NQA test instance.
(Optional) Run frequency frequencyValue
The test period is set for the NQA test instance.
Run start
An NQA test is started.
The start command has multiple formats. Choose one of the following formats as needed.
To start an NQA test instance immediately, run the start now [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } } ] command.
To start an NQA test instance at a specified time, run the 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 } } ] command.
To start an NQA test instance after a specified delay, run the 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 } } ] command.
To start an NQA test instance at a specified time every day, run the start daily hh:mm:ss to hh:mm:ss [ begin yyyy/mm/dd ] [ end yyyy/mm/dd ] command.
The configuration is committed.