cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2334
Views
0
Helpful
1
Replies

Need to change the source UDP ports and have to define range ... Cisco 7206 VXR

nadeem
Level 1
Level 1

We want to change the source UDP ports and have to define range (5060 - 5081) for destination IP = 195.23.145.1

We  send call on 195.23.145.1 on destination port 5060 (SIP) but the  carrier wants that our source UDP ports should also be in range of 5060 -  5081 which is the authentication parameters their side.

Example is here
When we run the command Sh ip sockets on cisco 7206 vxr we get below o/p

17  81.201.82.150   11875  80.65.13.58     17435     0   0   21   0
17  81.201.82.146    15329 80.65.13.58     19327     0   0   21   0
17  206.51.234.174   5060   80.65.13.58     58659     0   0  215   0
17  195.219.218.147 50275 80.65.13.58     18441    0   0   21   0
17  195.219.218.147 51771 80.65.13.58     16755    0   0   21   0

Above output is explained as:

- protocol used (TCP or UDP), 17 = UDP
- Source IP
- Source port (we need to define this in range this is the issue)
- destination IP
- destination port

In  the above o/p the local ports which you see is randomly selected by  CISCO we wish that these are randomly chosen in range of 5060 - 5081.

The IOS = IOS (tm) 7200 Software (C7200-P-M), Version 12.3(3b), RELEASE SOFTWARE (fc1)

We  tried ip nbar custom command but it is not supported, only below  options are available in ip bnar (no idea where to define a range).
 
  pdlm       PDL (protocol description language) Module
  port-map   Map well-known port of a protocol to a new port
  resources  Configure memory usage for tracking Stateful sessions

We  appreciate if someone can help to solve this issue and meet our service  provider's requirement of using specific source ports when sockets are  established.

Thanks.

1 Reply 1

carunach
Cisco Employee
Cisco Employee

One option is to use "connection-reuse" cli under sip-ua configuration mode.

sip-ua

  connection-reuse

This will enable the 7200 to create a connection with source and destination udp port number set to 5060. This feature is available in IOS 12.4(25d) which requires minimum of 256 / 512MB DRAM (depends on the feature set) and flash of 48 MB.