The rate command sets the rate (kbit/s) at which packets are sent in the packet loss ratio, delay, and throughput tests.
The undo rate command deletes the configured rate at which packets are sent in the packet loss ratio, delay, and throughput tests.
By default, the rate (kbit/s) at which packets are sent in the packet loss ratio, delay and throughput tests for a generalflow test is not set.
Parameter | Description | Value |
---|---|---|
rateL |
Specifies the lower thresholds in a throughput test for a generalflow test. |
The value is an integer ranging from 1 to 100,000,000, in kbit/s. The rateL value must be less than the rateH value. |
rateH |
Specifies the upper thresholds in a throughput test for a generalflow test. |
The value is an integer ranging from 1 to 100,000,000, in kbit/s. The rateL value must be less than the rateH value. |
Usage Scenario
To set the packet rate in a generalflow test instance, run the rate command. The rate rateL command applies to the packet loss ratio and delay tests. The rate rateL rateH command applies to throughput tests.
Prerequisites
The rate command can only be used for generalflow test instances.
Precautions
You cannot change this configuration of a running test instance.
<HUAWEI> system-view [~HUAWEI] nqa test-instance user test [*HUAWEI-nqa-user-test] test-type generalflow [*HUAWEI-nqa-user-test] measure throughput [*HUAWEI-nqa-user-test] rate 100 200
<HUAWEI> system-view [~HUAWEI] nqa test-instance user test [*HUAWEI-nqa-user-test] test-type generalflow [*HUAWEI-nqa-user-test] measure loss [*HUAWEI-nqa-user-test] rate 200