datafill (PWE3 Ping test instance)

Function

The datafill command fills padding characters into the Data field of packets to be sent in an NQA PWE3 ping test instance.

The undo datafill command disables a device from filling padding characters into the Data field of packets to be sent in an NQA PWE3 ping test instance.

By default, there are no padding characters in the Data field.

Format

datafill fill-string

undo datafill

Parameters

Parameter Description Value
fill-string

Specifies the padding characters filled into NQA test packets.

The value is a string of 1 to 230

characters. The default value is a null string with no characters.

Views

NQA view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
sla write

Usage Guidelines

Usage Scenario

To fill special padding characters into the Data field of the test packets to be sent for identification, run the datafill command.

Configuration Impact

When running the datafill command, note the following points:

  • If the length of the data field in the test packet is shorter than the configured padding characters, only the forepart of the padding characters is used.
  • If the length of the Data field in the test packet is longer than the configured padding characters, the padding characters are used in cycle to fill in the Data field.

    For example, fill the padding characters abcd into the Data field of a test packet. If the size of the Data field is 3, only abc will be filled in. If the size of the Data field is 6, abcdab will be filled in.

Precautions

If parameters need to be changed during the running of the test instance, the system prompts you whether to terminate the test instance. Press "Y" or "N" as required.

  • If you press "Y", the test instance is terminated and parameters changed. The settings take effect after being committed. To restart the test instance, run the start command.
  • If you press "N", the test instance keeps running, and the parameters fail to be modified.

Example

# Fill the padding characters abcd into the test packet for the test instance named user test.
<HUAWEI> system-view
[~HUAWEI] nqa test-instance user test
[*HUAWEI-nqa-user-test] test-type pwe3ping
[*HUAWEI-nqa-user-test] datafill abcd
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >