remark dscp

Use remark dscp to configure a DSCP marking action in a traffic behavior.

Use undo remark dscp to delete the action.

Syntax

remark [ green | red | yellow ] dscp dscp-value

undo [ green | red | yellow ] remark dscp

Default

No DSCP marking action is configured.

Views

Traffic behavior view

Predefined user roles

network-admin

Parameters

green: Specifies green packets.

red: Specifies red packets.

yellow: Specifies yellow packets.

dscp-value: Specifies a DSCP value, which can be a number from 0 to 63 or a keyword in Table 20.

Table 20: DSCP keywords and values

Keyword

DSCP value (binary)

DSCP value (decimal)

default

000000

0

af11

001010

10

af12

001100

12

af13

001110

14

af21

010010

18

af22

010100

20

af23

010110

22

af31

011010

26

af32

011100

28

af33

011110

30

af41

100010

34

af42

100100

36

af43

100110

38

cs1

001000

8

cs2

010000

16

cs3

011000

24

cs4

100000

32

cs5

101000

40

cs6

110000

48

cs7

111000

56

ef

101110

46

Examples

# Configure traffic behavior database to mark matching traffic with DSCP 6.

<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] remark dscp 6