Vous êtes sur la page 1sur 83

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Task 1.1
SW1: vlan 11 name RACK1_VOICE ! vlan 12 name RACK1_DATA ! interface range FastEthernet 0/2 - 5 switchport mode access switchport access vlan 12 switchport voice vlan 11 spanning-tree portfast cdp enable ! R2: exit vlan database vlan 11 name RACK1_VOICE vlan 12 name RACK1_DATA exit conf t ! ! IP Phone ! interface range FastEthernet 0/1/0 - 1 switchport mode trunk switchport trunk allowed vlan 1,11,12,1002-1005 switchport voice vlan 11 switchport trunk native vlan 12 cdp enable SW2: vlan 11 name RACK1_VOICE ! vlan 12 name RACK1_DATA ! interface range FastEthernet 0/1 - 2 switchport mode access switchport access vlan 12 switchport voice vlan 11 spanning-tree portfast cdp enable

Copyright 2009 Internetwork Expert -1-

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Task 1.2
R1: ip dhcp pool PHONES network 177.1.11.0 /24 option 150 ip 177.1.10.10 default-router 177.1.11.1 R2: ip dhcp pool PHONES network 177.2.11.0 /24 option 150 ip 177.1.10.10 default-router 177.2.11.1 R3: ip dhcp pool PHONES network 177.3.11.0 /24 option 150 ip 177.3.11.1 default-router 177.3.11.1

Copyright 2009 Internetwork Expert -2-

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Task 2.1
Perform the following configuration steps on the Publisher CallManager: Step 1: Use the CUCM Serviceability Subsystem. Navigate to Tools > Service Activation. Choose the server corresponding to the CUCM Publisher first. Activate all the services except for the following: Cisco Messaging Interface,Security Services,Cisco Certificate Authority Proxy Function and Cisco WebDialer. Activate the same set of services, with the exception of Cisco TFTP Server, in the Subscriber CallManager.

Copyright 2009 Internetwork Expert -3-

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 2: Login to the CCMAdmin utility and navigate to the System > Server section of the menu. Click the Find button to list all available servers. If the hostnames are used, replace them with the IP addresses 177.1.10.10 and 177.1.10.20 for the Publisher and Subscriber respectively.

Copyright 2009 Internetwork Expert -4-

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 3: Navigate to System > Cisco CallManager. Name the two Servers CM_177.1.10.10, and CM_177.1.10.20 corresponding to the Publisher and Subscriber:

Step 4: Navigate to System > Cisco CallManager Group and click the Find button to list all available groups. Rename the Default group to CUCM_GROUP and select, then add the Subscriber server to the group. Make sure the Publisher is placed before the subscriber in the list and the group is set for Auto-Registration by default. **Note: Once the auto registration process is complete, the Subscriber server should be placed first in the order. This is the recommended design, for the Subscriber to perform Call Processing:

Copyright 2009 Internetwork Expert -5-

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 5: Navigate to Call Routing > Class of Control > Partitions and click the Add a New Partition link. Add a new partition named PT_INTERNAL.

Step 6: Navigate to Call Routing > Class of Control > Calling Search Space and click the Add New Calling Search Space link. Add a new CSS called CSS_HQ_DEFAULT and assign the partition PT_INTERNAL to this CSS. Copy the new CSS and rename it to CSS_BR1_DEFAULT.

Copyright 2009 Internetwork Expert -6-

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 7: Navigate to System > Device Pool and click the Find button to list the available device pools. Rename the Default device pool to DP_HQ. Set the Calling Search Space for Auto-Registration to CSS_HQ_DEFAULT:

Copy the DP_HQ device pool and name the copy DP_BR1 Step 8: Navigate to the System > Enterprise Parameters section of the menu. Replace the CallManager domain name in the Phone URL Parameters with the IP address of the Publisher CallManager (177.1.10.10)

Copyright 2009 Internetwork Expert -7-

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 9: Login to the CCMAdmin utility and proceed to the System > Cisco CallManager section of the menu. Configure the CUCM-PUB server to enable Auto-Registration

Create users in the CallManager corporate directory: Step 1: Navigate to User > Add a New User. Enter hquser1 as the value for First Name,Last Name and User ID fields. Set the User Password to cisco and PIN value to 12345. Check the Enable CTI Application Use checkbox on the bottom of the page and then click the Insert button:

Step 2: Click the Device Association link on the User page and use the description HQ IP Ph1 to locate the phone. Check the respective device and click the Update button when you're done to associate the device with the user.

Copyright 2009 Internetwork Expert -8-

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 3: Repeat Step 1 and Step 2 with the usernames hquser2", and hquser3" corresponding to HQ IP Phones 2 and 3. Check the CTI Application Use field for both users. Mark primary extensions for hquser3 as ICD extension (this will be needed by CUCCX). Finally create a new user cuccxadmin password cisco which will be used for CRS.

