Recently setup a lab for the CME.  Needed something offline to the production CME to play with versions of CME and phone firmware.  I used a Cisco 2801 router to setup my lab.

First I needed to get a bigger compact flash.  Bought a 2GB compact flash from eBay, then loaded it with the IOS image "c2801-spservicesk9-mz.151-3.T.bin".  This image includes the CME 8.5.  There is no separate download the CME files.

Since all I needed to do was connect a phone to upgrade or downgrade the phone's firmware, I didn't need to setup a switch with data and voice VLANs.  I didn't have to setup Inter-VLAN routing on the router as well.


Following are the router commands I used to setup the CME.

Configure Interface

conf t
interface f0/0
ip address 192.168.1.1

Configure DHCP server on router

conf t

ip dhcp pool Voice
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 4.2.2.2
option 150 ip 192.168.1.1

Setup Clock and NTP

conf t
clock timezone Pacific -8 0
clock summer-time PST recurring
ntp update-calendar
ntp server 74.207.249.60

Download phone firmware from laptop TFTP server to flash

archive tar /xtract tftp://192.168.1.254/7945-8-2.tar flash:/phones

Configure router TFTP for phone firmware

conf t
tftp-server flash:/phones/7945-8-5-2/apps45.8-5-2TH1-9.sbn alias apps45.8-5-2TH1-9.sbn
tftp-server flash:/phones/7945-8-5-2/cnu45.8-5-2TH1-9.sbn alias cnu45.8-5-2TH1-9.sbn
tftp-server flash:/phones/7945-8-5-2/dsp45.8-5-2TH1-9.sbn alias dsp45.8-5-2TH1-9.sbn
tftp-server flash:/phones/7945-8-5-2/cvm45sccp.8-5-2TH1-9.sbn alias cvm45sccp.8-5-2TH1-9.sbn
tftp-server flash:/phones/7945-8-5-2/jar45sccp.8-5-2TH1-9.sbn alias jar45sccp.8-5-2TH1-9.sbn
tftp-server flash:/phones/7945-8-5-2/SCCP45.8-5-2S.loads alias SCCP45.8-5-2S.loads
tftp-server flash:/phones/7945-8-5-2/term45.default.loads alias term45.default.loads
tftp-server flash:/phones/7945-8-5-2/term65.default.loads alias term65.default.loads

Configure CME

conf t
telephony-service
max-ephone 24
max-dn 48
load 7945 SCCP45.8-5-2S.loads
**** two issues came up for me here****
I received the following errors

LOAD COMMAND ERROR: cnf-file location system is not supported for creating automatic tftp bindings.  Please use file location flash | slot0 | tftp OR create tftp bindings manually

To resolve this I had to issue the follow command.

cnf-file location flash:

LOAD COMMAND ERROR: File:SCCP45.8-5-2S.loads not found, command retained, create tftp bindings manuallyUpdating CNF files

To resolve this I had to remove the .loads extension
********************************
load 7945 SCCP45.8-5-2S

Setup Source IP address

conf t
telephony-service
ip source-address 192.168.1.1


Create Phone Configuration Files

conf t
telephony-service
create cnf-files


Test

Once the router was set, I plugged in a cross over cable to a Cisco 7945 IP Phone and plugged a power brick to it.  I wanted to clear the firmware on the phone to down grade to this older code so as soon as I powered it on, I held down the # button until each line button flashes on and off in amber.  Then I pressed 123456789*0# to wipe the phone.  It rebooted started downloading the firmware.