I've done alot of network programming in the past. At that time, what I'm discussing wasn't possible. But I now have a client that needs this. Maybe Cisco has some product I'm not aware of.
The problem is that this client has a large network of IP phones on their IPv4 LAN. They want to know which gateway the phone was connected to. And the network address of each phone. They need the network address for reporting purposes.
One solution I thought of was to use a "traceroute" type of query. And assume that the device one hop from the phone is the gateway.
However, I have to know the subnet mask in order to determine network address. This client wants automatic discovery, so I'd have to discover the subnet mask on the fly. When I say "subnet mask", I'm talking CIDR.
My questions are:
1) Has Cisco ever gotten around to providing such information in a centralized product? Ideally, this router/gateway information would be provided in a central place. And I could query it from an external program.
2) I know in the past, it wasn't possible to determine subnet mask without using SNMP. Is this still my only other option?
Cisco phones easily display all this info. Where do the phones register? CUCME or CUCM?
In both systems you can view registered phones, this will tell you their IP address and MAC address plus phone number. Someone may have configured a user name also.
The default gateway would be issued by DHCP. You can also go into the settings on the phone and view the leased IP address, mask and gateway, DNS and TFTP server information. You can also view the Call Manager list and which one it is registered to.
So, 1) yes, Cisco UCM are centralised.
2) Unless every device is statically configured with IP information, then you would normall derive this info from the configured DHCP scope.
Also, the DHCP server (scope) will issue TFTP server info, which in turn will provide the Call Manager to register to. You could go quite deep into this if you wish to know more. I recommend looking up how a Cisco phone registers with a Call Manager.
1) Connect to the RIS API on CUCM and retrieve IP addressing information for the phone from there. You might first connect to AXL to retrieve a list of IP phone device names which you would use to query RIS.
2) Once you have the IP addresses, you can get the network mask information and CDP connection info from the phone's web server. Browser to the phone, and you see various web pages iwth the information. In most cases, adding X to the end of the URL makes it return XML rather than HTML (e.g. DeviceInformation versus DeviceInformationX)
The CDP info and subnet mask won't be available from CUCM, it will know only the IP address.
SIP traces provide key information in troubleshooting SIP Trunks, SIP
endpoints and other SIP related issues. Even though these traces are in
clear text, these texts can be gibberish unless you understand fully
what they mean. This document attempts to br...
Please find the attached HTML document, download and open it on your PC.
This provides an easy to use form where you simply answer a few
questions and it will render the proper jabber-config.xml file for you
to copy/paste. There is built in logic to verif...
[toc:faq]CUCM Database Replication is an area in which Cisco customers
and partners have asked for more in-depth training in being able to
properly assess a replication problem and potentially resolve an issue
without involving TAC. This document discusse...