28
 1 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc Lab 2.1 Confi gur e CME usin g th e CLI and Cisco IP Commu nicator Learning Objectives  Configure Cisco Unified Call Manager Express (CME)  Install Cisco IP Communicator (CIPC) on a host  Verify CME and CIPC Operation Topology Diagram Scenario In this lab, you will configure Cisco Unified Call Manager Express using the IOS command line. On the two hosts, you will install Cisco IP Communicator and have one host call the other. Cisco IP Communicator is a software telephony application to simulate a Cisco IP Phone on the desktop of a PC running Microsoft Windows. This lab uses Cisco’s newest version of Cisco Unified Call Manager Express at the time of this writing (CME 4.0(2)) which was tested using Cisco IOS Release 12.4(9)T1 running on a Cisco 2800 Series router. The IP Voice image is required in order to be able to manipulate codecs. Step 1: Configure Addressin g Configure the router with the IP address shown in the diagram.

Configure Cme and Cipc

Embed Size (px)

Citation preview

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 1/28

1 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc

Lab 2.1 Configure CME using the CLI and Cisco IP Communicator

Learning Objectives

• Configure Cisco Unified Call Manager Express (CME)• Install Cisco IP Communicator (CIPC) on a host• Verify CME and CIPC Operation

Topology Diagram

Scenario

In this lab, you will configure Cisco Unified Call Manager Express using the IOScommand line. On the two hosts, you will install Cisco IP Communicator andhave one host call the other. Cisco IP Communicator is a software telephonyapplication to simulate a Cisco IP Phone on the desktop of a PC runningMicrosoft Windows.

This lab uses Cisco’s newest version of Cisco Unified Call Manager Express atthe time of this writing (CME 4.0(2)) which was tested using Cisco IOS Release12.4(9)T1 running on a Cisco 2800 Series router. The IP Voice image isrequired in order to be able to manipulate codecs.

Step 1: Configure Addressing

Configure the router with the IP address shown in the diagram.

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 2/28

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 3/28

Figure 1-2: LAN Adapter Properties

Finally, configure the IP address 172.16.10.50/24 below on the interface.

3 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 4/28

Figure 1-3: TCP/IP Settin gs for LAN Adapter

Click OK once to apply the TCP/IP settings and again to exit the LAN interfaceproperties dialog box.

Configure Host B similarly, using 172.16.10.60/24 as the IP address.

Step 2: Configure Router Telephony Service

Cisco’s Call Manager Express (CME) is a slimmed-down version of the CallManager (CM) server application. CM runs on a dedicated server, while CMEruns on a router. CME possesses much of the basic functionality of CM, whichmay be all that is needed in a smaller network without a large number ofphones. CME may also be much more cost-effective in many environments

where the full power of CM is not necessary. CM and CME both act as serverswhose main function is to establish calls between phones, as well as manyother voice-related functions. A Cisco IP phone deployment requires either adeployment of CME or CM to provide telephony services to the IP phones.

Cisco IP phones rely on Call Manager or Call Manager Express primarily duringtheir boot sequence and dialing procedure to provide configuration anddirectory services.

4 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 5/28

To enable the CME functionality of a Cisco router running a CME-installedimage, use the telephony-service command in global configuration mode. Thiswill bring you into the telephony service configuration prompt. If you issue the ? character at this prompt, you will see that there are many CME-specificcommands available to customize a CME installation.

R1( conf i g) # t el ephony- servi ceR1( conf i g- t el ephony) # ?Ci sco Uni f i ed Cal l Manager Expr ess conf i gur at i on commands.For det ai l ed document at i on see:www. ci sco. com/ uni ver cd/ cc/ t d/ doc/ pr oduct / access/ i p_ph/ i p_ks/ i ndex. ht m

af t er - hour s def i ne af t er - hour s pat t er ns, dat e, et cappl i cat i on The sel ect ed appl i cat i onaut o Def i ne dn r ange f or aut o assi gnmentaut o- r eg- ephone Enabl e Ephone Aut o- Regi st r at i onbul k- speed- di al Bul k Speed di al conf i gcal l - f or war d Conf i gur e par amet er s f or cal l f or war di ngcal l - par k Conf i gur e par amet er s f or cal l par kcal l er - i d Conf i gur e cal l er i d par amet er scal l i ng- number Repl ace cal l i ng number wi t h l ocal f or hai r pi ncnf - f i l e Ephone CNF f i l e conf i g opt i ons. . .

