The remark ip-precedence command configures an action of re-marking the IP precedence in IP packets in a traffic behavior.
The undo remark ip-precedence command deletes the configuration.
By default, an action of re-marking the IP precedence in IP packets is not configured in a traffic behavior.
Parameter |
Description |
Value |
---|---|---|
ip-precedence |
Specifies the IP precedence. |
The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority. |
Usage Scenario
When the downstream device needs to provide differentiated services based on the IP precedence, run the remark ip precedence command to configure the device to re-mark the IP precedence in IP packets in a traffic behavior.
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 IP precedence re-marking.
Precautions
After the re-marking action is configured, the device still processes outgoing packets based on the original priority but the downstream Layer 3 device or above processes the packets based on the re-marked priority.
A traffic policy containing the remark ip-precedence action can be only used in the inbound direction.
The remark dscp and remark ip-precedence commands cannot be used in the same traffic behavior.
If you run the remark ip-precedence command in the same traffic behavior view multiple times, only the latest configuration takes effect.