The apply remark-dscp command re-marks the differentiated services code point (DSCP) (the seven left-most bits of the type of service field in an IP header) value of a packet.
The undo apply remark-dscp command cancels the configuration.
By default, no DSCP value is re-marked for traffic.
Parameter | Description | Value |
---|---|---|
be |
BE(0). Specifies a re-marked DSCP type. The DSCP Value is 0. |
- |
cs1 |
CS1(8). Specifies a re-marked DSCP type. The DSCP Value is 8. |
- |
af11 |
AF11(10). Specifies a re-marked DSCP type. The DSCP Value is 10. |
- |
af12 |
AF12(12). Specifies a re-marked DSCP type. The DSCP Value is 12. |
- |
af13 |
AF13(14). Specifies a re-marked DSCP type. The DSCP Value is 14. |
- |
cs2 |
CS2(16). Specifies a re-marked DSCP type. The DSCP Value is 16. |
- |
af21 |
AF21(18). Specifies a re-marked DSCP type. The DSCP Value is 18. |
- |
af22 |
AF22(20). Specifies a re-marked DSCP type. The DSCP Value is 20. |
- |
af23 |
AF23(22). Specifies a re-marked DSCP type. The DSCP Value is 22. |
- |
cs3 |
CS3(24). Specifies a re-marked DSCP type. The DSCP Value is 24. |
- |
af31 |
AF31(26). Specifies a re-marked DSCP type. The DSCP Value is 26. |
- |
af32 |
AF32(28). Specifies a re-marked DSCP type. The DSCP Value is 28. |
- |
af33 |
AF33(30). Specifies a re-marked DSCP type. The DSCP Value is 30. |
- |
cs4 |
CS4(32). Specifies a re-marked DSCP type. The DSCP Value is 32. |
- |
af41 |
AF41(34). Specifies a re-marked DSCP type. The DSCP Value is 34. |
- |
af42 |
AF42(36). Specifies a re-marked DSCP type. The DSCP Value is 36. |
- |
af43 |
AF43(38). Specifies a re-marked DSCP type. The DSCP Value is 38. |
- |
cs5 |
CS5(40). Specifies a re-marked DSCP type. The DSCP Value is 40. |
- |
ef |
EF(46). Specifies a re-marked DSCP type. The DSCP Value is 46. |
- |
cs6 |
CS6(48). Specifies a re-marked DSCP type. The DSCP Value is 48. |
- |
cs7 |
CS7(56). Specifies a re-marked DSCP type. The DSCP Value is 56. |
- |
dscp-value |
Specifies a re-marked DSCP value. |
The value is an integer ranging from 0 to 63. |
Usage Scenario
After the apply remark-dscp command is configured for a BGP (IPv6) Flow Specification route or BGP (IPv6) VPN Flow Specification route, the DSCP value of the traffic matching a filtering rule is re-marked, and packet transmission quality is adjusted.
Prerequisites
A BGP (IPv6) Flow Specification route or BGP (IPv6) VPN Flow Specification route has been configured using the flow-route command in the system view.
Configuration Impact
If the apply remark-dscp command is run multiple times for the same BGP (IPv6) Flow Specification route or BGP (IPv6) VPN Flow Specification route, only the latest configuration takes effect.
Different dscp values correspond to different traffic classifier types.<HUAWEI> system-view [~HUAWEI] flow-route Rule1 ipv6 [*HUAWEI-flow-route-ipv6] if-match port equal 24 [*HUAWEI-flow-route-ipv6] apply remark-dscp 62
<HUAWEI> system-view [~HUAWEI] flow-route Rule1 [*HUAWEI-flow-route] if-match port equal 24 [*HUAWEI-flow-route] apply remark-dscp 56