The remark local-precedence command configures an action of re-marking the internal priority in packets in a traffic behavior.
The undo remark local-precedence command deletes the configuration.
By default, an action of re-marking the internal priority in packets is not configured in a traffic behavior.
remark local-precedence { local-precedence-name | local-precedence-value } [ green | yellow | red ]
undo remark local-precedence
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support green, yellow, and red.
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. |
green |
Indicates that the green color corresponds to an internal priority. |
- |
yellow |
Indicates that the yellow color corresponds to an internal priority. |
- |
red |
Indicates that the red color corresponds to an internal priority. |
- |
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 device can provide QoS based on the re-marked priority.
Follow-up Procedure
Run the traffic policy command to create a traffic policy and run the classifier behavior command in the traffic policy view to bind the traffic classifier to the traffic behavior containing internal priority re-marking.
Precautions
Re-marking the internal priority only affects QoS processing of packets on the device.
The remark 8021p and remark local-precedence commands cannot be used in the same traffic behavior.
A traffic policy containing the remark local-precedence action can be only used in the inbound direction.
If you run the remark local-precedence command in the same traffic behavior view multiple times, only the latest configuration takes effect.