Configuring Acl Classification - Cisco Nexus 5000 NX-OS Service Configuration Manual

Quality of service configuration guide, release 5.1 3 n2 1
Table of Contents

Advertisement

Configuring Classification
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.
Procedure
Step 1
Step 2
Step 3
Step 4
The following example shows how to classify traffic by matching packets based on UDP port ranges that are
typically used by RTP applications:
switch# configure terminal
switch(config)# class-map type qos match-any class_rtp
switch(config-cmap-qos)# match
Use the show class-map command to display the RTP class-map configuration:
switch# show class-map class_rtp

Configuring ACL Classification

You can classify traffic by matching packets based on an existing access control list (ACL). Traffic is classified
by the criteria defined in the ACL. The permit and deny ACL keywords are ignored in the matching; even
if a match criteria in the access-list has a deny action, it is still used for matching for this class.
Procedure
Step 1
Step 2
OL-26657-01
Command or Action
switch# configure terminal
switch(config)# class-map type qos
class-name
switch(config-cmap-qos)# match ip
rtp port-number
switch(config-cmap-qos)# no match
ip rtp port-number
ip rtp 2000-2100, 4000-4100
Command or Action
switch# configure terminal
switch(config)# class-map type qos
class-name
Cisco Nexus 5000 NX-OS Quality of Service Configuration Guide, Release 5.1(3)N2(1)
Configuring ACL Classification
Purpose
Enters global configuration mode.
Creates a named object that represents a class of traffic.
Class-map names can contain alphabetic, hyphen, or
underscore characters, are case sensitive, and can be up
to 40 characters.
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.
(Optional)
Removes the match from the traffic class.
Purpose
Enters global configuration mode.
Creates a named object that represents a class of traffic.
Class-map names can contain alphabetic, hyphen, or
underscore characters, are case sensitive, and can be up to
40 characters.
15

Advertisement

Table of Contents
loading

Table of Contents