This is the second part of my Cisco voip basics series. ( Parts 1, 3 & 4 ) Our goal in this series is to setup a working voice gateway that you could use in your home office. The following covers installation of CME 4.1, and the setup of a Cisco 7960 ip phone on the voice gateway.

Prep Work

Before diving into the installation of our call manager, you’re going to want to do some clean up on your flash. ensure you have 25M free and of course, make sure you have a backup copy of your config and IOS. Obviously a quick way to clean up the flash device would be to format it, but be careful to ensure you restore your IOS from backup and issue a write memory before rebooting.

Uploading CME

Place your CME tar file into the path of your TFTP server. The following command will download and extract the CME software into flash.

Router#archive tar /xtract tftp://[tftp server ip]/cme-basic- flash: 

Once this completes, you can optionally remove any phone files that will not be needed or used on your gateway. These files are stored in flash:/phone/[phone model]/

CME Setup

First thing we need to do is setup the local tftp server on the router. This is done to share the phone load files with your phones as they boot. If you removed any files / directories, you can remove them from the following command from config mode. You will also want to make sure these match what your CMS package comes with.

tftp-server flash:/phone/7906-7911/apps11.8-2-2ES1.sbn alias apps11.8-2-2ES1.sbn
tftp-server flash:/phone/7906-7911/cnu11.8-2-2ES1.sbn alias cnu11.8-2-2ES1.sbn
tftp-server flash:/phone/7906-7911/cvm11sccp.8-2-2ES1.sbn alias cvm11sccp.8-2-2ES1.sbn
tftp-server flash:/phone/7906-7911/dsp11.8-2-2ES1.sbn alias dsp11.8-2-2ES1.sbn
tftp-server flash:/phone/7906-7911/jar11sccp.8-2-2ES1.sbn alias jar11sccp.8-2-2ES1.sbn
tftp-server flash:/phone/7906-7911/SCCP11.8-2-2SR1S.loads alias SCCP11.8-2-2SR1S.loads
tftp-server flash:/phone/7906-7911/term06.default.loads alias term06.default.loads
tftp-server flash:/phone/7906-7911/term11.default.loads alias term11.default.loads
tftp-server flash:/phone/7921/APPS-1.0.1.SBN alias APPS-1.0.1.SBN
tftp-server flash:/phone/7921/CP7921G-1.0.1.LOADS alias CP7921G-1.0.1.LOADS
tftp-server flash:/phone/7921/GUI-1.0.1.SBN alias GUI-1.0.1.SBN
tftp-server flash:/phone/7921/SYS-1.0.1.SBN alias SYS-1.0.1.SBN
tftp-server flash:/phone/7921/TNUX-1.0.1.SBN alias TNUX-1.0.1.SBN
tftp-server flash:/phone/7921/TNUXR-1.0.1.SBN alias TNUXR-1.0.1.SBN
tftp-server flash:/phone/7921/WLAN-1.0.1.SBN alias WLAN-1.0.1.SBN
tftp-server flash:/phone/7936/cmterm_7936.3-3-12-0.bin alias cmterm_7936.3-3-12-0.bin
tftp-server flash:/phone/7940-7960/P00308000400.bin alias P00308000400.bin
tftp-server flash:/phone/7940-7960/P00308000400.loads alias P00308000400.loads
tftp-server flash:/phone/7940-7960/P00308000400.sb2 alias P00308000400.sb2
tftp-server flash:/phone/7940-7960/P00308000400.sbn alias P00308000400.sbn
tftp-server flash:/phone/7941-7961/apps41.8-2-2ES1.sbn alias apps41.8-2-2ES1.sbn
tftp-server flash:/phone/7941-7961/cnu41.8-2-2ES1.sbn alias cnu41.8-2-2ES1.sbn
tftp-server flash:/phone/7941-7961/cvm41sccp.8-2-2ES1.sbn alias cvm41sccp.8-2-2ES1.sbn
tftp-server flash:/phone/7941-7961/dsp41.8-2-2ES1.sbn alias dsp41.8-2-2ES1.sbn
tftp-server flash:/phone/7941-7961/jar41sccp.8-2-2ES1.sbn alias jar41sccp.8-2-2ES1.sbn
tftp-server flash:/phone/7941-7961/SCCP41.8-2-2SR1S.loads alias SCCP41.8-2-2SR1S.loads
tftp-server flash:/phone/7941-7961/term41.default.loads alias term41.default.loads
tftp-server flash:/phone/7941-7961/term61.default.loads alias term61.default.loads

Next, in order to setup the GUI we need to tell the http server on the router where to find the files. The following command adds the path to the http server so we can access http://[router ip]/ccme.html

Router(config)#ip http server
Router(config)#ip http path flash:gui

And in order to authenticate, we’ll need to add a web administrator account.

Router(config-telephony)# web admin system name admin secret [your secret password]

Now, before you exit telephony config mode, lets finish up the initial CME configuration. As before, if you removed any phone specific files, remove them from the following config. Entire this is Router(config-telephoney)# mode…

load 7936 cmterm_7936.3-3-12-0
load 7906 SCCP11.8-2-2SR1S
load 7911 SCCP11.8-2-2SR1S
load 7941 SCCP41.8-2-2SR1S
load 7961 SCCP41.8-2-2SR1S
load 7960-7940 P00308000400
load 7921 CP7921G-1.0.1
create cnf-files

Finalizing Router Setup

Now that we’ve got CME up and running, you need to setup DHCP and you should probably go ahead and set your clock and configure ntpd. I’m not going to walk you through the entire dhcp config, but there is an option you need to add. Option 150, this tells your phones where their tftp server is. In our case, its going to be the IP address for your voip vlan. Here is a very basic example..

ip dhcp pool VOIP
   option 150 ip
   lease 7
interface FastEthernet0/0
 description Internal VLAN
 ip address
 speed auto
interface FastEthernet0/0.2
 description VOIP VLAN
 encapsulation dot1Q 2
 ip address