The remark dscp command re-marks the DSCP value of an IPv4 or IPv6 packet.
The undo remark dscp command cancels the configuration.
By default, re-marking the DSCP value of an IPv4 or IPv6 packet is not configured in traffic behavior view.
remark ipv6 dscp dscp-value
remark dscp { dscp-value | af11 | af12 | af13 | af21 | af22 | af23 | af31 | af32 | af33 | af41 | af42 | af43 | cs1 | cs2 | cs3 | cs4 | cs5 | cs6 | cs7 | default | ef }
undo remark ipv6 dscp [ dscp-value ]
undo remark dscp [ dscp-value | af11 | af12 | af13 | af21 | af22 | af23 | af31 | af32 | af33 | af41 | af42 | af43 | cs1 | cs2 | cs3 | cs4 | cs5 | cs6 | cs7 | default | ef ]
Parameter | Description | Value |
---|---|---|
dscp-value |
Specifies the DSCP value of IPv4 or IPv6 packets to be matched. |
The value is an integer ranging from 0 to 63. |
af11 |
DSCP value is af11. |
- |
af12 |
DSCP value is af12. |
- |
af13 |
DSCP value is af13. |
- |
af21 |
DSCP value is af21. |
- |
af22 |
DSCP value is af22. |
- |
af23 |
DSCP value is af23. |
- |
af31 |
DSCP value is af31. |
- |
af32 |
DSCP value is af32. |
- |
af33 |
DSCP value is af33. |
- |
af41 |
DSCP value is af41. |
- |
af42 |
DSCP value is af42. |
- |
af43 |
DSCP value is af43. |
- |
cs1 |
DSCP value is cs1. |
- |
cs2 |
DSCP value is cs2. |
- |
cs3 |
DSCP value is cs3. |
- |
cs4 |
DSCP value is cs4. |
- |
cs5 |
DSCP value is cs5. |
- |
cs6 |
DSCP value is cs6. |
- |
cs7 |
DSCP value is cs7. |
- |
default |
DSCP value is default. |
- |
ef |
DSCP value is ef. |
- |
ipv6 |
Specifies an IPv6 packets. |
- |
Usage Scenario
The DSCP value of packets needs to be re-marked in certain cases. For example, the DSCP value has already been marked before service traffic passes the ingress (if the packets are sent from a DSCP domain or a user marks the DSCP value). The DSCP value still needs to be re-marked according to the SLA.
To modify the priority of IPv4or IPv6 packets in the traffic classifier, you can run this command to re-mark the DSCP value of the packets and adjust the priority of the packets.Prerequisites
The traffic behavior is configured.
Follow-up Procedure
The traffic policy is configured and applied to interfaces.
Precautions
If ipv6 is used, it indicates that the DSCP value of IPv6 packets is re-marked. If ipv6 is not used, it indicates that the DSCP value of IPv4 packets is re-marked. If the remark [ ipv6 ] dscp command is run repeatedly in the same traffic behavior view, the later configuration overrides the previous one.
This command re-marks only the outermost label of packets.