cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

AMA-CUCM Troubleshooting: Best Practices for Reading Trace Files

8794
Views
20
Helpful
4
Replies
Beginner

how to test port connectivity on cucm to any other system.

Hello,

in pc or any other windows oc we can test port connectivity via (telnet ip port)

forexample

telnet 10.30.3.40 5060  

how can we make test port connectivity on cucm? or is it posible?

4 REPLIES 4
Cisco Employee

how to test port connectivity on cucm to any other system.

I don't think this feature is available on the CUCM Linux version since it's an appliance device.

You can check the CUCM firewalltable by issuing the CLI command:

utils firewall ipv4 enable

You can also check for the list of open ports with the CLI command:

show open ports all

Cisco Employee

Re: how to test port connectivity on cucm to any other system.

Hi Friend ,

 

The following command can be executed in CUCM CLI to know the " STATUS OF THE PORT " in our CUCM Server which is of importance.

 

# show open ports regexp <PORT NUMBER>

 * PORT NUMBER = Replace it with the PORT NUMBER of your interest.

 

Example : I had a CUCM DB Replication issue.So as part of troubleshooting, I need to check whether the PORT 8500 ( Port for DB Replication ) is OPENED / CLOSED . So I ran the following command and got the appropriate output.

**************************************************************************
admin:show open ports regexp 8500


Executing.. please wait.
clm 22712 root 6u IPv4 662221 0t0 UDP *:8500
clm 22712 root 7u IPv4 662222 0t0 TCP *:8500 (LISTEN)
clm 22712 root 10u IPv4 183481931 0t0 TCP 10.106.102.70:8500->10.106.102.71:40657 (ESTABLISHED)
clm 22712 root 11u IPv4 183485707 0t0 TCP 10.106.102.70:8500->10.106.102.72:47472 (ESTABLISHED)

***************************************************************************

Hope this might help. Thank you.

 

Re: how to test port connectivity on cucm to any other system.

admin:utils network connectivity ?
Syntax:
utils network connectivity
utils network connectivity [reset]
utils network connectivity [hostname/ip address]
utils network connectivity [hostname/ip address] [port-number] [timeout]

 

reset optional clear previous return codes
hostname optional hostname of cluster node

 

hostname/ip address mandatory ip address/hostname of host which has to be tested for TCP connection
port-number mandatory port number of host which requires connection test
timeout optional specifies the time in seconds after which port connectivity message is displayed

Highlighted
VIP Advisor

Re: how to test port connectivity on cucm to any other system.

additionally you can do a packet capture on your cucm, and see if its sending traffic back, from port 5060 (in your case)

Please remember to rate useful posts, by clicking on the stars below.

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards