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
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. |
None
Class-map type qos configuration
Release |
Modification |
4.1(3)N1(1) |
This command was introduced. |
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
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
Command |
Description |
---|---|
show class-map |
Displays class maps. |