cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4979
Views
5
Helpful
5
Replies

match ip rtp 16383 16383 or match ip rtp 16384 16383

shell99101
Level 1
Level 1

Can someone tell me the difference between these two commands. We have routers with QoS configurations done both ways. I know that the "match ip rtp 16384 16383" matches all even RTP ports, which are used for payload and does not match RTP odd ports, which are used signaling. But what is the result if you use "match ip rtp 16383 16383"? This command is also found in some old Cisco documentation but I can't find what exactly it's matching.

Thanks,

Mike

5 Replies 5

Jaime Valencia
Cisco Employee
Cisco Employee

there really is no use on that

the 1st parameter simply is the starting port on which to apply the command

it simply covers 1 port more than the other command but that's out of the RTP

behavior is exactly the same but starts on port 16383

HTH

java

if this helps, please rate

HTH

java

if this helps, please rate

So are you saying both commands will work. Both commands will match all even RTP ports within the range of 16384 to 32767?

"match ip rtp 16383 16383" = matches even ports within range 16383 to 32767?

"match ip rtp 16384 16383" = matches even ports within range 16384 to 32767?

Mike

exactly, that's the only difference. 1 port

HTH

java

if this helps, please rate

HTH

java

if this helps, please rate

True story ;) good job ! 

The solution could have referred to IP ACL 101 with the match ip access-group 101 command, with ACL 101 matching UDP ports between 16,384 and 32,767, inclusive, to match all VoIP traffic. However, the match ip rtp command matches only the even-numbered ports in this same UDP port range. (VoIP payload only uses the even port numbers.) Therefore, the match ip rtp command is more efficient for matching VoIP, easier to configure, and only matches the VoIP payload.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: