Configuring Ip Rtp Classification - Cisco Nexus 9000 Series Configuration Manual

Nx-os quality of service configuration, release 7.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring IP RTP Classification

switch# conf t
switch(config)# class-map type qos match-all cos6
switch(config-cmap-qos)# match cos 6
switch(config)# class-map type qos match-all cos1
switch(config-cmap-qos)# match cos 1
switch(config)# class-map type qos match-all cos2
switch(config-cmap-qos)# match cos 2
switch(config)# class-map type qos match-all cos3
switch(config-cmap-qos)# match cos 3
switch(config)# class-map type qos match-all cos0
switch(config-cmap-qos)# match cos 0
Configuring IP RTP Classification
The IP Real-Time Transport Protocol (RTP) is a transport protocol for real-time applications that transmit
data such as audio or video (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 uses an even-numbered port and the next
higher odd-numbered port is used for RTP Control Protocol (RTCP) communications.
When defining a match statement in a type qos class-map, to match with upper layer protocols and port
ranges (UDP/TCP/RTP, among others), the system cannot differentiate, for example, between UDP traffic
and RTP traffic in the same port range. The system classifies both traffic types the same. For better results,
you must engineer the QoS configurations to match the traffic types present in the environment.
SUMMARY STEPS
1. configure terminal
2. class-map [type qos] [match-any | match-all] class-name
3. match [not] ip rtp udp-port-value
4. exit
5. copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
class-map [type qos] [match-any | match-all] class-name
Example:
switch(config)# class-map class_rtp
Step 3
match [not] ip rtp udp-port-value
Example:
switch(config-cmap-qos)# match ip rtp 2000-2100,
4000-4100
Cisco Nexus 9000 Series NX-OS Quality of Service Configuration Guide, Release 7.x
70
Purpose
Enters global configuration mode.
Creates or accesses a class map and then enters the
class-map mode. The class-map name can contain
alphabetic, hyphen, or underscore characters, and can be
up to 40 characters.
Configures the traffic class by matching packets that are
based on a range of lower and upper UDP port numbers,
targeting 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.
Configuring Classification

Advertisement

Table of Contents
loading

Table of Contents