Usage Scenario
The datasize command sets the size of the data field in a test packet. This ensures that the size of the test packet is closer to the size of the actual data packet and the statistics obtained is more accurate.
For example, if a UDP jitter test instance is used to detect VoIP services, you can run the
datasize command to set the size of the data field in a test packet to have the same size as the actual voice packet so as to simulate the actual traffic in a period of time.
Configuration Impact
If the commands jitter-codec and datasize have been run to set the packet size, running the datasize command again overrides the previous configuration.
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.