Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)
List of DSCP ValuesValue
CS6 (precedence 6) dscp (110000)—decimal value
48
cs6
CS7 (precedence 7) dscp (111000)—decimal value
56
cs7
Default dscp (000000)—decimal value 0default
EF dscp (101110)—decimal value 46ef
Procedure
PurposeCommand or Action
Enters 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 . The standard DSCP
values are shown in the preceding table.
switch(config-cmap-qos)# match
dscp dscp-list
Step 3
(Optional)
Removes the match from the traffic class.
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 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 IP RTP Classification
The IP Real-time Transport Protocol (RTP) is a transport protocol for real-time applications that transmits
data such as audio or video and is defined by RFC 3550. Although RTP does not use a common TCP or UDP
port, you typically configure RTP to use ports 16384 to 32767. UDP communications use an even port and
the next higher odd port is used for RTP Control Protocol (RTCP) communications.
You can classify based on UDP port ranges, which are likely to target applications using RTP.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01 433
Configuring System Classes
Configuring IP RTP Classification