Perform the IP Phone registration & configuration following the steps below: Step 1: If you are using soft-phones, configure them to register with the CallManager server. Next, login to CCMAdmin utility, navigate to Device > Phone and click the Find button to list all registered phones. Ensure all your IP phones have registered with the CallManager cluster. Create a table of IP Phone MAC addresses and their associations to the IP Phone numbers. Use the show cdp neighbor command on the switches to accomplish this. Using the MAC address table created, configure the respective IP Phones: Step 2: Select the phone you want to configure and set the proper Device Pool (DP_HQ or DP_BR1), Description (e.g. HQ IP Ph1), Calling Search Space (CSS_HQ_DEFAULT for HQ Phones, CSS_BR1_DEFAULT for BR1 Phones Step 3: Once you have finished with the device settings, click on the primary DN (Line 1). Change the Directory Number to match the one assigned to the phone. Ensure the Partition is set to PT_INTERNAL and change Display (Internal Called ID) to a value that matches the phone, e.g. HQ IP Ph1. Ensure the External Phone Number Mask matches the site the phone belongs to (775201XXXX , 312301XXXX')

Copyright 2009 Internetwork Expert -9-

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Repeat Steps 2-3 until you have all phones configured.

Task 2.2
Configure R3 as follows and auto-register the IP phones with the CME.
R3: ! ! NTP master is needed to keep the local clock in sync This will ensure ! timestamps are accurate, which are used to determine the latest cnf file ! ntp master ! telephony-service max-ephones 4 max-dn 16 ip source-address 177.3.11.1 port 2000 dialplan-pattern 1 21313... extension 4 no-reg create cnf-files secondary-dialtone 9 system message CallManager Express at BR2

ephone-dn 1 dual number 3001 name BR2 IP Ph1

Copyright 2009 Internetwork Expert - 10 -

www.INE.com

CCIE Voice Lab Workbook Volume II


! ! ephone-dn 2 dual number 3002 name BR2 IP Ph2 ! ! Assign mac-addresses appropriately ! ephone 1 mac-address 0006.D7E5.C8E1 button 1:1 restart ! ephone 2 mac-address 000C.F12F.C447 button 1:2 restart ! ! ! ! ISDN PRI configuration ! isdn switch-type primary-net5 ! controller E1 1/0 linecode hdb3 framing crc4 pri-group timeslots 1-3 ! ! interface Serial 1/0:15 isdn outgoing display-ie ! ! Call routing is to be configured later

Version 3.0

Lab 3 Solutions

Task 3.1
Step 1: Locate the port. The location will be used to configure the T1 and gateway.
VORack01R1#show diag Slot 0: C2811 Motherboard with 2FE and integrated VPN Port adapter, 2 ports Port adapter is analyzed Port adapter insertion time 6d13h ago Onboard VPN : v2.3.3 EEPROM contents at hardware discovery: <snip> WIC Slot 0: T1 (2 port) Multi-Flex Trunk WAN daughter card <snip>

From the output above, the location is determined to be 0/0 (Slot 0 of the router, Slot 0 of the motherboard) Copyright 2009 Internetwork Expert - 11 www.INE.com

CCIE Voice Lab Workbook Volume II Step 2:


R1:

Version 3.0

Lab 3 Solutions

! ! Define the isdn switch-type (In this case NI2) ! isdn switch-type primary-ni ! ! Enable clock participate ! network-clock-participate wic 0 ! ! Configure the controller, and ensure the PRI protocol is MGCP ! controller t1 0/0 framing esf linecode b8zs pri-group timeslots 1-3 service mgcp ! ! Bind the Layer 3 packets to the CUCM system ! interface serial 0/0/0:23 isdn bind-l3 ccm-manager ! ! Configure the MGCP settings, ensuring the call agent and redundant ! host are both configured ! ! mgcp mgcp call agent 177.1.10.20 mgcp bind control source loopback 0 mgcp bind media source loopback 0 mgcp dtmf voip codec all mode out-of-band ! ccm-manager redundant-host 177.1.10.10 ccm-manager mgcp ccm-manager switchback immediate !

Step 3: On the CUCM Publisher server, navigate to Device > Gateway. Click the Add New button, and follow through the steps to configure the gateway:

Copyright 2009 Internetwork Expert - 12 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

After selecting the type (2811), select the protocol (MGCP)

Configure the gateway. Use the full hostname of R1 for the domain name. Select the NM4VWIC-MBRD as the module in Slot 0, and NI2 for the switchtype:

Step 4: Click save, then select the subunit where the card is located. This location was determined earlier (0/0/0):

Copyright 2009 Internetwork Expert - 13 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Click save once again, then click the link for the T1 Card:

Chose the gateway protocol to be used, in this case PRI:

Copyright 2009 Internetwork Expert - 14 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Configure the applicable settings for the gateway. The End-Point name and description are automatically configured, and will be used later for configuration of the channel status. All settings required must be configured as shown below:

Copyright 2009 Internetwork Expert - 15 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Continue with further configuration of the gateway. The PRI Protocol Type is automatically set, however you must change the Channel Selection Order. Next, uncheck the Inhibit restarts at PRI initialization, and check the Enable status poll option boxes.

Also check the following three options, which will enable IE (information element) delivery and redirection:

Copyright 2009 Internetwork Expert - 16 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Click the save button, and copy the End-Point Name.

Step 5: Navigate to System > Service Parameters. Chose the Publisher server, and the Call Manager Service:

Once the page has loaded, click the Advanced button, which will display all of the advanced parameters:

Copyright 2009 Internetwork Expert - 17 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Locate the Change B-Channel Maintenance Status 1 Field under the Clusterwide Parameters, and enter the endpoint name of the gateway followed by = 0001 1111 1111 1111 1111 1111. The field should appear like this: S0/SU0/DS1-0@VORack01R1 = 0001 1111 1111 1111 1111 1111

Task 3.2
Step 1: Configure R2 to operate as a H.323 gateway. Note that we need full a dial-plan implemented in the gateway:
R2: ! ! Initialize ISDN PRI ! isdn switch-type primary-ni network-clock-participate wic 0 ! controller t1 0/0/0 linecode b8zs framing esf pri-group timeslots 1-3 ! interface Serial 0/0/0:23 isdn outgoing display-ie ! ! Dial-peers. The first one handles incoming calls. ! dial-peer voice 911 pots incoming called . direct-inward destination-pattern 911 port 0/0/0:23 forward 3 ! dial-peer voice 9911 pots destination-pattern 9911 port 0/0/0:23 forward 3 !

Copyright 2009 Internetwork Expert - 18 -

www.INE.com

CCIE Voice Lab Workbook Volume II


dial-peer voice 900 pots desc == Local destination-pattern 9[2-9]......$ port 0/0/0:23 ! ! ! dial-peer voice 901 pots desc == LD destination-pattern 91[2-9]..[2-9]......$ port 0/0/0:23 prefix 1 ! dial-peer voice 902 pots desc == International destination-pattern 9011 port 0/0/0:23 prefix 011 ! ! ! Route incoming calls to the CallManager ! dial-peer voice 3120 voip destination-pattern 312301.... session target ipv4:177.1.10.20 dtmf-relay h245-alphanumeric no vad codec g729r8 ! dial-peer voice 3121 voip destination-pattern 312301.... session target ipv4:177.1.10.10 dtmf-relay h245-alphanumeric no vad codec g729r8 preference 2

Version 3.0

Lab 3 Solutions

! ! Use the Loopback0 interface for communications with the CCM ! interface Loopback0 h323-gateway voip interface h323-gateway voip bind src 177.1.254.2

Step 2: On the CUCM Publisher server, navigate to Device > Gateway. Click the Add New button, and follow through the steps to configure the gateway:

Copyright 2009 Internetwork Expert - 19 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Enter the configuration settings for the gateway: Use the Loopback IP from R2 as the Device Name. Also define the Device Pool.

Set the significant digits to 4, and the Calling Search Space to CSS_BR1. Check the Redirecting Number IE Delivery Inbound box.

Copyright 2009 Internetwork Expert - 20 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Finally, check the Display IE Delivery and Redirecting Number IE Delivery Outbound checkboxes. Then slick save.

Task 3.3
Step 1: Configure R1 as the IP-to-IP gateway. Since the CallManager uses G.711 and CallManager Express will use the G.729 codec to place calls via the IP-to-IP gateway, we need to register a transcoder with the IOS router. The actual call routing rules will be configured later, under Tasks 4.x solutions:
R1: voice service voip allow-connections h323 to sip allow-connections sip to h323 sip bind control source-interface Loopback0 bind media source-interface Loopback0 ! ! interface Loopback 0 h323-gateway voip interface h323-gateway voip bind srcaddr 177.1.254.1 ! gateway sip-ua ! ! Transcoder configuration ! !

Copyright 2009 Internetwork Expert - 21 -

www.INE.com

CCIE Voice Lab Workbook Volume II


! voice-card 0 no dspfarm dsp service dspfarm ! ! sccp local FastEthernet0/0.11 sccp ccm 177.1.11.1 identifier 1 version 7 sccp ip precedence 3 sccp ! sccp ccm group 1 associate ccm 1 priority 1 associate profile 1 register R1_XCODER ! dspfarm profile 1 transcode codec g711ulaw codec g711alaw codec g729r8 codec g729ar8 maximum sessions 4 associate application SCCP no shut ! telephony-service ip source 177.1.11.1 sdspfarm units 1 sdspfarm transcode sessions 4 sdspfarm tag 1 R1_XCODER max-ephone 1 max-dn 2 create cnf

Version 3.0

Lab 3 Solutions

Step 2: Add a new SIP trunk to communicate with the IP-to-IP gateway. Before you start, create a new device-pool named DP_IPIP under the System > Device Pool menu. After this, navigate to Device > Trunk > Add a New Trunk and select SIP Trunk as the Trunk Type Step 3: Set the Device Name field to TRUNK_SIP_IPIP_GW and Device Pool to DP_IPIP. Set the Destination Address to 177.1.254.1 Set the Significant Digits field to All and Calling Search Space to CSS_HQ_DEFAULT

Copyright 2009 Internetwork Expert - 22 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Task 4.2
Task 7.3 requires implementing classes of restriction in the manner that is physical deviceindependent. To accomplish this, we are going to create two types of calling search spaces. The first class is to be assigned at device level, and will allow accessing any PSTN partition, via the respective on-site PSTN gateway. The second class of CSSes is to be assigned to phone lines and will contain blocking patterns to ensure the particular phone conforms to the particular class of restriction. As the phone line calling-search spaces are prepended ahead of device level CSSes, the blocking patterns would take precedence. Therefore, if we assign patterns that block certain destinations (e.g. international) to the line CSSes, we will effectively implement classes of restriction that are independent of any particular device. Step 1: Before creating route-patterns, add three route-groups: RG_HQ, RG_BR1, RG_IPIP that contain the HQ (6608), BR1 (R2) and IPIP (R1) gateways respectively. Start the CCMAdmin utility and navigate to Route Plan > Route/Hunt > Route Group then click the Add a New Route Group link. Add the above mentioned route groups populating them with the respective gateways.

Step 2: Next, create Route Lists as appropriate per the task requirements. Use the information outlined in the following table: Route List RL _BR1 RL_HQ Route Group RG_BR1 RG_HQ Digits Manipulation Use External Phone Mask Strip PreDot + Use External Phone Mask

Navigate to Call Routing > Route/Hunt > Route List then click the Add a New Route List link. Use the information in the table above to create new route-lists and populate them with the route-groups. Note that we dont strip PreDot for patterns sent to RL_BR1, as this is the H.323 gateway which automatically strips 9 when it routes calls using IOS dialpeers. Step 3: Navigate to Call Routing > Class of Control > Partitions and click the Add a New Partition link. Create three partitions: PT_BLOCK_INTL, PT_BLOCK_LD, PT_BLOCK_LOCAL and assign the route patterns to the partitions per the following table:

Copyright 2009 Internetwork Expert - 23 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

(Note: While configuring the route patterns in the table below, you can specify any Gateway/Route List as the patterns are only intended to block the specified numbers from being dialed from within a specific partition, and will therefore never reach an actual Route List) Pattern 9011!/9011!# 91[2-9]XX[2-9]XXXXXX (Urgent Priority) 9[2-9]XXXXXX (Urgent Priority) Partition PT_BLOCK_INTL PT_BLOCK_LD PT_BLOCK_LOCAL

The reason for urgent priority is that we are going to add patterns like 9.! later, and need to avoid the inter-digit timeout. Dont forget to select the radio-button Route-Option: Block this Pattern with the cause Call Rejected

Step 4: Navigate to Call Routing > Class of Control > Calling Search Space and click the Add a New Calling Search Space link. Create the following Calling Search Spaces containing the partitions outlined in the table: Pattern CSS_LN_RESTRICTED Partition PT_BLOCK_LD PT_BLOCK_LOCAL PT_BLOCK_INTL PT_BLOCK_INTL

CSS_LN_DEFAULT

Next, navigate to the Call Routing > Route/Hunt > Route Pattern section of the menu and add the following route patterns: Pattern 9.!/9.!# 9.!/9.!# Partition PT_HQ_PSTN_DEFAULT PT_BR1_PSTN_DEFAULT Route List RL_HQ RL_BR1 www.INE.com - 24 -

Copyright 2009 Internetwork Expert

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 5: Navigate to the Device > Phone section of the menu. Assign the Calling Search Spaces to the telephony devices (including the EM profile) and their lines: Phone HQ IP Ph1 HQ IP Ph2 HQ IP Ph3 HQ Analog Ph2 BR1 IP Ph1 BR1 IP Ph2 EM Profile Step 6: Create CoR lists in the CME system:
R3: ! Define CORs ! dial-peer cor custom name DEFAULT name PREMIUM ! dial-peer cor list PT-DEFAULT member DEFAULT ! dial-peer cor list PT-PREMIUM member PREMIUM ! dial-peer cor list CSS-DEFAULT member DEFAULT ! dial-peer cor list CSS-PREMIUM member DEFAULT member PREMIUM

Device CSS CSS_HQ_DEFAULT CSS_HQ_DEFAULT CSS_HQ_DEFAULT CSS_HQ_DEFAULT CSS_BR1_DEFAULT CSS_BR1_DEFAULT

Line CSS CSS_LN_DEFAULT CSS_LN_DEFAULT

CSS_LN_DEFAULT CSS_LN_LOBBY

CSS_LN_DEFAULT

Copyright 2009 Internetwork Expert - 25 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 7: Configure dialing patterns in the CME system and assign them to the ephone-dns:
R3: ! ! Define the dialing patterns ! dial-peer voice 999 pots desc == Emergency incoming called-number . direct-inward-dial port 1/0:15 destination-pattern 999 forward-digits 3 corlist outgoing PT-DEFAULT ! dial-peer voice 900 pots description == Local numbers 8 digits destination-pattern 9[2-8].......$ port 1/0:15 corlist outgoing PT-DEFAULT ! dial-peer voice 901 pots description == LD 11 digits destination-pattern 90[2-8].........$ port 1/0:15 prefix 0 corlist outgoing PT-DEFAULT ! dial-peer voice 902 pots description == LD 11 digits destination-pattern 90[2-8]..........$ port 1/0:15 prefix 0 corlist outgoing PT-DEFAULT ! dial-peer voice 903 pots description == International destination-pattern 900.T port 1/0:15 prefix 00 corlist outgoing PT-PREMIUM max-conn 3 ! ephone-dn 1 corlist incoming CSS-DEFAULT ! ephone-dn 2 corlist incoming CSS-PREMIUM

Copyright 2009 Internetwork Expert - 26 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Tasks 4.3 - 4.4


Step 1: Run the CCMAdmin utility and navigate to Service > Service Parameters then select 177.1.YY0.10 for the Server and Cisco CallManager for the Service. Set the Stop Routing on Unallocated Number Flag field to False Step 2: Create the following route-lists in the CallManager system: Route List Route Group RG_IPIP Digits Manipulation Strip PreDot + Use External Phone Mask Strip PreDot + Use External Phone Mask + Prefix: 9011 Strip PreDot + Use External Phone Mask Strip PreDot + Use External Phone Mask + Prefix: 011

RL_BR1_TEHO_BR2_BAK_BR1 (BR1 TEHO to BR2 via IPIP gateway with backup via BR1 PSTN connection)

RG_BR1

RL_HQ_TEHO_BR2_BAK_HQ (HQ TEHO to BR2 via IPIP gateway with backup via HQ PSTN connection)

RG_IPIP

RG_HQ

Copyright 2009 Internetwork Expert - 27 -

www.INE.com

CCIE Voice Lab Workbook Volume II Step 3: Create the following route patterns: Pattern 9011.4423XXXXXXXX (Urgent Priority flag) Partition

Version 3.0

Lab 3 Solutions

Route List RL_BR1_TEHO_BR2_BAK_BR1

PT_BR1_PSTN_DEFAULT

9011.4423XXXXXXXX (Urgent Priority flag)

PT_BR1_PSTN_DEFAULT

RL_HQ_TEHO_BR2_BAK_HQ

Step 4: For abbreviated dialing to the BR2 site, create two translation patterns in the CallManager system, for the HQ and BR1 sites respectively: Pattern 3XXX Partition PT_BR1_PSTN_DEFAULT DDI Calling Search Space

Prefix: CSS_HQ_DEFAULT 901144232131 Prefix: 901144232131 CSS_BR1_DEFAULT

3XXX

PT_HQ_PSTN_DEFAULT

Step 5: Create translation-patterns in the CallManager to handle incoming calls coming from the IPIP gateway (e.g. from the BR2 site). First, create a separate partition to contain these patterns and name it PT_IPIP_GW_PATTERNS After that, add a new Calling Search Space, named CSS_IPIP_GW, and populate it with partitions PT_INTERNAL and PT_IPIP_GW_PATTERNS Assign this new CSS to the SIP trunk (TRUNK_SIP_IPIP_GW) created to communicate with the IP-to-IP gateway under the Device > Trunk section of the main menu.

Copyright 2009 Internetwork Expert - 28 -

www.INE.com

CCIE Voice Lab Workbook Volume II Step 6: Next, create the following Translation Patterns: Pattern Partition DDI

Version 3.0

Lab 3 Solutions

Calling Search Space CSS_HQ_DEFAULT

1775.XXXXXXX PT_IPIP_GW_PATTENS

Strip PreDot + Prefix: 9 Strip PreDot + Prefix: 9

1312.XXXXXXX PT_IPIP_GW_PATTENS

CSS_HQ_DEFAULT

1775201.XXXX

PT_IPIP_GW_PATTENS

Strip PreDot Strip PreDot + Prefix: 9

CSS_HQ_DEFAULT

1312301.XXXX

PT_IPIP_GW_PATTENS

CSS_HQ_DEFAULT

Copyright 2009 Internetwork Expert - 29 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 7: Configure TEHO call-routing rules in the CallManager Express system:


R3: ! ! The translation rule below will remove 900 from any number ! voice translation-rule 2 Rule 1 /900\(.*\)/ /\1/ ! voice translation-profile TO_IPIP_GW translate called 2 ! ! TEHO to HQ area code ! dial-peer voice 17750 voip destination-pattern 9001775.......$ session target ipv4:177.1.254.1 dtmf-relay h245-alpha translation-profile outgoing TO_IPIP_GW codec g729r8 corlist outgoing PT-DEFAULT ! dial-peer voice 17751 pots destination-pattern 9001775.......$ prefix 001775 port 1/0:15 corlist outgoing PT-DEFAULT preference 2 ! ! TEHO to BR1 area code ! dial-peer voice 13120 voip destination-pattern 9001312.......$ session target ipv4:177.1.254.1 dtmf-relay h245-alpha translation-profile outgoing TO_IPIP_GW codec g729r8 corlist outgoing PT-DEFAULT ! dial-peer voice 13121 pots destination-pattern 9001312.......$ prefix 001312 port 1/0:15 corlist outgoing PT-DEFAULT

Copyright 2009 Internetwork Expert - 30 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 8: Configure abbreviated dialing rules in the CME system:


R3: ! ! HQ 1XXX ! dial-peer voice 1000 voip destination-pattern 1...$ session target ipv4:177.1.254.1 dtmf-relay h245-alpha corlist outgoing PT-DEFAULT codec g729r8 tech-prefix 1775201 ! ! PSTN backup for 1XXX ! dial-peer voice 1001 pots destination-pattern 1...$ prefix 001775201 port 1/0:15 corlist outgoing PT-DEFAULT ! ! BR1 2XXX ! dial-peer voice 2000 voip destination-pattern 2...$ session target ipv4:177.1.254.1 dtmf-relay h245-alpha corlist outgoing PT-DEFAULT codec g729r8 tech-prefix 1312301 ! ! PSTN backup for 2XXX ! dial-peer voice 2001 pots destination-pattern 2...$ prefix 001312301 port 1/0:15 corlist outgoing PT-DEFAULT

Copyright 2009 Internetwork Expert - 31 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 9: Configure the IP-to-IP gateway for handling VoIP calls between the CME and CallManager systems:
R1: ! ! Handle incoming calls (select proper codec) ! Calls to HQ/BR1 start with 1 ! dial-peer voice 1000 voip incoming called-number 1..........$ codec g729r8 dtmf-relay h245-alphanumeric ! ! Calls to BR2 start with 4423 ! dial-peer voice 2000 voip incoming called-number 4423........$ codec g711ulaw dtmf-relay rtp-nte ! ! Route calls to 1775-XXX-XXXX via the CCM SUB first ! dial-peer voice 17750 voip destination-pattern 1775.......$ session target ipv4:177.1.10.20 session protocol sipv2 codec g711ulaw dtmf-relay rtp-nte ! ! Route calls to 1775-XXX-XXXX via the CCM PUB as backup ! dial-peer voice 17751 voip destination-pattern 1775.......$ session target ipv4:177.1.10.10 session protocol sipv2 codec g711ulaw dtmf-relay rtp-nte preference 2 ! ! Route calls to 1312-XXX-XXXX via the CCM SUB first ! dial-peer voice 13120 voip destination-pattern 1312.......$ session target ipv4:177.1.10.20 session protocol sipv2 codec g711ulaw dtmf-relay rtp-nte !

Copyright 2009 Internetwork Expert - 32 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

! ! Route calls to 1312-XXX-XXXX via the CCM PUB as backup ! dial-peer voice 13121 voip destination-pattern 1312.......$ session target ipv4:177.1.10.10 session protocol sipv2 codec g711ulaw dtmf-relay rtp-nte preference 2 ! ! Route Calls to 4423-XXXX-XXXX to the CME system ! dial-peer voice 4423 voip destination-pattern 4423........$ session target ipv4:177.1.254.3 codec g729r8 dtmf-relay h245-alpha

Step 10: Configure R3 (the CME) to handle the incoming VoIP calls from the IP-to-IP gateway. Keep in mind that all called numbers are in the format 4423-XXXX-XXXX. We need to properly handle calls to local extensions (3XXX) as well as the TEHO calls. The translation rule will take care of that, by properly rewriting the called numbers to match the configured dialpeers or ephone-dns.
R3: voice translation-rule 3 Rule 1 /4423....\(3...\)/ /\1/ Rule 2 /4423\(........\)/ /9\1/ ! voice translation-profile FROM_IPIP_GW translate called 3 ! ! Handle incoming calls and translate them ! dial-peer voice 2131 voip incoming called-number 44232131.... code g729r8 dtmf-relay h245-alpha translation-profile incoming FROM_IPIP_GW

Copyright 2009 Internetwork Expert - 33 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Task 4.5
R3: voice translation-rule 4 Rule 1 /\(.*\)/ /3000/ ! voice translation-profile SET_CLID_3000 translate calling 4 ! ephone-dn 3 number 3003 loopback-dn 4 forward 0 prefix 90017752011002 ! ephone-dn 4 translation-profile incoming SET_CLID_3000 loopback-dn 3

Tasks 5.1 - 5.2


Step 1: Navigate to System > Location and notice the Hub_None Location link. This will be used for the HQ Site phones. Click the Add New button, and create two locations. Name the locations LOC_BR1 and LOC_MOH. Set LOC_BR1 bandwidth to 72Kbps (3x24Kbps) and LOC_MOH bandwidth to 320Kbps (4x80Kbps):

The locations are to be used to control bandwidth usage between the HQ and BR1 sites, as well as limit the number of unicast MoH flows sourced to HQ devices (as required by Task 6.2)

Copyright 2009 Internetwork Expert - 34 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 2: Create the regions required by the lab scenario. The idea is to use G.729 over the WAN where possible, then converting it to G.711 where needed. Create regions for both CCM sites (HQ, BR1) REG_HQ, REG_BR1, a special region for the MoH Servers (REG_MOH) to control the codec used for MoH, a region for IPCC Express ports (REG_IPCC), a region for IP-to-IP gateway, used to select the codec for calls to site BR2 REG_IPIP and lastly REG_CUE to control codecs used for interaction with the voice-mail system. Select System > Region then click the Find button to list available regions. Rename the Default region to REG_HQ. Add new regions REG_BR1, REG_BR2, REG_IPIP, REG_IPCC, REG_CUE and REG_MOH. Configure the region codec settings per the following matrix: HQ BR1 IPIP IPCC CUE MOH HQ G.711 BR1 G.729 G.711 IPIP G.711 G.729 G.711 IPCC G.711 G.729 G.711 G.711 CUE G.729 G.729 G.711 G.711 G.711 MOH G.711 G.729 G.711 G.711 G.729 G.711

Copyright 2009 Internetwork Expert - 35 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 3: Go to System > Device Pool and use the Find button to list all device pools in the system. For the device pools DP_HQ, DP_BR1 and DP_BR2 set the Region field to REG_HQ, REG_BR1, REG_BR2 respectively.

Assign the region REG_IPIP to the device pool DP_IPIP which in turn has been assigned to the SIP trunk used to communicate with the IP to IP gateway in R1. Step 4: Navigate to Device > Phone and click Find to list all of the phones. For each of the phones, depending on it's site, set the Location field to LOC_HQ, LOC_BR1 and LOC_BR2 respectively. Add two locations for the HQ and BR1 with the bandwidth settings to accommodate the CAC requirements. For BR1 it should be 3x24=72Kbps.

Task 6.1
In this task, we need to register the DSP resources in R3 with the CallManager cluster. The transcoder in R3 will be used for communications with the CUE voicemail system. The transcoder at the BR1 location will be used by the HQ and BR1 devices. Step 1: Configure the NM-HDV in R3 first.
R3: voice-card 0 no dspfarm dsp service dspfarm ! sccp local fa 0/0.11 sccp ccm 177.1.10.10 identifier 1 version 7 sccp ccm 177.1.10.20 identifier 2 version 7 sccp ip precedence 3 sccp ! sccp ccm group 1 associate ccm 1 priority 2 associate ccm 2 priority 1 associate profile 1 register R3_XCODER ! ! !

Copyright 2009 Internetwork Expert - 36 -

www.INE.com

CCIE Voice Lab Workbook Volume II


! dspfarm profile 1 transcode codec g711ulaw codec g711alaw codec g729r8 codec g729ar8 maximum sessions 3 associate application SCCP no shut

Version 3.0

Lab 3 Solutions

Step 2:
R2: voice-card 0 no dspfarm dsp service dspfarm ! sccp local fa 0/0.11 sccp ccm 177.1.10.10 identifier 1 version 7 sccp ccm 177.1.10.20 identifier 2 version 7 sccp ip precedence 3 sccp ! sccp ccm group 1 associate ccm 1 priority 2 associate ccm 2 priority 1 associate profile 1 register R2_XCODER ! dspfarm profile 1 transcode maximum sessions 3 associate application SCCP no shut

Copyright 2009 Internetwork Expert - 37 -

www.INE.com

CCIE Voice Lab Workbook Volume II Step 3:

Version 3.0

Lab 3 Solutions

Navigate to Media Resource > Transcoder. Click the Add a New Transcoder link. Add a new Transcoder for R2 and R3. The example below is for R2. Set the Transcoder Type to Cisco IOS Enhanced Media Termination Point, set the Device Name to R2_XCODER and the Device Pool field to DP_BR1

Next, Organize media resources into Media Resource Groups (MRGs) and link the groups into Media Resource Group Lists (MRGLs) to be assigned to Device Pools. Step 1: Under the CCMAdmin system menu, select Media Resource > Media Resource Group and click the Add a New Media Resource Group link. Create a new group named MRG_BR1_XCODER containing just one device, corresponding to the R2 Transcoder. Step 2: Create another group MRG_BR2_XCODER and assign the device corresponding to the R3 DSP farm to this group. Step 3: Navigate to Media Resource > Media Resource Group, click the Add a New Media Resource Group List link and create a MRGL named MRGL_HQ. Assign MRG_BR1_XCODER to this group. Insert the group then copy it and rename it MRGL_BR1 Add another MRGL named MRGL_BR2 containing just one MRG, MRG_BR2_XCODER

Copyright 2009 Internetwork Expert - 38 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 4: Navigate to System > Device Pool and list all device pools using the Find function. Assign MRGL MRGL_HQ to DP_HQ, DP_IPIP and DP_BR1

Task 6.2
Configure Music on Hold servers following the steps below: Step 1: Add a new device pool named DP_MOH: copy it from DP_HQ under System > Device Pool. Set the Region field to REG_MOH for this device pool. This is needed to properly control codec selection for various devices. Step 2: Enable the use of the G.729 codec for Music on Hold. Choose System > Service Parameters and set Server as 177.1.10.10 and Service as IP Voice Media Streaming Application, Select G711ulaw and G729AnnexA for Supported MoH Codecs Step 3: Click on Media Resource > Music on Hold Server and then click the Find button. For each of the MoH Servers found, set the Device Pool to DP_MOH and Location to LOC_MOH

Copyright 2009 Internetwork Expert - 39 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Tasks 7.1 7.2


Use the examples for B-ACD parameters from the Cisco Documentation to build your own custom B-ACD script. Find the following section in the Cisco Documentation: (DocCD) http://www.cisco.com/web/psa/products/index.html Voice and Unified Communications > Call Control > Cisco Unified Communications Manager Express > Configuration Guides > Cisco Unified CME B-ACD and Tcl CallHandling Applications
R3: dial-peer voice 3000 pots service acdaa port 1/0:15 incoming called-number 21313000 ! ! Note that aa-hunt 1 points to BR2 IP Ph1, ! aa-hunt 2 to BR2 IP Ph2 and operator number ! application service callq flash:app-b-acd-2.1.2.2.tcl param queue-manager-debugs 1 param aa-hunt1 3001 param aa-hunt2 3002 param aa-hunt0 73001 param number-of-hunt-grps 3 param queue-len 10 ! service acdaa flash:app-b-acd-aa-2.1.2.2.tcl paramspace english location flash: paramspace english index 0 paramspace english language en param aa-pilot 21313000 param number-of-hunt-grps 3 param service-name callq param handoff-string acdaa param second-greeting-time 60 param drop-through-prompt _bacd_welcome.au param call-retry-timer 30 param max-time-call-retry 600 param voice-mail 73002 param max-time-vm-retry 2 ! ephone-dn 10 number 73... no-reg call-forward all 3555

Copyright 2009 Internetwork Expert - 40 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Task 8.1
Perform the following steps in order to enable AAR functionality: Step 1: Navigate to System > Service Parameters. Select the IP address corresponding to the Publisher CallManager and choose the Cisco CallManager service. Step 2: Change the Automated Alternate Routing Enable flag to True then click the Update button. Step 3: Navigate to Call Routing > AAR Group and click the Add a New AAR Group link. Enter AAR_HQ as the AAR Group Name and click the Insert button. Click the Add a New AAR Group link, enter AAR_BR1 for the AAR Group Name and then click the Insert button. Add another AAR group called AAR_BR2 Step 4: Fill in the Prefix Digits fields according to the following table and then update settings: HQ 9 91 BR1 91 9

HQ BR1

Step 4: Navigate to Device > Phone and locate BR1 IP Phone 1. Under the device settings change the AAR Calling Search Space field to CSS_BR1_DEFAULT and click the Update button. Click the Line 1 link under the Directory Numbers, change the AAR Group to AAR_BR1 then click the Update button. Step 5: Navigate to Device > Gateway and find the device corresponding to the BR1 H.323 gateway. Under the device settings change the AAR Calling Search Space field to CSS_BR1_DEFAULT, change the AAR Group to AAR_BR1 then click the Update button.

Copyright 2009 Internetwork Expert - 41 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Tasks 9.1 9.3


R1: ! ! We use NBAR to classify voice signaling & bearer traffic ! class-map VOICE_BEARER match protocol rtp ! class-map match-any VOICE_SIGNALING match protocol skinny match protocol sip match protocol h323 ! ip access-list extended CTIQBE permit tcp any any eq 2748 permit tcp any eq 2748 any ! class-map CTIQBE match access-group name CTIQBE ! ! CBWFQ configuration ! policy-map CBWFQ_BR1 class VOICE_BEARER priority percent 25 class VOICE_SIGNALING bandwidth remaining percent 5 class class-default fair-queue policy-map CBWFQ_BR2 class VOICE_BEARER priority percent 25 class VOICE_SIGNALING bandwidth remaining percent 5 class CTIQBE bandwidth remaining percent 3 class class-default fair-queue ! ! Parent shaping policies ! policy-map SHAPE_BR1 class class-default shape average 512000 service-policy CBWFQ_BR1 ! policy-map SHAPE_BR2 class class-default shape average 384000 service-policy CBWFQ_BR2

Copyright 2009 Internetwork Expert - 42 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

interface Serial 0/0/0:0.1 service-policy output SHAPE_BR1 ! ! By enabling pre-classify we allow packet classification ! before the IPsec encryption occurs ! crypto map VPN 10 qos pre-classify ! interface Serial 0/0/0:0.2 service-policy output SHAPE_BR2 R2: class-map VOICE_BEARER match protocol rtp ! class-map match-any VOICE_SIGNALING match protocol skinny match protocol sip match protocol h323 ! policy-map CBWFQ_HQ class VOICE_BEARER priority percent 25 class VOICE_SIGNALING bandwidth remaining percent 5 class class-default fair-queue ! policy-map SHAPE_HQ class class-default shape average 512000 service-policy CBWFQ_HQ ! interface Serial 0/0/1:0.1 service-policy output SHAPE_HQ

Copyright 2009 Internetwork Expert - 43 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

R3: ! ! We use NBAR to classify voice signaling & bearer traffic ! class-map VOICE_BEARER match protocol rtp ! class-map match-any VOICE_SIGNALING match protocol skinny match protocol sip match protocol h323 ! ip access-list extended CTIQBE permit tcp any any eq 2748 permit tcp any eq 2748 any ! class-map CTIQBE match access-group name CTIQBE ! policy-map CBWFQ_HQ class VOICE_BEARER priority percent 25 class VOICE_SIGNALING bandwidth remaining percent 5 class CTIQBE bandwidth remaining percent 3 class class-default fair-queue ! policy-map SHAPE_HQ class class-default shape average 384000 service-policy CBWFQ_HQ ! ! By enabling pre-classify we allow packet classification ! before the IPsec encryption occurs ! crypto map VPN 10 qos pre-classify ! interface Serial 1/1:0.1 service-policy output SHAPE_HQ

Copyright 2009 Internetwork Expert - 44 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Task 10.1
R3: ! ! This translation pattern will trim all numbers to the last four digits ! voice translation-rule 1 Rule 1 /.*\(....\)$/ /\1/ ! voice translation-profile TO_VOICEMAIL translate calling 1 translate called 1 translate redirect 1 ! ephone-dn 14 number 3555 secondary 3501 translation-profile outgoing TO_VOICEMAIL ! ephone-dn 15 number 3555 secondary 3502 translation-profile outgoing TO_VOICEMAIL ! ephone-dn 16 number A3998 secondary A3999 mwi on-off ! ephone 3 vm-device-id CiscoUM1-VI1 button 1:14 ! ! Ensure you add the vm-device-id command before the button definitions, ! otherwise, the router will request a mac-address to be entered. ! ephone 4 vm-device-id CiscoUM1-VI2 button 1:15 ! ! Ensure you configure call transfer settings to allow transfers to voicemail ! telephony-service call-forward pattern .T transfer-pattern .T transfer-system full-consult voicemail 3555

Copyright 2009 Internetwork Expert - 45 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Perform the following steps to integrate the Cisco Unity system with the CallManager Step 1: Navigate to Voice Mail > Cisco Voice Mail Port Wizard. Follow through the configuration steps as shown below. Use the Navigation buttons at the bottom of the page to move between the configuration steps:

Set the number of ports to 2:

Use HQ related parameters for the Unity Call Routing configurations:

Copyright 2009 Internetwork Expert - 46 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Next, Select the option to add the numbers to a new Line Group:

Use the default Line Group name:

Copyright 2009 Internetwork Expert - 47 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Finally, review the settings on the confirmation page, and click Finish. The summary page will now display, and should appear as shown below:

Step 2: Click the Hunt List link from the Summary Page:

Copyright 2009 Internetwork Expert - 48 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Click the Add New button. Name the Hunt List HL_VM, and check both options boxes:

Click the Save button, then click the Add Line Group button that will appear. Select the previously created Line Group, and click Save:

Copyright 2009 Internetwork Expert - 49 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 3: Navigate to Voice Mail > Voice Mail Port Wizard. Click the link for the Hunt Pilot, and click the Add New button. Configure the Hunt Pilot as shown below:

Step 4: Navigate to Voice Mail > Voice Mail Pilot. Click the Add New button, and configure the settings for the Pilot: (# 1500, CSS_HQ, Check the Default Box)

Copyright 2009 Internetwork Expert - 50 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 5: Navigate to Voice Mail > Message Waiting. Click the Add New button, and configure the two MWI numbers, one at a time. Use the copy button after the first configuration:

Step 6: Navigate to Voice Mail > Voice Mail Profile. Click the Find button, and select the Default Profile. Add the Pilot, and Mask to the configuration:

Copyright 2009 Internetwork Expert - 51 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 7: Navigate to Cisco Unity Connections (177.1.10.30) Open the Cisco Unified Serviceability subsystem, navigate to Tools > Service Activation. Select all services, and click save:

Step 8: Open the Cisco Unity Connection Administration subsytem, and navigate to Telephony Integrations > Port Group. Click the Add New button, and configure the Port Group Set the Display name to any value such as VM, and use the Port Name prefix created by the CUCM cluster for the Device Name Prefix: CiscoUM1-VI **Do not include the 1 or 2 after the prefix name from the port numbers, this will not work properly, and the Unity server will never register with the CUCM Set the IP Address to the Publishers IP

Copyright 2009 Internetwork Expert - 52 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 9: Navigate to Telephony Integrations > Port. Click the Add New button, and configure the new ports:

Step 10: Navigate to Telephony Integrations > Port Group. From the Edit menu, select Servers:

Copyright 2009 Internetwork Expert - 53 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Click the Add button, and enter the IP address of the Subscriber call Manager to both the CUCM servers, and TFTP servers. Ensure the order the CUCM servers is set as 0: SUB for CUCM servers, and 1: SUB for the TFTP servers. (This is the same logic used in the CUCM Group CM order):

Step 11: From the Edit menu, select Port Group Basics. Notice the Reset Required Message, and click the Reset button:

Copyright 2009 Internetwork Expert - 54 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Task 10.2
Step 1: Navigate to System Settings > Authentication Rules. Uncheck the Check against trivial passwords for extra security field and check the Never Expires field then click Save:

Step 2: Navigate to Templates > User Templates. Selec the "voicemailusertemplate". Uncheck the Set for Self-enrollment at Next Login" field then click Save:

Copyright 2009 Internetwork Expert - 55 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 3: Navigate to Edit > Password Settings. Uncheck User Must Change at Next Login":

Step 4: Navigate to Edit > Change Password. Set the password to 123456:

Copyright 2009 Internetwork Expert - 56 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 5: Navigate to Users > Users. Click User > New User:

Use the table below to enter the User Information:

Field First Name Last Name Display Name Extension Alias

Value HQ IP Ph1 HQ IP Ph1 1001 HQ IP Ph1

**Repeat this step to configure the remaining users.

Copyright 2009 Internetwork Expert - 57 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 6: On the CUCM Server, Navigate to Device > Phone. Click the DN configuration link, and set the Forward to Voice Mail for the Busy and No Answer check boxes:

Copyright 2009 Internetwork Expert - 58 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Task 10.3 10.4


R3: voice service voip allow-connection sip to sip ! telephony-service call-forward pattern .T transfer-pattern .T voicemail 3500 web admin system name administrator password cisco dn-webedit time-webedit ! ip http server ip http path flash: ! !The ip http server is used to allow web access to the CUE module ! ! Service-Engine configuration ! interface Service-Engine 0/0 ip unnumbered FastEthernet 0/0.11 service-module ip address 177.3.11.254 255.255.255.0 service-module ip default-gateway 177.3.11.1 no shutdown ip route 177.3.11.254 255.255.255.255 Service-Engine 0/0 ! ! Translation profile to simulate Voice-Mail mask ! voice translation-rule 1 Rule 1 /.*\(....\)$/ /\1/ ! voice translation-profile TO_VOICEMAIL translate calling 1 translate called 1 translate redirect 1 ! ! Abbreviated numbers to access VM pilot and AvT ! num-exp 3500 21313500 num-exp 3555 21313555 ! ! DID number to access Voicemail ! dial-peer voice 21313500 voip destination-pattern 21313500 session protocol sipv2 session target ipv4:177.3.11.254 dtmf-relay sip-notify codec g711ulaw max-conn 3 translation-profile outgoing TO_VOICEMAIL

Copyright 2009 Internetwork Expert - 59 -

www.INE.com

CCIE Voice Lab Workbook Volume II


! ! DID number to access AvT ! dial-peer voice 21313555 voip destination-pattern 21313555 session protocol sipv2 session target ipv4:177.3.11.254 dtmf-relay sip-notify codec g711ulaw max-conn 3 translation-profile outgoing TO_VOICEMAIL ! ! ephone-dn 15 number 3998.... mwi on ! ephone-dn 16 number 3999.... mwi off CUE CLI:

Version 3.0

Lab 3 Solutions

Rack1R3#service-module Service-Engine 0/0 session Trying 177.3.11.1, 2025 ... Open CUE> CUE> en Password: CUE# offline !!!WARNING!!!: If you are going offline to do a backup, it is recommended that you save the current running configuration using the 'write' command, prior to going to the offline state. Are you sure you want to go offline[n]? : y CUE(offline)# restore factory default !!!WARNING!!!: This operation will cause all configuration and data on the system to be erased. This operation is not reversible. Do you wish to continue[n]? : y Restoring the system. Please wait .....done System will be restored to factory default when it reloads. Press any key to reload: <output omitted>

Copyright 2009 Internetwork Expert - 60 -

www.INE.com

CCIE Voice Lab Workbook Volume II


IMPORTANT:: IMPORTANT:: IMPORTANT:: IMPORTANT:: IMPORTANT:: IMPORTANT:: IMPORTANT:: IMPORTANT:: IMPORTANT:: IMPORTANT:: IMPORTANT:: IMPORTANT::

Version 3.0

Lab 3 Solutions

Welcome to Cisco Systems Service Engine post installation configuration tool. This is a one time process which will guide you through initial setup of your Service Engine. Once run, this process will have configured the system for your location. If you do not wish to continue, the system will be halted so it can be safely removed from the router.

Do you wish to start configuration now (y,n)? y Are you sure (y,n)? y Enter Hostname (my-hostname, or enter to use se-177-3-11-254): CUE Enter Domain Name (mydomain.com, or enter to use localdomain): cisco.com IMPORTANT:: IMPORTANT:: IMPORTANT:: IMPORTANT:: IMPORTANT:: IMPORTANT:: DNS Configuration: This allows the entry of hostnames, for example foo.cisco.com, instead of IP addresses like 1.100.10.205 for servers used by CUE. In order to configure DNS you must know the IP address of at least one of your DNS Servers.

Would you like to use DNS for CUE (y,n)?n WARNING: If DNS is not used CUE will require the use WARNING: of IP addresses. Are you sure (y,n)? y Enter IP Address of the Primary NTP Server (IP address, or enter for 177.3.11.1): 177.3.11.1 Enter IP Address of the Secondary NTP Server (IP address, or enter to bypass): Please identify a location so that time zone rules can be set correctly. Please select a continent or ocean.
1) Africa 2) Americas 3) Antarctica 4) Arctic Ocean 7) Australia 10) Pacific Ocean 5) Asia 8) Europe 6) Atlantic Ocean 9) Indian Ocean

