set dscp

This command defines the dscp to set on the specified match-map. Use the no form of this command to remove a set dscp.

Syntax

set dscp ef
set dscp default
set dscp cs7
set dscp cs6
set dscp cs5
set dscp cs4
set dscp cs3
set dscp cs2
set dscp cs1
set dscp af43
set dscp af42
set dscp af41
set dscp af33
set dscp af32
set dscp af31
set dscp af23
set dscp af22
set dscp af21
set dscp af13
set dscp af12
set dscp af11
set dscp <dscp value>

Command

Description

ef

Matches  packets with EF dscp (101110).

default

Matches  packets with default dscp (000000).

cs7

Matches  packets with CS7(precedence 7) dscp (111000).

cs6

Matches  packets with CS6(precedence 6) dscp (110000).

cs5

Matches  packets with CS5(precedence 5) dscp (101000).

cs4

Matches  packets with CS4(precedence 4) dscp (100000).

cs3

Matches  packets with CS3(precedence 3) dscp (011000).

cs2

Matches  packets with CS2(precedence 2) dscp (010000).

cs1

Matches  packets with CS1(precedence 1) dscp (001000).

af43

Matches  packets with AF43 dscp (100110).

af42

Matches packets with AF42 dscp (100100).

af41

Matches packets with AF41 dscp (100010).

af33

Matches packets with AF33 dscp (011110).

af32

Matches packets with AF32 dscp (011100).

af31

Matches packets with AF31 dscp (011010).

af23

Matches packets with AF23 dscp (010110).

af22

Matches packets with AF22 dscp (010100).

af21

Matches packets with AF21 dscp (010010).

af13

Matches packets with AF13 dscp (001110).

af12

Matches packets with AF12 dscp (001100).

af11

Matches packets with AF11 dscp (001100).

< dscp value>

Defines the differentiated services codepoint value (0-63).

Default

NA

Command Mode

Privileged User

Example

This example configures the dscp match-map to set traffic that matches this match-map to the AF31 dscp (011010):

# configure data
(config-data)# qos match-map input mmap2
(conf-m-map)# set dscp af31