1-3
Test type Code type Reserved bytes
jitter None First 68 bytes
jitter G.711 A-Law First 16 bytes
jitter G.711 muHmm-Law First 16 bytes
jitter G.729 A-Law First 16 bytes
Examples
# Configure a packet padding string 12 ab cd.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] hwping administrator icmp
[Sysname-hwping-administrator-icmp] datafill 12 ab cd
datasize
Syntax
datasize size
undo datasize
View
HWPing test group view
Parameters
size: Size of a test packet in bytes. The value range varies with the test types.
Table 1-2 Value range of the HWPing test packets
Test Type Code Range Default value
Jitter None 68-8100 68
Jitter G.711 A-Law 16-1500 172
Jitter G.711 U-Law 16-1500 172
Jitter G.729 A-Law 16-1500 32
ICMP None 4-8100 56
UDP None 4-8100 100
Other None 4-8100 0
Description
Use the datasize command to configure the size of a test packet in a test.
Use the undo datasize command to restore the default.
The configuration of packet size is only supported by ICMP, UDP and jitter tests.
Examples
# Set the size of ICMP test packets to 50 bytes.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] hwping administrator icmp
[Sysname-hwping-administrator-icmp] test-type icmp
[Sysname-hwping-administrator-icmp] datasize 50