#? 8

Copyright 2009 Internetwork Expert - 61 -

www.INE.com

CCIE Voice Lab Workbook Volume II


Please select a country.
1) 2) 3) 4) 5) 6) 7) 8) 9) 10) 11) 12) 13) 14) 15) Albania 16) Andorra 17) Austria 18) Belarus 19) Belgium 20) Bosnia & Herzegovina Britain (UK) 22) Bulgaria 23) Czech Republic 24) Denmark 25) Estonia 26) Finland 27) France 28) Germany 29) Gibraltar 30) Greece 31) Hungary 32) Ireland 33) Italy 34) Latvia 35) 21) Liechtenstein Lithuania Luxembourg 38) Macedonia Malta 40) Moldova 41) Monaco 42) Netherlands 43) Norway Poland

Version 3.0
Portugal Romania Russia San Marino Slovakia 36) Slovenia 37) Spain Sweden 39) Switzerland Turkey Ukraine Vatican City Yugoslavia

Lab 3 Solutions

#? 7

The following information has been given: Britain (UK) Great Britain Therefore TZ='Europe/London' will be used. Local time is now: Sat Nov 24 14:10:01 GMT 2007. Universal Time is now: Sat Nov 24 14:10:01 UTC 2007. Is the above information OK? 1) Yes 2) No <output omitted> IMPORTANT:: IMPORTANT:: Administrator Account Creation IMPORTANT:: IMPORTANT:: Create an administrator account. With this account, IMPORTANT:: you can log in to the Cisco Unity Express GUI and IMPORTANT:: run the initialization wizard. IMPORTANT:: Enter administrator user ID: (user ID): administrator Enter password for : administrator (password): cisco Confirm password for by reentering it: (password): cisco

