remark local-precedence (QoS profile view)
Function
The remark local-precedence command configures the action of re-marking internal priorities of packets in a QoS profile.
The undo remark local-precedence command cancels the configuration.
By default, the action of re-marking internal priorities of packets is not configured in a QoS profile.
Format
remark local-precedence { local-precedence-name | local-precedence-value }
undo remark local-precedence
Parameters
Parameter |
Description |
Value |
---|---|---|
local-precedence-name | Specifies the internal priority name. |
The value can be af1, af2, af3, af4, be, cs6, cs7, or ef. |
local-precedence-value | Specifies the internal priority value. |
The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority. |
Usage Guidelines
Usage Scenario
To provide differentiated services based on the internal priority of packets, run the remark local-precedence command to configure the device to re-mark the internal priority of packets so that the downstream device can identify the packets.
Precautions
If you run the remark local-precedence command multiple times, the latest configuration takes effect.
Example
# Configure the device to re-mark the internal priority of packets in a QoS profile.
<Huawei> system-view [Huawei] qos-profile name name1 [Huawei-qosprofile-name1] remark local-precedence 4
# Delete the internal priority of packets in a QoS profile.
<Huawei> system-view [Huawei] qos-profile name name1 [Huawei-qosprofile-name1] undo remark local-precedence