The tos command sets the ToS value for an NQA test packet.
The undo tos command restores the default ToS value of an NQA test packet.
By default, the ToS value is 0.
Parameter | Description | Value |
---|---|---|
value | Specifies the ToS value of a packet. | The value is an integer that ranges from 0 to 255. The default value is 0. |
Usage Scenario
The ToS field contains a precedence sub-field and a ToS sub-field. The precedence sub-field indicates the priority of a packet and the ToS sub-field is seldom used. All the bits in the ToS sub-field must be set to 0. You can set the priority of probe packets by setting the ToS value. When a large number of packets are received, packets of high priorities are processed preferentially.
Prerequisites
Configuration Impact
If you run the tos command multiple times, only the latest configuration takes effect.
Precautions
The ToS value of a running test instance cannot be changed.