Copyright 2009 Internetwork Expert - 62 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Perform the following steps to complete Web-Initialization of Cisco Unity Express Step 1: Run the CUE Web-Init dialog (CME system must be pre-configured already with the HTTP server enabled). Open the URL http://177.3.YY1.254/Web in your browser then login with the username administrator and the password cisco. Click the link Run Initialization Wizard. Step 2: On the CallManager Express Login page enter hostname 177.3.YY1.1 (IP Address of the CME system) and the login/password you configured under telephony-service earlier (administrator/cisco). Step 3: On the Import CCME Users page, check that both users are already created in the CME system and that you checked the Mailbox fields. Step 4: On the Defaults page, check Blank password and Blank PIN fields. On the Call Handling page set Voice Mail Number to 3500, set AvT number as 3555, then select MWI On Number as 3998. and MWI Off Number as 3999.. Finish the WebInit process. Step 5: Go back to the CUE CLI prompt, and apply the following configurations, to create users and voice mailboxes:
CUE CLI: username br2user1 pin 12345 username br2user2 pin 12345 username pstnuser pin 12345 ! conf t ! username br2user1 phonenumber 3001 username br2user2 phonenumber 3002 username pstnuser phonenumber 999 ! groupname Broadcasters member pstnuser ! voicemail mailbox owner "br2user1" no tutorial end mailbox ! voicemail mailbox owner "br2user2" no tutorial end