Since there are two hosts running Cisco IP Communicator, configure themaximum number of phones to be 2 using the max-ephones numbercommand. Configure the maximum number of directory numbers to be 10 usingmax-dn number . Later in the lab exercise, you will demonstrate what theconfiguration of ephones and directory numbers represent.

R1( conf i g- t el ephony) # max- ephones 2R1( conf i g- t el ephony) # max- dn 10

Configure the phone keepalive timeout period to be 15 seconds by issuing thekeepalive seconds command. This timer specifies how long CME will waitbefore considering an IP phone unreachable and taking action to deregister it.The default timeout is 30 seconds.

R1( conf i g- t el ephony) # keepal i ve 15

Configure a system message using the system message line command. Thisline will appear on phones associated with the CME.

R1( conf i g- t el ephony) # syst em message Ci sco VOI P

Next, tell the router to generate the configuration files for phones that associatewith the CME using the create cnf-files command. It may take a coupleminutes for the configuration process to be enabled.

R1( conf i g- t el ephony)# creat e cnf - f i l es

Finally, configure the source address for SCCP using the ip source addressaddress port port command. Use the local Fast Ethernet address with a portnumber of 2000.

5 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 6/28

R1( conf i g- t el ephony) # i p sour ce- addr ess 172. 16. 10. 1 port 2000

Step 3: Create Directory Numbers

When CME configuration references an “ephone,” it is referring to an Ethernet

phone connected via an IP network. An ephone represents the physical phone,and can be associated with a phone MAC address and other physicalproperties. A phone will only have one globally-unique, hard-coded MACaddress, so to uniquely identify an ephone on your network, refer to the MACaddress.

At the logical layer of the VoIP model, a directory number represents a logicalphone with an associated phone number and name (label). A Cisco IP phonecan be associated with more than one directory number at a time, effectivelymaking it a multi-line device with each line possessing its own directory number.The soft buttons on an IP phone each represent a single line. To configure a

directory number, use the global configuration ephone-dn tag command. Use atag of 1 for the first phone.

R1( conf i g) # ephone- dn 1

At the ephone-dn configuration prompt, use the number number command toconfigure a phone number of 5001. Assign a name of “Host A” with the namename command. This will be the directory number associated with host A’sphone, which we will configure shortly.

R1( conf i g- ephone- dn) # number 5001R1( conf i g- ephone- dn) # name Host A

Configure ephone-dn 2 similarly.R1( conf i g- ephone- dn) # ephone- dn 2R1( conf i g- ephone- dn) # number 5002R1( conf i g- ephone- dn) # name Host B

Step 4: Create Phones

Before configuring the phones on the router, you will need to find out the MACaddresses of the hosts. Choose the Start > Run... , then type in cmd . At thecommand prompt, type the ipconfig /all command.

6 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 7/28

Figure 4-1: IP Configu ration on Host A

The hexadecimal string listed as the physical address is the MAC address ofthe interface. Verify that the interface is the one configured with the correct IPaddress. Write down the MAC addresses for both hosts, since you will needthem in this step.

Note: Your MAC addresses will be different from the addresses shown in thesample commands.

On R1, enter the ephone configuration prompt by typing the ephone tag command in global configuration mode.

R1( conf i g) # ephone 1

Associate the MAC address with this ephone using the mac-address address command. The address must be in the format HHHH.HHHH.HHHH.

R1( conf i g- ephone) # mac- address 0002. B3CE. 72A3

Use the type type command to configure the type of phone. Since you areconfiguring Cisco IP Communicator to simulate Ethernet phones, use cipc asthe phone type.

R1( conf i g- ephone) # t ype ci pc

Assign the first button on the phone to directory number 1 using the button line

command. The button command assigns buttons to phone lines, as well asdetermines the type of ringer assigned to that phone line. The format for thebutton command we will use is “1:1”. The first 1 indicates the first button. Thecolon indicates a normal ringer. The second 1 represents directory number 1,previously configured with the ephone-dn 1 command.

