match dscp
Use this command to classify the traffic based on DSCP.
Use the no command to remove the configured DSCP value.
Note: The match commands which accept range has silent exit which makes removal of these match configuration easier. For example, classify the traffic based on DSCP using the command match dscp 2,4,6 and remove the match configuration using the command no match dscp 2-6.
match dscp cannot be configured in the class-map where match precedence is already configured.
Command Syntax
match dscp [WORD | af11 | af12 | af13 | af21 | af22 | af23 | af31| af32 | af33 | af41 | af42 | af43 | cs1 | cs2 | cs3 | cs4 | cs5 | cs6| cs7 | default | ef]
Note: Below no command is applicable for class-map of type match-any.
no match dscp ([WORD | af11 | af12 | af13 | af21 | af22 | af23 | af31 | af32 | af33
| af41 | af42 | af43 | cs1 | cs2 | cs3 | cs4 cs5 | cs6 | cs7 | default | ef]|all)
Note: Below no command is applicable for class-map of type match-all.
no match dscp
Parameters
WORD
<0-63> List of DSCP values.
af11
AF11 DSCP (001010).
af12
AF12 DSCP (001100)
af13
AF13 DSCP (001110)
af21
AF21 DSCP (010010)
af22
AF22 DSCP (010100)
af23
AF23 DSCP (010110)
af31
AF31 DSCP (011010)
af32
AF32 DSCP (011100)
af33
AF33 DSCP (011110)
af41
AF41 DSCP (100010)
af42
AF42 DSCP (100100)
af43
AF43 DSCP (100110)
cs1
CS1(precedence 1) DSCP (001000)
cs2
CS2(precedence 2) DSCP (010000)
cs3
CS3(precedence 3) DSCP (011000)
cs4
CS4(precedence 4) DSCP (100000)
cs5
CS5(precedence 5) DSCP (101000)
cs6
CS6(precedence 6) DSCP (110000)
cs7
CS7(precedence 7) DSCP (111000)
default
Default DSCP (000000)
ef
EF DSCP (101110)
all
Delete all matched DSCP values.
Default
No default value is specified
Command Mode
Class-map mode
Applicability
This command was introduced in OcNOS version 3.0.
Examples
(config)#class-map type qos C_QOS7
(config-cmap-qos)#match dscp 48
Last modified date: 10/20/2023