Copyright 2009 Internetwork Expert - 63 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Task 11.1
Perform the following configuration steps to configure the JTAPI subsystem: Step 1: Perform the following configuration steps to configure the JTAPI subsystem: Step 1: Login to the CUCCX machine using the following information: Field IP Address Username (Windows) Password (Windows) Username (CUCCX Initilization) Password (CUCCX Initilization) JTAPI Username/Password RMCM Username/Password Value 177.1.10.40 Administrator cciecisco Administrator ciscocisco jtapi/cisco rmcm/cisco

Launch the CUCCX adminsitration using the Application Administration Internet Explorer shortcut on the desktop. Login using the credentials shown above

Choose Single Node, and click Setup:

Copyright 2009 Internetwork Expert - 64 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Enter the CUCM Publisher information, and username/password (admin/cciecisco)

Select the license file from the Desktop:

Once, the license file has been verified, click Next, and wait the activation process to complete (which may take up to 10 minutes)

Copyright 2009 Internetwork Expert - 65 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Add the Subscriber to the Selected AXL Service Providers: (Publisher first in order)

Add the Subscriber to the Selected CTI Managers: (Subscriber first in order)

Add the Subscriber to the Selected CTI Managers: (Subscriber first in order)

Copyright 2009 Internetwork Expert - 66 -

