Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 3 HWPing Commands
3Com Corporation
3-2
Parameter
string: Data for padding test packets. It is a string of less than 230 characters. By
default, test packets are padded with characters in the range 0 255 cyclically.
Description
Use the datafill command to configure the data for padding test packets.
Use the undo datafill command to restore the default.
You can pad HWPing test packets with any character string. If the size of a test packet
is smaller than that of the configured padding string, only a portion of the data is used. If
the size of the packet is larger, the string is used cyclically for padding. Suppose a
padding string, “abcd” is configured. If the test packet size is 3, only “abc” is used; if it is
6, the string “abcdab" is used.
Example
# Configure a packet padding string “abcd”.
[Router-administrator-icmp] datafill abcd
3.1.3 datasize
Syntax
datasize size
undo datasize
View
HWPing test group view
Parameter
size: Test packet size in bytes. It ranges from 4 to 8100 and defaults to 0. Normally, you
may set the size of a test packet to 56 bytes for an ICMP test, 100 bytes for an UDP test,
and 28 to 100 bytes for a jitter test. The size of the packet for a jitter test can only take a
value in the range 28 to 100 bytes.
Description
Use the datasize command to configure the size of test packets.
Use the undo datasize command to restore the default.
Example
# Set the size of test packets to 50.
[Router-administrator-icmp] datasize 50