match ip rtp

To configure a class map to use the Real-Time Protocol (RTP) port as a match criteria, use the match ip rtp command. To remove the RTP port as a match criteria, use the no form of this command.

match [not] ip rtp port-list

no match [not] ip rtp port-list

Syntax Description

not

(Optional) Negates the specified match result.

port-list

Specified UDP port or list of UDP ports that are using RTP. Valid values range from 2000 to 65535.


Command Default

None

Command Modes

Class-map type qos configuration

Command History

Release
Modification

4.1(3)N1(1)

This command was introduced.


Usage Guidelines

To specify a list of values, use one of the following options:

•Specify a range of values separated by a dash

•Specify a noncontiguous list of values separated by commas

Examples

This example shows how to match on a port using RTP:

switch(config)# class-map my_test
switch(config-cmap-qos)# match ip rtp 2300

Related Commands

Command
Description

show class-map

Displays class maps.