R1( conf i g- ephone) # but t on 1: 1

7 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 8/28

Apply a similar configuration for ephone 2. Change the configurationparameters where appropriate.

R1( conf i g- ephone) # ephone 2R1( conf i g- ephone) # mac- addr ess 0009. 5B1B. 67BDR1( conf i g- ephone) # t ype ci pcR1( conf i g- ephone) # but t on 1: 2

Step 5: Install Cisco IP Communicator

Download Cisco IP Communicator (CIPC) from the Cisco.com website and runthe installer using the executable you downloaded. In the version used to writethis lab, the name of the installer was CiscoIPCommunicatorSetup.exe,however, the filename of the installer may vary. If you have already installedCIPC, skip this step.

Figure 5-1: CIPC Langu age for Setup Program

Click OK after selecting the installation language of your choice.

8 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 9/28

Figure 5-2: InstallShield System Check Progress Indicator

Allow the installer to prepare the InstallShield Wizard.

9 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 10/28

Figure 5-3: CIPC Installer

Click Next to continue the installation process.

10 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 11/28

Figure 5-4: CIPC End-User License Agreement

Accept the terms in the license agreement and click Next .

11 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 12/28

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 13/28

Figure 5-6: CIPC Installation Prompt

Click Install to begin installing CIPC.

13 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 14/28

Figure 5-7: CIPC Installation Progress Indicator

Allow CIPC to install.

14 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 15/28

Figure 5-8: CIPC Successful Installation Notification

At the end of the installation process, do not choose to launch CIPC.

Click Finish .

Repeat this installation process on Host B if it does not yet have CIPC installed.

Step 6: Run Cisco IP Communicator

Cisco IP Communicator is a simulated Ethernet phone residing in software on aPC.

Before running CIPC, enable debugging for ephone registration on R1 using thedebug ephone register command. This will let you see ephone registrationoutput.

R1# debug ephone registerEPHONE regi st r at i on debuggi ng i s enabl ed

Start CIPC by double clicking the Cisco IP Communicator icon installed on thedesktop of Host A.

15 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 16/28

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 17/28

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 18/28

18 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 19/28

Figure 6-3: CIPC Network Preferences

19 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 20/28

Figure 6-4: CIPC Main Screen on Host A

If your screen looks similar to this, then the IP phone has successfullyregistered with R1. Note the correct banner at the bottom of the color displayand the correct directory number in the upper-right corner. On R1, look at thedebug output generated when R1 registered. The output is rather lengthy, sonot all of it is included here.

*J an 30 06: 47: 37. 155: New Ski nny socket accept ed [ 2] ( 0 act i ve)*J an 30 06: 47: 37. 155: si n_f ami l y 2, si n_por t 1034, i n_addr 172. 16. 10. 50

20 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 21/28

*J an 30 06: 47: 37. 155: ski nny_add_s ocket 2 172. 16. 10. 50 1034*J an 30 06: 47: 37. 211: %I PPHONE- 6- REG_ALARM: 25: Name=SEP0002B3CE72A3 Load=2. 0. 2. 0 Last=I ni t i al i zed*J an 30 06: 47: 37. 211:Ski nny St at i onAl armMessage on socket [ 1] 172. 16. 10. 50*J an 30 06: 47: 37. 211: severi t yI nf ormat i onal p1=0 [ 0x0] p2=0 [ 0x0]*J an 30 06: 47: 37. 211: 25: Name=SEP0002B3CE72A3 Load= 2. 0. 2. 0 Last =I ni t i al i zed

*J an 30 06: 47: 37. 411: ephone- ( 1) [ 1] St ati onRegi st erMessage ( 0/ 0/ 4) f r om172. 16. 10. 50*J an 30 06: 47: 37. 411: ephone- ( 1) [ 1] Regi st er St ati onI dent i f i er Devi ceNameSEP0002B3CE72A3*J an 30 06: 47: 37. 411: ephone- ( 1) [ 1] St ati onI dent i f i er I nst ance 0 devi ceType30016*J an 30 06: 47: 37. 411: ephone- 1[ - 1] : st ati onI pAddr 172. 16. 10. 50*J an 30 06: 47: 37. 411: ephone- 1[ - 1] : maxSt r eams 3*J an 30 06: 47: 37. 411: ephone- 1[ - 1] : prot ocol Ver 0x84000006*J an 30 06: 47: 37. 411: ephone- 1[ - 1] : phone- si ze 4700 dn- si ze 568*J an 30 06: 47: 37. 411: ephone- ( 1) Al l ow any Ski nny Server I P addr ess172. 16. 10. 1*J an 30 06: 47: 37. 411: ephone- 1[ - 1] : Found ent r y 0 f or 0002B3CE72A3*J an 30 06: 47: 37. 411: ephone- 1[ - 1] : socket change - 1 t o 1*J an 30 06: 47: 37. 411: ephone- 1[ - 1] : FAI LED: CLOSED ol d socket - 1