www.INE.com

CCIE Voice Lab Workbook Volume II Set the following System Parameters:

Version 3.0

Lab 3 Solutions

Choose the language:

Click search to find the users from CUCCM. Move the CUCCX user to the Adminsitrator list, and ensure hquser3 is listed as a user:

The installation is now complete. Any JTAPI errors can be ignored, as they will be resolved later. Close the browser, then open it once again, and login with the cuccxadmin user.

Copyright 2009 Internetwork Expert - 67 -

www.INE.com

CCIE Voice Lab Workbook Volume II Step 2:

Version 3.0

Lab 3 Solutions

Navigate to Subsystems > Cisco Unified CM Telephony. Click the Add a New Cisco Unified CM Telephony Call Control Group link. Fill in the fields using the table below: Field Number of CTI Ports Starting Directory Numbers Device Name Prefix Device Pool Location AAR Group External Phone Number Mask Display Click the Add button. Value 2 1401 CTI DP_HQ LOC_HQ AAR_HQ 775201XXXX CTI Ports

Perform the following steps to configure the CallManager system: Step 1: Navigate to User > Application User. Find the user name rmcm. Select the device corresponding to the HQ IP Phone 3. Check the No Primary Extension and No ICD Extension fields then click the Update button. Repeat this step to associate the rmcm user with BR1 IP Phone 2. Step 2: Ensure the user hquser3 is in the corporate directory under User > End User. In addition, assign the IPCC extension to 1003:

