R3721-F3210-F3171-HP High-End Firewalls High Availability Command Reference-6PW101

44
NQA configuration commands
NQA client configuration commands
data-fill
Syntax
data-fill string
undo data-fill
View
ICMP echo, UDP echo, UDP jitter test type view
Default level
2: System level
Parameters
string: A case-sensitive string of 1 to 200 characters.
Description
Use data-fill to configure the string to be filled in the data field of a probe packet.
Use undo data-fill to restore the default.
By default, the string is the hexadecimal number 00010203040506070809.
If the data field length is smaller than the string length, only the first part of the string is filled. For
example, if you configure the string as abcd and the data field size as 3 bytes, abc is filled.
If the data field length is greater than the string length, the system fills the data field with the string
cyclically until the data field is full. For example, if you configure the string as abcd and the data
field size as 6 bytes, abcdab is filled.
How the string is filled varies with test types:
For ICMP echo tests, the string fills the whole data field of ICMP echo requests.
For UDP echo tests, the first five bytes of the data field of a UDP packet are for special purpose, so
the string fills the remaining part of data field.
For UDP jitter tests, the first 68 bytes of the data field of a UDP packet are for special purpose, so
the string fills the remaining part of the data field.
Examples
# Configure string abcd to be filled in the data field of an ICMP echo request.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] data-fill abcd