Showing posts with label Update. Show all posts
Showing posts with label Update. Show all posts

Sunday, August 7, 2011

Cisco CUCM IP Phone Services with CUCM 7 & 8

If you had your Cisco IP phones registered to a CUCM 8.x system and you go back to a 7.x system, you should remember to downgrade the firmware to an appropiate one for 7.x. Otherwise chances are good to end up in problems when trying to access the IP phone services of the CUCM 7.x system.

Problem seems to be that CUCM 7.x tries to address the services via an URL like:
http://172.20.23.210:8080/ccmcip/getservicesmenu.jsp

The phones with the phone load for CUCM 8.x still tries to access the services via:
https://172.20.23.210:8443/ccmcip/getservicesmenu.jsp

So, the only thing you will see, while trying to open the corporate directory, is a "Requesting..." which finaly will end in a "Host not found" message. A factory reset would be the easiest way to go back to the right phone load. Just keep that in mind ....

Sunday, July 10, 2011

Putty & SCP => File transfer to Cisco IOS through SSH Tunnel

Had the problem that I had to update an IOS Device with only SSH access available. Solution is to use SCP over a SSH Tunnel.

To do this, go to Change settings =>  Connection => SSH => Tunnels. Replace 1.2.3.4 with the IP you want to connect to. Before you define the local port, you should verify that it's unused. Doesn't need to be 22 on local side.



 Remember to press the Add button before clicking Apply. Otherwise your settings will be lost.



Next check in a DOSs box the listening TCP ports. After entering "netstat -an -p TCP" you should find an entry like "  TCP    127.0.0.1:22           0.0.0.0:0              Listening".

Now you have to prepare the router for SCP connection. The device should already be reachable via SSH.

Enter this in your router config:

aaa new-model
aaa authentication login default local
aaa authorization exec default local
username scp secret password
ip scp server enable

That's it! Now you can move files to & from your device. I prefer to use the Putty SCP client pscp.

Copy files from flash:
pscp -scp -pw password scp@127.0.0.1:flash:test.pcap "C:\Users\andre\Downloads\test.pcap"
test.pcap             | 30 kB |  30.6 kB/s | ETA: 00:00:00 | 100%

Copy files to flash:
pscp -scp -pw password "C:\Users\andre\Downloads\cme-151-4Mv1\cme-151-4Mv1\CME 8.6\CME 8.6.0 GUI\CME8.6.0GUI.tar" scp@127.0.0.1:flash:CME8.6.0GUI.tar

This works for all TCP based protocols. Makes life a lot easier ....

Cisco link for SCP:
http://www.cisco.com/en/US/docs/ios/12_2t/12_2t2/feature/guide/ftscp.html