Copyright 2009 Internetwork Expert - 68 -

www.INE.com

CCIE Voice Lab Workbook Volume II Step 3:

Version 3.0

Lab 3 Solutions

Navigate to Device > Device Settings > IP Phone Services and click the Add a New IP Phone Service link Enter the Service Name as IPPA and the Service URL as: http://177.1.10.10:6293/ipphone/jsp/sciphonexml/IPAgentInitial.jsp (You may find this URL under Cisco CAD Installation Guide on the Cisco DocCD)

Step 4: Navigate to the Device > Phone section of the menu and locate HQ IP Phone 3. On the Phone Configuration page click the Subscribe/Unsubscribe services Related links, then choose IPPA from the drop-down list click Continue and then click Subscribe. Perform the following steps to configure the RMCM subsystem and create a JTAPI trigger: Step 1: Run the CRS Application Administration utility and then navigate to Subsystems > RMCM > Resource Groups. Click the Add a New Resource Group list link and set the Resource Group List Name to RG_DEFAULT then click the Add button:

Copyright 2009 Internetwork Expert - 69 -

www.INE.com

CCIE Voice Lab Workbook Volume II Step 2:

Version 3.0

Lab 3 Solutions

Navigate to the Resources section and click on the hquser3. Change the Resource Group field to RG_DEFAULT then click the Update button.

