List of DSCP Values
Value
CS6 (precedence 6) dscp (110000)
—
decimal value
48
cs6
CS7 (precedence 7) dscp (111000)
—
decimal value
56
cs7
Default dscp (000000)
—
decimal value 0
default
EF dscp (101110)
—
decimal value 46
ef
Procedure
Purpose
Command or Action
Enters global configuration mode.
switch#
configure terminal
Step 1
Creates a named object that represents a class of traffic.
Class-map names can contain alphabetic, hyphen, or
switch(config)#
class-map type qos
class-name
Step 2
underscore characters, are case sensitive, and can be up to
40 characters.
Configures the traffic class by matching packets based on
the values in the
dscp-list
variable. For a list of DSCP
values, see the Standard DSCP Values table.
switch(config-cmap-qos)#
match
dscp dscp-list
Step 3
(Optional)
Removes the match from the traffic class. For a list of
DSCP values, see the Standard DSCP Values table.
switch(config-cmap-qos)#
no match
dscp dscp-list
Step 4
This example shows how to classify traffic by matching packets based on the DSCP value in the DiffServ
field of the IP header:
switch#
configure terminal
switch(config)#
class-map type qos match-any class_dscp
switch(config-cmap-qos)#
match
dscp af21, af32
Use the
show class-map
command to display the DSCP class-map configuration:
switch#
show class-map class_dscp
Configuring Protocol Classification
You can classify traffic based on the IPv4 Protocol field or the IPv6 Next Header field in the IP header. The
following table shows the protocol arguments:
Cisco Nexus 5000 NX-OS Quality of Service Configuration Guide, Release 5.1(3)N2(1)
OL-26657-01
13
Configuring Classification
Configuring Protocol Classification