*J an 30 06: 47: 37. 411: ephone- 1[ 1] : phone SEP0002B3CE72A3 r e- associ at e OK onsocket [ 1]*J an 30 06: 47: 37. 411: %I PPHONE- 6- REGI STER: ephone- 1: SEP0002B3CE72A3I P: 172. 16. 10. 50 Socket : 1 Devi ceType: Phone has regi st ered.<OUTPUT OMI TTED>

You may disable debugging using undebug all , or leave it on if you wish to seethe other phone as well (just remember to undebug when you are done with thelab).

Configure Host B similarly and it should receive the correct directory number.

21 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 22/28

Figure 6-5: CIPC Main Screen on Host B

Step 7: Establish a Call f rom Host A to Host B

On Host A, dial extension 5002 (Host B’s) by typing in the numbers on yourkeyboard or using the visual keypad in CIPC. Then click the Dial softkey.

22 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 23/28

Figure 7-1: Dialing from Host A to Host B

On host B, you should hear the phone ringing or see it receiving a call. Click the Answer softkey to pick up.

23 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 24/28

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 25/28

Figure 7-3: In-Call Display on Hos t A

Step 8: Change the Codec Being Used (OPTIONAL - Requires a version of the IOSthat has Call Manager Express (CME))

There are multiple codecs that can be used for VOIP. A codec is the methodused to encode and decode between analog (sound) voice data and a digitalformat. To find out the codec currently being used, establish a VOIP call

25 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 26/28

between the two hosts as shown before and double click the ? button on thephone.

Figure 8-1: Call Statistics

End the call. On R1, under both ephone prompts, use the codec type commandto change the codec from the default, g711ulaw , to g729r8 .

R1( conf i g) # ephone 1R1( conf i g- ephone) # codec g729r 8R1( conf i g- ephone) # ephone 2

26 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 27/28

R1( conf i g- ephone) # codec g729r 8

Close and reopen IP communicator on both hosts. Now, try establishing a callbetween the two hosts, then clicking the ? button.

Figure 8-2: Call Statistics on Host A w ith Codec Change Applied

Notice the codecs listed now on the phone. G.729 only uses 8Kb of bandwidth,versus G.711, which uses 64Kb. Of course, there must be a tradeoff to

27 - 28 CCNP: Optimizing Converged Networks v5.0 - Lab 2-1 Copyright © 2007, Cisco Systems, Inc

8/13/2019 Configure Cme and Cipc

http://slidepdf.com/reader/full/configure-cme-and-cipc 28/28

decrease bandwidth usage, which in this case is sound quality. Once you aredone observing the statistics, you may hang up the call.

Final Configurations

R1# show run!host name R1!i nt er f ace Fast Et her net 0/ 0

i p addr ess 172. 16. 10. 1 255. 255. 255. 0no shut down

!t el ephony- servi ce

max- ephones 4max- dn 10i p sour ce- addr ess 172. 16. 10. 1 port 2000syst em message Ci sco VOI Pkeepal i ve 15max- conf er ences 8 gai n - 6t rans fe r- sys t em f ul l - consul t

!ephone- dn 1

number 5001name Host A

!ephone- dn 2

number 5002name Host B

!ephone 1

devi ce- securi t y- mode nonemac- addr ess 0002. B3CE. 72A3codec g729r 8t ype CI PCbut t on 1: 1

!ephone 2

devi ce- securi t y- mode nonemac- address 0009. 5B1B. 67BDcodec g729r 8t ype CI PCbut t on 1: 2

!end