13
If the payload length is greater than the string length, the system fills the payload with the string
cyclically until the payload is full. For example, if you configure the string as
abcd
and the payload
size as 6 bytes,
abcdab
is filled.
How the string is filled depends on the operation type.
•
For the ICMP echo operation, the string fills the whole payload of an ICMP echo request.
•
For the UDP echo operation, the first five bytes of the payload of a UDP packet are for special
purpose. The string fills the remaining part of payload.
•
For the UDP jitter operation, the first 68 bytes of the payload of a UDP packet are for special
purpose. The string fills the remaining part of the payload.
•
For the voice operation, the first 16 bytes of the payload of a UDP packet are for special
purpose. The string fills the remaining part of the payload.
•
For the path jitter operation, the first four bytes of the payload of an ICMP echo request are for
special purpose. The string fills the remaining part of payload.
Examples
# Specify
abcd
as the payload fill string for ICMP echo requests.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] data-fill abcd
# In TCP template view, specify
abcd
as the payload fill string for requests.
<Sysname> system-view
[Sysname] nqa template tcp tcptplt
[Sysname-nqatplt-tcp-tcptplt] data-fill abcd
data-size
Use
data-size
to configure the size of the payload in each probe packet.
Use
undo data-size
to restore the default.
Syntax
data-size
size
undo
data-size
Default
The default payload size of a probe packet for different operations is described in
.
Table 5 Default payload size of a probe packet
Operation type
Codec type
Default size (bytes)
ICMP echo
N/A
100
UDP echo
N/A
100
UDP jitter
N/A
100
UDP tracert
N/A
100
Path jitter
N/A
100
Voice G.711
A-law
172
Voice G.711
µ-law
172
Voice G.729
A-law
32