apply remark-dscp (Flow-Route IPv6 VPN instance view)

Function

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.

Format

apply remark-dscp { be | cs1 | af11 | af12 | af13 | cs2 | af21 | af22 | af23 | cs3 | af31 | af32 | af33 | cs4 | af41 | af42 | af43 | cs5 | ef | cs6 | cs7 | dscp-value }

undo apply remark-dscp

Parameters

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.

Views

Flow-Route IPv6 VPN instance view, Flow-Route VPN instance view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
flow-route write

Usage Guidelines

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.

Example

# Configure the operation of re-marking the DSCP value of matching traffic in the static BGP IPv6 VPN Flow Specification route Rule 1.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance vpna
[~HUAWEI-vpn-instance-vpna] quit
[~HUAWEI] flow-route Rule1 ipv6 vpn-instance vpna
[*HUAWEI-flow-route-ipv6-vpna] if-match port equal 24
[*HUAWEI-flow-route-ipv6-vpna] apply remark-dscp 56
# Configure the operation of re-marking the DSCP value of matching traffic in the static BGP VPN Flow Specification route Rule 1.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance vpna
[~HUAWEI-vpn-instance-vpna] quit
[~HUAWEI] flow-route Rule1 vpn-instance vpna
[*HUAWEI-flow-route-vpna] if-match port equal 24
[*HUAWEI-flow-route-vpna] apply remark-dscp 56
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >