Verifying the Classification Configuration
Command or Action
Step 3
match [not] ip rtp udp-port-value
Example:
switch(config-cmap-qos)# match ip rtp
2000-2100, 4000-4100
Step 4
exit
Example:
switch(config-cmap-qos)# exit
switch(config)#
Step 5
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
This example shows how to display the RTP class-map configuration:
switch# show class-map class_rtp
Verifying the Classification Configuration
Use the show class-map command to verify the class-map configuration. This command displays all class
maps.
Configuration Examples for Classification
The following example shows how to configure classification for two classes of traffic:
class-map class_dscp
match dscp af21, af32
exit
class-map class_cos
match cos 4, 5-6
exit
Cisco Nexus 9000 Series NX-OS Quality of Service Configuration Guide, Release 7.x
68
Purpose
Configures the traffic class by matching packets based on a range
of lower and upper UDP port numbers, which is likely to target
applications using RTP. Values can range from 2000 to 65535.
Use the not keyword to match on values that do not match the
specified range.
Exits global class-map queuing mode and enters global
configuration mode.
(Optional) Saves the running configuration to the startup
configuration.
Configuring Classification