Flipkart

Wednesday, October 16, 2013

CISCO CALLMANAGER EXPRESS COMMANDS


CCME COMMANDS

Check the flash memory
show flash

Copy the IOS to the flash
copy tftp: flash:
copy IOS from usb to flash
Router# copy usbflash1:/c3825-ipvoicek9-mz.124-15.XZ2.bin flash:
The cme - basic package contains the more common Cisco phone load files,
whereas the cme - full package includes all the load files

Uploading the CME Pacakage in the router
Router# archive tar /xtract tftp://192.168.1.11/cme-full-4.3.0.0.tar flash:
dir flash:/   shows directory structure of flash
dir flash:/gui

CISCO phones require the Firmware to function
These phones will need all eight fi les to fully function properly. To offer up these files for
downloading to the phones, we need to configure the following:
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#tftp-server flash:/phone/7945-7965/apps45.8-3-2-27.sbn alias
apps45.8-3-2-27.sbn
Router(config)#tftp-server flash:/phone/7945-7965/cnu45.8-3-2-27.sbn alias
cnu45.8-3-2-27.sbn
Router(config)#tftp-server flash:/phone/7945-7965/cvm45sccp.8-3-2-27.sbn alias
cvm45sccp.8-3-2-27.sbn
Router(config)#tftp-server flash:/phone/7945-7965/dsp45.8-3-2-27.sbn alias
dsp45.8-3-2-27.sbn
Router(config)#tftp-server flash:/phone/7945-7965/jar45sccp.8-3-2-27.sbn alias
jar45sccp.8-3-2-27.sbn
Router(config)#tftp-server flash:/phone/7945-7965/SCCP45.8-3-3S.loads alias
SCCP45.8-3-3S.loads
Router(config)#tftp-server flash:/phone/7945-7965/term45.default.loads alias
term45.default.loads
Router(config)#tftp-server flash:/phone/7945-7965/term65.default.loads alias
term65.default.loads

Configuration of CUCM EXpress source IP address
Router#configure terminal
Router(config)#telephony-service
Router(config-telephony)#ip source-address 192.168.10.1
Router(config-telephony)#end
Router#

Configure Max Ephones and DNs
Ephones represent the physical phones and the Ephome-DNs represent the extensions configured on the each phone
Router#configure terminal
Router(config)#telephony-service
Router(config-telephony)#max-ephones 8
Router(config-telephony)#max-dn 20

Identify and Set Firmware Load Files
Router# configure terminal
Router(config)# telephony-service
Router(config-telephony)# load 7945 SCCP45.8-3-3S.loads
Updating CNF files
CNF files update complete for phonetype(7945)
Router(config-telephony)# load 7965 SCCP45.8-3-3S.loads
Updating CNF files
CNF files update complete for phonetype(7965)
Router(config-telephony)# load 7970 SCCP70.8-3-3S.loads
Updating CNF files
CNF files update complete for phonetype(7970)

Update configuration file
You can also manually update the phone confi guration fi le by issuing the
create cnf - files confi g - telephony command.
Router(config-telephony)# create cnf-files

Configuring Ephone and Ephone - DNs
An ephone - DN is what you would think of as a telephone number
Router#configure terminal
Router(config)#ephone-dn 1
Router(config-ephone-dn)#number 4001
Router(config-ephone-dn)#exit
Router(config)#ephone-dn 2
Router(config-ephone-dn)#number 4002
Router(config-ephone-dn)#end

Configure Based on the Cisco phone
Router#configure terminal
Router(config)#ephone 1
Router(config-ephone)#mac-address 0014.1c4d.2589
Router(config-ephone)#button 1:1
Router(config-ephone)#exit
Router(config)#ephone 2
Router(config-ephone)#mac-address 0014.4c7f.a49b
Router(config-ephone)#button 1:2
Router(config-ephone)#end

Reset of the Phone
Router(config)# telephony-service
Router(config-telephony)# restart all

Gives the phones configured
sh telephony-service

To verify Registration
Router# show telephony-service ephone

Ephone registration states
REGISTERED   Indicates the phone is registered to the CUCM Express and is active.
UNREGISTERED Indicates the phone unregistered normally form the CUCM Express
and is not active.
DECEASED Indicates the phone unregistered abnormally because of a keepalive
timeout.
Look at all three of these states by issuing the show ephone command:
Router# show ephone


Configure the Web-interface

Router#configure terminal
Router(config)#ip http server
Router(config)#ip http secure-server
% Generating 1024 bit RSA keys, keys will be non-exportable...[OK]
Router(config)#exit

Setting the Root Web Directory
Router#configure terminal
Router(config)#ip http path flash:/
Router(config)#end
Router#

Creating a CUCM Express Administrator Account
Router#configure terminal
Router(config)#telephony-service
Router(config-telephony)#web admin system name WebAdmin secret 0 cisco
Router(config-telephony)#end
Router#

Troubleshooting :

For troubleshooting DHCP Issues use below commands
Router# debug ip dhcp server events
Router# debug tftp events
Any line that begins with Looking means that the Cisco phone is requesting the
file. If the TFTP server knows where a file is located, it will process the file, giving you
the Opening statement. Finally, once the file is transferred you will receive a Finished
message.
Router# show telephony-service tftp-bindings

Registartion Issues
Router# debug ephone register
Router# debug ephone register mac-address