Step 3: Click the Contact Service Queues link then click the Add a New Contact Queue link. Set Contact Service Queue Name to CSQ_DEFAULT and set the Resource Pool Selection Model to Resource Group Click the Next button, then choose the Resource Group RG_DEFAULT and click the Add button.

Step 4: Navigate to Application > Application Management then click the Add a New Application link. Set Application Type to Cisco Script Application and click the Next button.

Copyright 2009 Internetwork Expert - 70 -

www.INE.com

CCIE Voice Lab Workbook Volume II Step 5:

Version 3.0

Lab 3 Solutions

Set the Name field to ICD, Maximum Number of Sessions to 2, and the Script field to icd.aef.Click the CSQ parameter check-box and set the parameter value to CSQ_DEFAULT and then click the Add button:

Step 6: Click the Add a New Trigger link set Trigger Type to CM Telephony and set the trigger parameters according to the following table: Field Directory Number Maximum Number of Sessions Call Control Group Device Pool Location External Phone Number Mask Display Click the Add button. Step 7: Navigate to System > Control Center then click the name corresponding to your server. Select the CUCCX Engine application and the click the Restart button. Value 1400 Default JTAPI Group #0 DP_HQ HUB_NONE 775201XXXX ICD Port

Copyright 2009 Internetwork Expert - 71 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Task 11.2
Step 1: Run the CRS Application Administration utility and then navigate to the Subsystems > RMCM > Skills section of the menu. Click the Add a New Skill and set the Skill Name to sales then click the Add button. Repeat this step to add the support skill.

Step 2: Assign Skills to Agents. Navigate to Subsystems > RMCM > Resource. Select agent1 and assign it two skills: sales with competence of 5 and support with competence of 1 Next, select agent2 and assign it the same sales and support skills with the competence values of 1 and 5 respectively. Step 3: Add a new Contact Service Queue. Navigate to Subsystems > RMCM > Contact Service Queue and click the Add a New Contact Service Queue link. Set the Contact Service Queue Name to CSQ_DEFAULT and Resource Pool Selection Model to Resource Skills. Set Service Level to 5 and click the Next button. Step 4: Set Resource Selection Criteria to Most Skilled by Weight and add the sales and support skills to the queue. Set Minimum Competence for support and sales to 1. Then, set Weight for sales to 1 and Weight for support to 2. This ensures that the support skill is weighted more. Step 5: Finally, assign the new CSQ to the ICD application. Navigate to Applications > Application Management and select the ICD application. Click the CSQ parameter checkbox, and set the parameter value to CSQ_DEFAULT

Copyright 2009 Internetwork Expert - 72 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Task 12.1
Step 1: On the CUCM Publisher, navigate to Device > Trunk. Create a new SIP Trunk:

Configure the trunk as shown below, using the Device Pool and Location for HQ:

Copyright 2009 Internetwork Expert - 73 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Set the Destination IP to the Presence Server IP address (177.1.10.50):

Step 2: Navigate to User Management > End User. Click add new, and create a user for the HQ Phone: hquser1, Password:cisco, Pin: 12345. Click Save:

Click the Device Association link on the User configuration page. Locate and select HQ Phone 1, then click Save Selected Changes. Copyright 2009 Internetwork Expert - 74 www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Navigate back to the user page, and Set the primary extension to 1001:

Click the Add to User Group link near the bottom of the page. Select the Standard CTI Enabled Group, then click Add Selected.

Finally, click Save on the user page. Step 3: Navigate to User Management > Application User. Click add new, and create a user for the Presence CTI Control:CtiGw, Password:cisco, click Save. Next, click the Add to User Group link near the bottom of the page. Select the Standard CTI Allow Control of All Devices then click Add Selected:

Step 4: Navigate to Device > Phone. Select HQ Phone 1, and set the Owner User ID to the user previously created, then click Save:

Step 5: Navigate to System > Service Parameters. Select the Publisher as the server, and Call Manager as the service. Locate the CUP Publish Trunk Field, and set the trunk to PRESENCE_TRUNK created above, then Click Save:

Copyright 2009 Internetwork Expert - 75 -

www.INE.com

CCIE Voice Lab Workbook Volume II Step 6:

Version 3.0

Lab 3 Solutions

Navigate to System > Licensing > Capabilities Assignment. Locate and Select hquser1. Enable CUP and CUPC for the user. Click Save:

Step 7: Navigate to System > Application Server. Click Add New, and set the type to Cisco Unified Presence Server, then click Next:

Set the Name to the Presence Hostname (CUPS7) then set the IPs, click Save:

Copyright 2009 Internetwork Expert - 76 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Open the Presence Administration homepage: (177.1.10.50). Click the Presence Administraion Link. Complete the integration steps, as shown below: Enter the CUCM hostname, and IP:

CUCM admin user and password cciecisco:

Security Password: cciecisco

Copyright 2009 Internetwork Expert - 77 -

www.INE.com

CCIE Voice Lab Workbook Volume II Check the listed information, and click Confirm:

Version 3.0

Lab 3 Solutions

Click the Home Link to reach the Adminsitration Page. Navigate to Serviceability and under Service Activation, activate all services. Step 8: Navigate to System > Security > Incoming ACL. Click Add new, enter ALL for both fields:

Repeat this step to create an Outgoing ACL, also entering ALL. Step 9: Navigate to System > Service Parameters. Select CUPS7, then Cisco UP SIP Proxy as the service. Set the Proxy Domain name to cisco.com:

Copyright 2009 Internetwork Expert - 78 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 10: Navigate to Presence > Gateways. Add a new gateway type CUCM with the Publisher information:

Step 10: Navigate to Presence > Routing > Settings. Set the Listener to Default TCP:

Step 10: Navigate to Application > Cisco Unified Personal Communicator > Settings. Enter the Publisher IP for the TFTP server:

Copyright 2009 Internetwork Expert - 79 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 10: Navigate to Application > Cisco Unified Personal Communicator > User Settings. Locate and Select hquser1 and assign the CTI profile:

Step 11: Navigate to Application > Deskphone Control > Settings. Set the Status to On, enter the password of the CtiGw user created in CUCM (cisco), and enter the Subscriber, then Publisher IP Addressess:

Copyright 2009 Internetwork Expert - 80 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 12: Ensure you have Cisco Unified Personal Communicator installed on your computer. You can download this application from http://www.cisco.com Launch the application, and enter user credentials created for hquser1:

Click Log In, ensure Desk Phone mode starts, and place a call using the Dial Pad, ensuring that HQ Phone 1 is placing the call:

Copyright 2009 Internetwork Expert - 81 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Perform the following to configure the softphone client: Step 1: On the CUCM Publisher, navigate to Device > Phone. Click Add New, and add a new phone for the Softphone: (Devicename: UPCHQUSER1)

Click the Add New DN Line button. Set the DN to 1001 (To match the HQ Phone 1 Line 1 appearance):

Copyright 2009 Internetwork Expert - 82 -

www.INE.com

CCIE Voice Lab Workbook Volume II

Version 3.0

Lab 3 Solutions

Step 2: Launch the CUPC client, and ensure you can use Softphone mode to make calls:

Copyright 2009 Internetwork Expert - 83 -

www.INE.com

Vous aimerez peut-être aussi