+ All Categories
Home > Documents > Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Date post: 21-Jan-2016
Category:
Upload: ciscoashok
View: 51 times
Download: 0 times
Share this document with a friend
Description:
nbnbnbn
Popular Tags:
94
CVOIC E Implementing Cisco Voice Communications and QOS Version 8.0 Lab Guide Text Part Number: 97-2876-02
Transcript
Page 1: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

CVOIC E

Implementing CiscoVoice Communications

and QOS

Version 8.0

Lab Guide

Text Part Number: 97-2876-02

Page 2: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

., 11,111 ,CISCO.

CISCO has more than 200 offices worldwide Addresses. phone numbers. and fax numbers are listed on the CISCO Website at WWWCisco. coin/90/01fices

, CISCO "lad I'm CISCO Logo are Indemaiks o1Cisco Syslems Inn andforila allilialesinlhe U S and o1hei conniiies Alls!Ing o1Ci, c. s 11aderneiks can be IOUnd at WWWCisco cumJgo!Irudemaiks Tlii, d reliy 11ndemaiks^, rent. red aleihe property dinei, respect, VB owneis The used lhe Hold pyrinei d, es nullmply a pyrinership ,elniio""lip belween CISCO and any .!her company 11.05Rj

DISCLAIMER WARRANTY: THIS CONTENTis BEING PROVIDED "As Is. " CISCO MAKES AND You RECEIVE NO WARRANTIES IN CONNECTION WITH THE

CONTENT PROVIDED HEREUNDER, EXPRESS, IMPUED, STATUTORY OR IN ANY OTHER PROVISION OF THIS CONTENT OR COMMUNICAnON BETWEENCISCO AND You. CISCO SPECIFICALLY DISCLAiMS ALLiMPLiED WARMNnEs, INCLUDING WARRANTIES OF MERCHANTABiLiTY, NON-INFRINGEMENT

AND FITNESS FOR A PARTICULAR PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACrlCE. This learning product maycontain early release content, and while Cisco believes it to be accurate, it falls subject to the disclaimer above

Americas HeadquartersCISCO Systems IncSari Jose. CA

Lab Guide

Printed in Singapore

Asia Pacilic HeadquartersCISCO Systems jusAj Pie LidSingapore

Europe HeadquartersCISCO Systems In Iernaiional BVinsteadam The Neiherlands

@ 2010 Cisco and/or its affiliates. All rights reserved

Page 3: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Lab Guide

OverviewOutline

Pullout Pod Layout and IP AddressingDescription of Simulated PSTN

Simulated PSTN Phone

Calls Inbound to Simulated PSTNCalls Outbound from Simulated PSTN

Lab In : Configuring Voice PortsActivity ObjectiveVisual ObjectiveRequired ResourcesCommand ListJob Aids

Task I : Configure DHCP Servers to Support AutoregistrationTask 2: Autoregister Cisco Unified IP PhonesTask a Configure PRI InterfacesTask 4: Enable HQ to PSTN CallsTask 5: Enable PSTN to HQ Calls

Task 6: Enable BR to PSTN CallsTask 7: Enable PSTN-to-BR Calls

Lab 12: Configuring DSPsActivity ObjectiveVisual ObjectiveRequired ResourcesCommand ListJob Aids

Task I : Operate DSPs in Default Codec Complexity Mode FlexTask 2: Operate DSPs in Medium Codec Complexity Mode

Lab 2-I : Configuring VoIP Call LegsActivity ObjectiveVisual ObjectiveRequired ResourcesCommand ListJob Aids

Task I : Configure Basic VoIP on the HQ GatewayTask 2: Configure Codec on the HQ GatewayTask 3: Configure Asymmetric Codec NegotiationTask 4: Configure Symmetric Codec Negotiation and Examine Fast StartTask 5: Configure Slow Start and the Interface Bind FeatureTask 6: Configure SIP Signaling

Lab 3-I : Configuring Cisco Unified Communications Manager Express to Support EndpointsActivity ObjectiveVisual ObjectiveRequired ResourcesCommand ListJob Aids

Task I : Delete Existing SCCP Endpoints on HQ GatewayTask 2: Configure Cisco Unified Communications Manager Express System Parameters forSCCP EndpointsTask 3: Configure SCCP EndpointsTask 4: Configure Support for Cisco IP Communicator (Optional)

Table of ContentsI

2

34

58

11

11111112131415

161618

18

1920202020212122

2325

25

2525262727282829

30

3032323232333434

3435

36

Page 4: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Lab 4-1 : Implementing Digit ManipulationActivity ObjectiveVisual ObjectiveRequired ResourcesCommand ListJob Aids

Dial Plan

Task I : Fix Outbound International PSTN Calling from BRTask 2: Change Internal Numbering Plan to FourDigit SchemeTask 3: Manipulate Calling Number in Outbound PSTN CallsTask 4: Manipulate Calling Number and Called Number in Inbound PSTN CallsTask 5: Manipulate Calling Number and Called Number in Intersite VoIP Calls

Lab 4-2: Implementing Path SelectionActivity ObjectiveVisual ObjectiveRequired ResourcesCommand List

Job AidsDial Plan

Task I : Configure Backup PSTN Path for HQ to BR CallingTask 2: Configure Backup PSTN Path for BR to HQ CallingTask 3: Configure TEHO at HQ for Calls to North AmericaTask 4: Configure TEHO at BR for Calls to Europe

Lab 4-3: Implementing Calling PrivilegesActivity ObjectiveVisual ObjectiveRequired ResourcesCommand ListJob Aids

Task I : Configure Call Permissions for the HQ SiteTask 2: Configure Call Permissions for the BR Site

Lab 5-, : Implementing GatekeepersActivity ObjectiveVisual ObjectiveRequired ResourcesCommand ListJob Aids

Gatekeeper and Gateway AddressingTask I : Configure Local Zones and Zone PrefixesTask 2: Configure Gateways to Register with the GatekeeperTask 3: Configure Call Admission Control

Lab 5-2: Implementing Cisco Unified Border ElementActivity ObjectiveVisual ObjectiveRequired ResourcesCommand ListJob Aids

Task I : Configure Cisco Unified Border Element FunctionsTask 2: Configure Codec TransparencyTask 3: Configure SIP-to-H. 3231nterworking and Media Flows

Lab 6-I : Implementing QOS Using Cisco AutoQOS and Manual ConfigurationActivity ObjectiveVisual ObjectiveRequired ResourcesCommand ListJob Aids

Task I : Evaluate VoIP Quality Without QOS AppliedTask 2: Configure AutoQOS VoIPTask 3: Fine-Tune QOS Policy

3737

37

373838

38394041

42

434545454546

464647

484949515151

5152525354

55555555555757

5758

59

60606060616161

626364646464

6565

656666

11 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems, Inc

Page 5: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Answer KeyLab In Answer Key: Configuring Voice PortsLab 12 Answer Key: Configuring DSPsLab 2-1 Answer Key: Configuring VoIP Call LegsLab 3-, Answer Key: Configuring Cisco Unified Communications Manager Express to SupportEndpointsLab 4-I Answer Key: Implementing Digit ManipulationLab 4-2 Answer Key: Implementing Path SelectionLab 4-3 Answer Key: Implementing Calling PrivilegesLab 5-I Answer Key: Implementing GatekeepersLab 5-2 Answer Key: Implementing Cisco Unified Border ElementLab 6-I Answer Key: Implementing QOS Using Cisco AutoQOS and Manual Configuration

68687071

73757880828385

@ 2010 Cisco Systems, Inc. Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 111

Page 6: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

IV Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

I

@ 2010 Cisco Systems, Inc

.

Page 7: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

CVOIC E

Lab Guide

Overview

This guide presents the instructions and other infonnation concerning the lab activities for thiscourse. You can had the solutions in the lab activity answer Key.

Outline

This guide includes these activities:

. Pullout Pod Layout and IP Addressing

. Description of Simulated PSTN

. Lab I-I: Configoriiig Voice Ports

. Lab I-2: Configuring DSPs

. Lab 2-I: Collfiguring VoIP Call Legs

. Lab 3-I: Coltiguring Cisco Unified Coriumunications Manager Express to SupportEndpoints

. Lab 4- I : Implementing Digit Manipulation

. Lab 4-2: Implementing Path Selection

. Lab 4-3: Implementing Calling Privileges

. Lab 5-I: Implementing Gatekeepers

. Lab 5-2: Implementing Cisco Unified Border Element

. Lab 6-I: Implementing QOS Using Cisco AutoQOS and Manual Configuration

. Answer Key

Page 8: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Pullout Pod La out and IP Addressin

Pod Layout and IP Addressing

HQi-PI, ,n,VLA" Rp2

HQ Phone I HQ Phone 2

PCI-I, ~

top3U24 '.....

Pod p

DHCP 10 2004

BRI, ,""

VIAN FD,

BR Phone

PC3i >'

I'BRI-D, . "~'

HO-, '

101

DLCI p2,

,.: : ::,~.",.,-. ~ ,.,-. .,.~"

to andler pod10 12.00116

PSTN Phone p

V"N Rag

DHCP

10 60124.

10 p. 4004

102

DLCI PIT

*^,

102 -,:;;",

DHCP

\*\:^;;/,."Simulated

lop. 250.10232

102

BR-I

lop Spy24 R = Rack number

p = Pod number

2 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems, Inc

Page 9: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Description of Simulated PSTNThis section describes the functionality of the simulated PSTN.

The lab layout consists of two student pods: pod I and pod 2. Each pod consists of an HQ-x siteand a BR-x site. These sites are virtually placed in the following different geographical regions:

. The HQ-x site is located in a vimal European country.

. The BR-x site is located in a vimal North American country.

This placeinent determines the dialing rules that are to be followed when dialing to thesimulated PSTN. The HQ-x site follows European dialing rules. The BR-x site follows NorthAmerican dialing rules (that is, the NANP).

Note There is no common European numbering plan in effect within the European Union at themoment. Therefore, for simplicity, the simulated PSTN supports dialing rules like the NANP.This will be explained in more detail in a later section

Student pods are connected to the simulated PSTN using ISDN PRI interfaces. ISDN PRIinterfaces use one of two switch types toward the simulated PSTN.

. HQ-I and HQ-2 use switch-type primary-nets.

. BR-I and BR-2 use switch-type primary-ini.

Be aware that using switch-type primary-ini automatically modifies the type of nunarber (TON)for outboundlSDN calls if they have one of the following called-party number formats:

. A seven-digit called-party number gets TON subscriber.

. A 10-digit called-party number gets TON national.

. A 12-digit called-party number (includes 2-digit country code) prefixed with O I I gets TONinternational.

This figure shows DID called-party number ranges that are used to dial into individual sites.These calls can be placed either from a simulated PSTN phone to a site or from one site toanother via the simulated PSTN. Pods use overlapping directory numbers at the HQ-x and BR-x sites.

@ 2010 Cisco Systems, Inc Lab Guide 3

Page 10: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

DID Called-Party Numbers.................-..-.-......-.-............-...-...-.......-...---............~

,.. . ., :-.:._.. '-.'Europe;^nCOUntry .'.-. . . ... ,,, . . . ., ,-..* 5552XXX '- .-'-"." -- . 5552><>0< -. -. - .,

I .- .11;.*.:11. - I':*'. ^11, :.;;; 51,5552>00<1/1 '11/1. .::::-" 5,25552XXX 11'11":::'-.-:' -".. . - I "II', Jul:,..:- HIQ'.,:'- ' .;;." '556,15552XXx:-I'..'::'55,5125552xxx 11:11:':--. HQ, 2, .-::.:^:.:. 1.1."~ "" """ """" " " ' """' """' "" """""'** *" '

I** *** "' "' " "' ""' " " "

Pod I

ISDN PRI primary-net5

..

"

'*,.:,...,.. .

The individual sites use the DID number ranges that are listed in this table. Area codes 51 I,512,521, and 522 are assigned tomdividual sites. Country codes 55 and 66 represent thevimal European (Eru and the virtual Nortti American (NA) countries.

Site DID Number Ranges

Simulated PSTN

o,

ISDN PRI primary-ni

* , ...,.. ~

.

99

.. *

* *-

90

Site internal directory numbers

,, A s*.

Local PSTN DID range

"a, e

e,

National PSTN DID range

Pod 2

Simulated PSTN Phone

Each of the student pods has been using its own simulated PSTN phone: PSTN phone I (forpod I) and PSTN phone 2 (for pod 2).

The simulated PSTN phone is used to hitiate simulated PSTN calls to sites of the pod to whichthe simulated PSTN phone has been associated, or the simulated PSTN phone is used totenninate simulated PSTN calls that originated from a student pod. For this purpose, thesimulated PSTN phone has been using six lines that represent different types of calls.

This table outlines which line buttons are available at the simulated PSTN phone as well astheir functions.

International PSTN DID range

$

"

Note

$

."

.

HQ-rn Site (EU)

in is your pod number

2XXX

555-2XXX

51 in-555-2XXX

55-51m-555-2XXX

I, ' . * -'

BR-rn Site (NA)

4

3XXX

Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

555-3XXX

52m-555-3XXX

66-52m-555-3XXX

@ 2010 Cisco Systems. Inc.

Page 11: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Lines at the Simulated PSTN Phone

Button Position

2

3

4

Button Name*

5

Local

6

National

*Button names as they appear on the simulated PSTN phone display (button labels)

The definition of valid calls for each type of call is explained in later sections. in these latersections, it will also be explained how the simulated PSTN phone can be used to initiate calls ofvarious types.

Internti

800

Calls Inbound to Simulated PSTN

This section describes which calls are recognized by simulated PSTN in the inbound directionwhen dialed from student pods and how these calls are routed.

Calls Inbound from HQ Sites

HQ sites are virtually located in Europe and, therefore, all calls from HQ sites into thesimulated PSTN follow European dialing rules. For simplicity, however, variable-16ngtlinumbers are implemented for international calls only and not for local and national cans, as iscommon in many European countries.

A call from an HQ site, depending on its called number, is either tenninated at the simulatedPSTN phone or routed to another site (HQ or BR) of pod I or pod 2. The call can also bereturned chairpimed) to the site that it came from.

This table lists all the types of valid inbound calls to the simulated PSTN from HQ sites.

Valid Inbound PSTN Calls from HQ Sites

Premium

Function

Emergency

Caution

Terminates valid local PSTN calls

Terminates valid national PSTN calls

Terminates valid international PSTN calls

Placing calls between simulated PSTN phones of two pods is not supported.

Terminates valid toll-free PSTN calls

Terminates valid premium (900) PSTN calls

Terminates emergency PSTN calls

Valid Called Number

112

[2-9]XX-XXXX (7 digits)

[2-9]XX-XXXX (7 digits)

012-91XX-[2-9]XX-XXXX (11 digits)

[2-9]XX-[2-9]XX-XXXX (10 digits)

00-any number of digits

Any number of digits

@ 2010 Cisco Systems, Inc

Valid TON

O-800-t2-91XX-XXXX (11 digits)

800-t2-91XX-XXXX (I I digits)

unknown

unknown

Call Routed To

subscriber

unknown

Emergency line*

national

Local line*

unknown

Local line*

international

National line*

Calling NumberPresentation Format

unknown

National line*

national

Interntl line*

preserved

Interntl line*

preserved

800 line*

preserved

800 line*

preserved

preserved

preserved

preserved

preserved

preserved

Lab Guide 5

Page 12: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Valid Called Number

O-900-t2-91XX-XXXX (11 digits)

900-t2-91XX-XXXX (I I digits)

555-2XXX (7 digits)

555-2XXX (7 digits)

O-511-555-2XXX tit digits)

511-555-2XXX (10 digits)

00-55-511-555-2XXX (14 digits)

Valid TON

55-511-555-2XXX (12 digits)

O-512-555-2XXX (11 digits)

unknown

512-5552XXX (10 digits)

national

Call Routed To

00-55-512-555-2XXX (, 4 digits)

unknown

55-512-555-2XXX 02 digits)

subscriber

Premium line*

00-66-521-555-3XXX (, 4 digits)

unknown

Premium line*

66-521-555-3XXX (12 digits)

national

HQ-in

00-66-522-555-3XXX (, 4 digits)

unknown

HQ-in

Calling NumberPresentation Format

66-522-555-3XXX (12 digits)

international

HQ-I

*Lines at the simulated PSTN phone that are associated with the call originating pod.

unknown

HQ-,

preserved

national

HQ-I

Note

preserved

unknown

HQ-,

subscriber

international

HQ-2

subscriber

Calls Inbound from BR Sites

BR sites are virtually located in Nomi Airierica. The simulated PSTN follows the NANPnumber fomnats.

A call from a BR site, depending on its called number, is either terniinated at the simulatedPSTN phone or routed to another site (HQ or BR) of pod I or pod 2. The call can also bereturned (hairpimed) to the site from which it came.

This table lists all the types of valid inbound calls to the simulated PSTN from BR sites.

unknown

HQ-2

Where in is the pod number that originated the call.

national

Note

international

HQ-2

national

unknown

HQ-2

national

international

BR-I

All calls being routed to pod sites present the called-party number in the national format,

regardless of the call type.

national

BR-,

national

BR-2

national

BR-2

national

national

international

international

international

international

6 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems, Inc.

Page 13: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Valid Inbound PSTN Calls from BR Sites

Valid Called Number

911

12-91XX-XXXX (7 digits)

t2-91XX-XXXX (7 digits)

I-[2-91XX-[2-9]XX-XXXX 01 digits)

12-91XX-[2-9]XX-XXXX (10 digits)

011-any number of digits

Any number of digits

Valid TON

I-800-t2-91XX-XXXX (I I digits)

800-[2-9]XX-XXXX 01 digits)

I

unknown

I-900-t2-91XX-XXXX 01 digits)

unknown

Call Routed To

900-[2-9]XX-XXXX tit digits)

subscriber

555-3XXX (7 digits)

unknown

Emergency line*

555-3XXX (7 digits)

national

Local line*

I-521-555-3XXX tit digits)

unknown

Local line*

521-555-3XXX (10 digits)

international

National line*

Calling NumberPresentation Format

011-66-521-555-3XXX (15 digits)

unknown

National line*

66-521-555-3XXX (12 digits)

national

Interntl line*

preserved

I -522-555-3XXX 01 digits)

unknown

Interntl line*

preserved

522-555-3XXX (to digits)

national

800 line*

preserved

011-66-522-555-3XXX (15 digits)

unknown

800 line*

preserved

66-522-555-3XXX 02 digits)

subscriber

Premium line*

preserved

011-55-51t-555-2XXX (15 digits)

unknown

Premium line*

preserved

55-511-555-2XXX (12 digits)

national

BR-in

preserved

011-55-512-555-2XXX (15 digits)

unknown

BR-in

preserved

55-512-555-2XXX (12 digits)

international

BR-I

preserved

*Lines at the simulated PSTN phone that are associated with the call originating pod

Where in is the pod number that originated the call

All calls being routed to pod sites present the called-party number in the national fonnat,regardless of the call type.

unknown

BR-I

preserved

national

BR-I

preserved

unknown

BR-I

subscriber

international

BR-2

subscriber

unknown

BR-2

national

international

BR-2

national

unknown

BR-2

national

@ 2010 Cisco Systems, Inc

international

HQ-I

national

HQ-I

national

HQ-2

national

HQ-2

national

national

international

international

international

international

Lab Guide 7

Page 14: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Calls Outbound from Simulated PSTN

This section explains how outbound cans from the simulated PSTN toward student pods can beplaced.

Predictable Calling-Party Numbers

For placing calls to student pods, each pod is using its ouni simulated PSTN phone. Caning-party numbers for the simulated PSTN phone-initiated cans are determined depending onwhich simulated PSTN phone line was selected to originate the can. This figure shows calling-party numbers and the associated TONS, based on a line selected. If a call is originated from the800 (toll-free) line, instead of from the calling number, the caning-party name "PSTN" ispresented (the calmig-party number field is erased completely). If a call is originated from thePremium line, the presentation of the calling-party number is restricted.

8 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems, Inc

Page 15: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

ealling"Party Numbers for CallsInitiated from Simulated PSTN Phone

PSTN-Phone-x

^,Local .

National .

Each inIe can place any of the valid supported call types. The line selection influences thecalling-party presentation only. The call types and called-party number fomnats that are valid isexplalried in later sections.

If no line is selected before dialing at the simulated PSTN phone, and the caned number isdialed immediately, then a call is placed as if it was dialed from the Local line.

Valid Outbound Calls from Simulated PSTN Phone

The calls that are placed from the simulated PSTN phone are routed to the HQ and BR sites ofpod I or pod 2. Because HQ and BR sites are virtually located in different geographicalregions, an outbound call must comply with the dialing rules in that particular region. Thesimulated PSTN phone covers both regions as if it was located in both Europe and NorthAmerica at the same time.

This table lists all the call types and their accepted called-party numbers that are pennitted todial from the simulated PSTN phone.

Valid Outbound PSTN Calls

Interntl .

800 .

Premium .

Emergency O

555444, subscriber

606-555-4444, national

77-606-555-4444, international

.,~,, . ~ ,.. *...,*....

"PSTN"

1/2 or 911, unknown

CLIR

To Pod xSites

Accepted Called Number at SimulatedPSTN Phone

555-2XXX (7 digits)

555-3XXX (7 digits)

,..,., .,"

O-511-555-2XXX tit digits)

O-512-555-2XXX (11 digits)

I-521-555-3XXX (11 digits)

@ 2010 Cisco Systems, Inc

I-522-555-3XXX (11 digits)

00-55-511-555-2XXX (14 digits)

Call Routed To

HQ-in

BR-in

HQ-I

HQ-2

Called Number

Presentation Format

BR-I

subscriber

BR-2

subscriber

HQ-I

national

national

national

national

international

Lab Guide 9

Page 16: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Accepted Called Number at SimulatedPSTN Phone

00-55-512-555-2XXX (, 4 digits)

00-66-521-555-3XXX (14 digits)

00-66-522-555-3XXX (, 4 digits)

011-555.1-5552XXX (15 digits)

011-55-512-555-2XXX (, 5 digits)

011-66-521-555-3XXX (15 digits)

011-66-522-555-3XXX (15 digits)

Note

Call Routed To

HQ-2

Where in is the pod number that is associated with the simulated PSTN phone that is

originating the call.

BR-,

BR-2

HQ-,

Called Number

Presentation Format

HQ-2

international

BR-I

international

BR-2

international

international

international

international

International

10 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems. Inc

Page 17: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Lab I -, : Configuring Voice PortsComplete this lab activity to practice what you learned in the related module.

Activity ObjectiveIn this activity, you win configure voice ports in order to connect a gateway to the PSTN usingdigital interfaces. After completing this activity, you will be able to meet these objectives:

. Configure a PRI interface for correct signaling, framing, and time slot association

. Configure the appropriate ports and dial peers to place calls to the PSTN

. Verify the call processing and dial peer matching

Visual ObjectiveThe figure illustrates what you will accomplish in his activity

Lab I -, : eonfiguring Voice PortsJ, HQ Phone I

555-2001

HQ Phone 25552002

HQ-p*.

Required ResourcesThese are the resources and equipment that are required to complete this activity:

. A PSTN phone

. At least one Cisco Unified IP phone in each site (HQ and BR)

BR Phone5553001

*.

'\\* *.j'-. I*:::'I. ':*****t.;'./,

BR-p .

.17

IP WAN

POD P

" .,

.,

* . .. ....... , ., .., .....,

....

.....A

..,**\. ..,# ..'*\. . -~.****?,,. ,,,

PSTN

PSTN Phongp(Cisco Unified IP phone)

P = pod number

@ 2010 Cisco Systems, Inc Lab Guide 11

Page 18: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Command List

The table describes the commands that are used in this activity.

Cisco 10s Commands

Command

ip ahcp POOL pooJ -name

network address mask

aefauLt-router JP-address

option 1.50 ip JP-address

teLephony-service

source-address JP-Lpaddress port

Description

max-dn nulltber

Creates DHCP server pool and enters its configurationmode

max-ephones nulltber

Configures network IP address and mask at DHCP serverpool

auto assLgnnumber

Configures default gateway IP address at DHCP serverpool

ephone-dn chi- tdenCLfi. er

Configures IP address of TFFP server at DHCP server pool

number C eJ ephone -extenston

Activates Cisco Unified Communications Manager Expressand enters its configuration mode

create cnf

number to

Configures source IP address and port for Cisco UnifiedCommunications Manager Express

cont, =oLLer {t, . I eL}SLOC/subsJot/port

Limits maximum number of directory numbers at CiscoUnified Communications Manager Express

forward-di. gi. ts {num-digt CI atL I e, ,t. ra}

Limits maximum number of IP phones at Cisco UnifiedCommunications Manager Express

framing {sf I esf I crc4 Ino-crc4}

Automatically assigns an already defined directory numberto button I of autoregistering Cisco Unified IP phones

Linecode {ant I b8zs Ihdb3}

Enters IP phone directory number configuration mode

cLear triterface sJOC/port

Configures IP phone directory number

cLockLine

running}

Rebuilds configuration of IP phones at Cisco UnifiedCommunications Manager Express

source { [primary]I triternaL I f ree-

Enters controller configuration mode

i. sdn switch-type { country-speci. ft c- swt bob - type}

Specifies which digits to forward for voice calls

triterface {bri. I prt}interface-number

Selects the frame type for the El or Tl controller. Tloptions are of and esf. El options are crc4 and no-crc4.

i. sdn i. ncomi. rig-voice voice

12

Selects the line code type for the Tl or E, controller. Tloptions are ami and b8zs. El options are ami and hdb3.

i. sdn protocoL-emuLate{user I network}

Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

Resets the specified ISDN interface

Sets the clocking for individual Tl or El links

Defines the telephone company switch type

Enters interface configuration mode

Routes all incoming voice calls to the modern anddetermines how they will be treated

Defines Layer 2 and Layer 3 user- or network-sideemulation

@ 2010 Cisco Systems, Inc

Page 19: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Command

prefix strtng

times LotsprL-groupttmesJOC-range tnfas a{backup I none I prtmary{nfas i. nt number Infas group nuntber I rLm-group nulliber} } I serv, .ce l

network-cLock-participate{aim I SLot I wi. c} sJoc-nullzber

show caLL active voice

show control. ,. ers e, . I t. I.

Description

show isdn status

Specifies the prefix of the dialed digits for a dial peer

show voice porttszoc/port ,dso-group Isummaryl

Specifies an ISDN PRI group on a channelized Tl or Elcontroller

Job Aids

Thesejob aids are available to help you complete the lab activity.

. Lab ISDN PRI requirements for both sites (HQ and BR):

Framing = cyclic redundancy check 4 (CRC4)

Line coding = litgli-density bipolar 3 unB3)

Clock source = line

PRI time slots I to 8

. Numbering plans:

Internal Numbering Plan

debug isdn q93, .

debug voice di. aLpeer

Specifies which clock source to use for DSP clocking

Displays parameters of active voice calls

Displays information about the Tl/El controllers

Displays the status of ISDN interfaces

Displays configuration information about a specific voiceport or a summary of all voice ports

Examines the ISDN Layer 3 signaling messages

Examines the dial peer operations, including the matchingof inbound and outbound dial peers

Internal numbering

Local HQ Site (EU)

555-2XXX

@ 2010 Cisco Systems, Inc

Local BR Site (NA)

555-3XXX

Lab Guide 13

Page 20: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Valid Numbers in Simulated PSTN

Local calls

Calls from HQ (EU) to PSTN

Nationalcalls

NXX-XXXX (7 digits), TON: unknown

NXX-XXXX (7 digits), TON: subscrlber

Example: 455-8000

O-NXX-NXX-XXXX, TON: unknown

co + 3-digit area + 7 digits)

NXX-NXX-XXXX, TON: national

(3-digit area + 7 digits)

Example: 0455455-8000

Internationalcalls

00 + any number of digits, TON:unknown

Any number of digits, TON:international

Example: 00-23455455-8000

Emergencycalls

Task I : Configure DHCP Servers to Support AutoregistrationIn this task, you win configure the DHCP server at the Cisco Unified CommunicationsManager Express that is running on your HQ and BR router to support the autoregistration ofyour IP phones.

Activity Procedure

Complete these steps:

Configure the DHCP server on your HQ gateway to support HQ re phones. Use theStep I

settings from the following table. Exclusion of IP addresses has been preconfigured.

DHCP Server Settings for IP Phones at HQ

Calls from BR (NA) to PSTN

Note

NXX-XXXX (7 digits), TON: unknown

NXX-XXXX (7 digits), TON: subscrlber

Example: 455-8000

112, TON: unknown

I-NXX-NXX-XXXX, TON: unknown

(I + 3-digit area + 7 digits)

NXX-NXX-XXXX, TON: national

(3-41igit area + 7 digits)

Example: , 455455-8000

N represents a digit between 2 and 9.

011 + any number of digits, TON:unknown

Any number of digits, TON:international

Example: 01, -23455455-8000

911, TON: unknown

Parameter

DHCP pool name

Network address

Network mask

Default router

Option 150

Value

Note

HQp-Phones

I O. p. 2.0

Step 2

255,255,255.0

14

p is your pod number.

lop. 2,101

Collfigure the DHCP server on your BR gateway to support BR IP phones. Use thesettings from the following table. The exclusion of IP addresses has beenpreconfigured.

Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

lop. 250.101

@ 2010 Cisco Systems, Inc

Page 21: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

DHCP Server Settings for IP Phones at BR

Parameter

DHCP POOL name

Network address

Network mask

Def auJ. t router

Option I50

Value

Note

BRp-Phones

I O. p. 4.0

Step 3

255.255.255.0

p is your pod number.

lop. 4.10^.,.

Note

Connect your IP phones to the appropriate ports and observe the DHCP assigned IPsettings.

Activity Verification

You have completed this task when you attain his result:

. Your IP phones received the IP address from the DHCP server.

Task 2: Autoregister Cisco Unified IP Phonesin this task, you will autoregister Cisco Unified IP phones at the Cisco UnifiedCoriumrutications Manager Express that is muming on your HQ and BR router.

lop. 250,102

You can verify the settings at the IP phone by pressing the Settings button and browsingthrough the menu to check the obtained IP parameters. The load file (found in the ModelInformation menu) should be based on SCCP for the phone to autoregister. If it uses a filethat is based on Session Initiation Protocol (SIP), contact the instructor

Activity Procedure

Complete these steps:

On your HQ gateway, enable autoassigiunent of two directory numbers. ConfigureStep Ithe Cisco Unified Coriumunications Manager Express source address using the HQloopback O interface. Allow five SCCP endpoints and 10 directory numbers.

On your HQ gateway, collf'Igure two directory numbers with identifiers I and 2 andtelephone extensions 5552001 and 5552002. The directory numbers should supporttwo parallel calls.

Rebuild the configuration files for IP phones at the HQ gateway.o^:..

On your BR gateway, enable autoassignment of^^, o directory numbers. Collfigurethe Cisco Unified Coriumunications Manager Express source address using the BRloopback O interface. Allow five SCCP endpoints and 10 directory numbers.

Note This task involves only rudimentary settings that enable the verification of PSTNconnectivity. The configuration of Cisco Unified Communications Manager Express iscovered in a later exercise.

Step 2

Step 3

Step 4

@ 2010 Cisco Systems, Inc Lab Guide 15

Page 22: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

On your BR gateway, configure one directory number with identifier I andtelephone extension 5553001. The directory number should support two parallelcans.

Rebuild the configuration files for IP phones at BR gateway.Step 6

Ensure that the IP phones successfully register.Step 7

Activity Verification

You have completed this task when you attain these results:

. You verified that the in phones registered and that they obtained a directory number.

. You verified that the two phones that are registered at HQ gateway could call each other.

Task 3: Configure PRI Interfacesin this task, you win configure an ISDN PRI trunk for each site q1Q and BR) to the PSTN.

Activity Procedure

Complete these steps:

On your HQ router, ensure that the digital sign. al processors (DSPs) are clockedStep ,

correctly.

On your HQ router, set the ISDN switch type to pimiary-nets (the setting that ismost coriumon in Europe).

CODEigure an ISDN PRI trunk on the El controller. Use time slots I througli 8.

Repeat his procedure to configure the ISDN PRI interface on the BR gateway, butset the ISDN switch type to philiary-lit (the setting that is most common in NorthAmerica).

Activity Verification

You have completed tints task when you attain these results:

. The ISDN status on Layer 2 at the HQ and BR gateway wasMULTIPLE F1<Alvm BSTABLIS}{ED.

. The operational state of the ISDN PRI voice port 01010:15 was donnant (donn), and theadmititstrative state was up.

Task 4: Enable HQ to PSTN Calls

In this task, you will configure dial peers that enable outbound PSTN calls from the HQ site.The HQ is virtually located in Europe, thus it uses European dialing rules and PSTN accesscode O.

Activity Procedure

Complete these steps on your HQ router:

Create tree POTS dial peers that all point to the voice port that corresponds to theStep I

ISDN PRI interface. Use these destination patterns:

. PSTN access code O followed by a seven-digit local number (N>0<^,where N is 2 to 9 and X is any digit). The called number that is sent to the PSTNmust include seven digits without the PSTN access code. Use dial peer tag 7.

Step 5

Step 2

Step 3

Step 4

16 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

.

@ 2010 Cisco Systems, Inc.

Page 23: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

. PSTN access code O foUowed by the interarea code O, the area code (threedigits), and a seven-digit subscriber. The dial peer must match the 12-digitnumber (00NXX-XXX>000<, where N is 2 to 9 and X is any digit). The callednumber that is sent to the PSTN must exclude the PSTN access code. Use dial

peer tag 10.

. PSTN access code O followed by an international prefix 00 and a variable-lengthinternational number. The dial peer must match any number that starts with 000.The called number that is sent to the PSTN must exclude the PSTN access code.

Use dial peer tag 9011.

Create two POTS dial peers that point to the voice port corresponding to the ISDNPRI interface with these destination patterns:

. Emergency number 1/2 (dial peer tag 1/2)

. PSTN access code O foUowed by the emergency number 1/2 (dial peer tag1/20)

From an HQ phone, can the numbers, using the coringored dial peers. The goal is tomake the PSTN phone ring at the appropriate line. Test the following dialing:

. Emergency 1/2

. Local call4551000 (remember to add the PSTN access code co

. National call4554551000 (remember to add the PSTN access code O andinterarea code co

. international call774554551000 (remember to add the PSTN access code O andinternational dialing prefix 00). You can avoid waiting for interdigit timeout byadding #.

On your HQ router, debug ISDN Q. 931 to inspect the called number that is sent tothe PSTN in the previous step. If needed, correct the configuration of the dial peers.Verify that an calls go through.

When placing calls, verify the dial peer matching using the debug voice dialpeercommand, and examine active calls using the show call active voice command.

With ISDN Q. 931 debugging active, call an HQ phone from your PSTN phone,using the number 5552001. You should hear a second dial tone, and your HQ phonewill not ring. Verify in the debugging output that the call amved on the HQgateway. in the space that is provided, write down the PSTN number from which thecall originated tit win be needed in the next task). Why did the call not forward tothe internal IP phone? You will fix the problem in the next task.

Step 2

Step 3

Step 4

Step 5

Step 6

Activity Verification

You have completed this task when you attain these results:

. You successfully placed outbound PSTN calls from your HQ phones.

. You monitored the call processing using the appropriate debug coriumands.

. You verified that inbound PSTN calls arrive on the HQ gateway but are not delivered to thedestination (in other words, a phone does not ring).

. You examined the parameters of active calls using the show call active voice command.

@ 2010 Cisco Systems, Inc. Lab Guide 17

Page 24: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Task 5: Enable PSTN to HQ Calls

In this task, you will enable inbound PSTN calls to your HQ site.

Activity Procedure

Complete these steps on your HQ gateway:

Create a POTS dial peer for matching inbound PSTN calls, which has the followingStep ,characteristics:

. It matches calls destined to any number.

. It uses direct inward dial.

. It has dial peer tag I.

From your PSTN phone, can an HQ phone (5552001 or 5552002), and verify thatthe can goes frougli and tings the appropriate phone.

Debug the voice dial peer operations (debug voice dialpeer command), and makeanother can from your PSTN phone to an HQ phone. Which outbound dial peer isused for the call?

Step 2

Step 3

Activity Verification

You have completed this task when you attain these results:

. You successfuUy placed inbound PSTN cans to your HQ phones.

. You monitored the call processing using the debug command, and you found out that thevirtual dial peer that represents the IP phone directory number was used.

Task 6: Enable BR to PSTN Calls

in tins task, you will coringre dial peers that enable outbound PSTN calls from the BR site.The BR site is located in North America, thus it uses the NANP and PSTN access code 9.

Activity Procedure

Complete these steps on your BR gateway:

Create three POTS dial peers, all pointing to the voice port that corresponds to theStep I

ISDN PRI interface. Use these destination patterns:

. PSTN access code 9 followed by a seven-digit local NANP number(NXXX^, where N is 2 to 9 and X is any digit). The called number that issent to the PSTN must include seven digits without the PSTN access code. Usedial peer tag 7.

. PSTN access code 9 followed by a valid NANP long-distance number-the longdistance prefix I, the area code (three digits), and a seven-digit subscriber(Iru^-NXX-XXXX, where N is 2 to 9 and X is any digit). The called numberthat is sent to the PSTN must exclude the PSTN access code. Use dial peer tag10.

. PSTN access code 9 followed by an international prefix 01 I and a variablelength international number. The caned number that is sent to the PSTN mustexclude the PSTN access code. Use dial peer tag 9011.

18 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems, Inc.

Page 25: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

.

Create two POTS dial peers that point to the voice port corresponding to the ISDNPRI interface with these destination patterns:

. Emergency number 91 I (dial peer tag 91 I)

. PSTN access code 9 followed by the emergency number 911 (dial peer tag9911)

From the BR phone, place test cans to the numbers that are Goofigured in the dialpeers. The goal is to make the PSTN phone ring at the appropriate line. Rememberto dial with the correct PSTN prefix.

Use ISDN Q. 931 debugging to inspect the called number that is sent to the PSTN. Ifneeded, correct the configuration of dial peers. Verify that all cans go tliroug}I.

When placing calls, verify the dial peer matching using the debug voice dialpeercornmand, and exainine active calls using the show call active voice coriumand.

Activity Verification

You have completed this task when you attain these results:

. You successfuUy placed outbound PSTN calls from your BR phone.

. You monitored the call processing using the appropriate debug connnands.

. You examined the parameters of active calls using the show call active voice command.

Task 7: Enable PSTN-to-BR Calls

in this task, you win enable inbound PSTN calls to your BR site.

Activity Procedure

Complete these steps on your BR gateway:

Create a POTS dial peer for matching inbound PSTN calls, which has the followingStep Icharacteristics:

. It matches calls destined to any number.

. It uses direct inward dial.

. It has dial peer tag I.

From your PSTN phone, call the BR phone (5553001), and verlfy that the callsucceeds.

Verify call routing on the BR gateway using the appropriate debug coriumands.Step 3

Activity Verification

You have completed this task when you attain these results:

. You successfully placed inbound PSTN calls to your BR phone.

. You monitored the call processing using the appropriate debug commands.

Note

Step 2

Outbound calling from the BR site to the international PSTN number will not work until youreach the Lab 4-I activity.

Step 3

Step 4

Step 5

5

Step 2

@ 2010 Cisco Systems, Inc Lab Guide 19

Page 26: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Lab I -2: Configuring DSPsComplete this lab activity to practice what you learned in the related module.

Activity Objectivein this activity, you will configure DSPs for voice tennination and verify their operations. Aftercompleting this activity, you win be able to meet these objectives:

. Collfigure DSP resources to terniinate voice calls

. Configure DSPs to support appropriate codec complexity

. Verify the use of DSP resources

Visual ObjectiveThe figure illustrates what you will accomplish in this activity.

Lab I-2: eonfiguring DSPsHQ PIrone I555-200t

HQ Ptrone 2555,2002

HQ-p*

Required ResourcesThese are the resources and equipment that are required to complete this activity:

. A PSTN phone

. Two Cisco Unified IP phones in your HQ site

.' .;' I

BR Phone555-300t

BR, >

'''\,.,. ,'- I'\\**::';';I*****' *. ^

" ... 11

IP WAN

POD P

\

, ......

...

.;**''**. -, t**.,*\*' ""

,*'

PSTN

PSTN Phongp(Cisco Unified P phone)

P = pod number

20 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems, Inc

Page 27: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Command List

The table describes the commands that are used in this activity.

Cisco 10s Commands

Command

voice-card votce triterface

SLot

codec coinpLex, .ty flex Ihigh I medium I secure

codec codec-name

show voice dsp

Job Aids

Thesejob aids are available to help you complete the lab activity.

Internal Numbering Plan

show voice caLL status

show caLL acti. ve voice

Description

Enters voice card configuration mode

Specifies the maximum codec complexity that is supportedby the voice card DSPs

Specifies the codec that is used on the IP phone

Internal numbering

Displays the DSP resource usage and call parameters

Provides a compact view of active call legs and theirparameters

Valid Numbers in Simulated PSTN

Provides detailed information about active voice calls

Local calls

Local HQ Site (EU)

555-2XXX

Calls from HQ (EU) to PSTN

Nationalcalls

NXX-XXXX (7 digits), TON: unknown

NXX-XXXX (7 digits), TON: subscrlber

Example: 455-8000

O-NXX-NXX-XXXX, TON: unknown

co + 3-digit area + 7 digits)

NXX-NXX-XXXX, TON: national

(3-digit area + 7 digits)

Example: 0455455-8000

Internationalcalls

Local BR Site (NA)

555-3XXX

00 + any number of digits, TONunknown

Any number of digits, TONinternational

Example: 00-23455455-8000

Emergencycalls

Calls from BR (NA) to PSTN

Note

NXX-XXXX (7 digits), TON: unknown

NXX-XXXX (7 digits), TON: subscriber

Example: 455-8000

@ 2010 Cisco Systems. Inc

1/2, TON: unknown

I-NXX-NXX-XXXX, TON: unknown

(I + 3-digit area + 7 digits)

NXX-NXX-XXXX, TON: national

(3-digit area + 7 digits)

Example: 1455455-8000

N represents a digit between 2 and 9.

011 + any number of digits, TON:unknown

Any number of digits, TON:international

Example: 011-23455455-8000

911, TON: unknown

Lab Guide 21

Page 28: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

These are gateway codec complexities:

. Low: G. 711, clear channel

. Medium: G. 729A, G. 729AB, G. 726, G. 722, and Fax Relay

. High: G. 723.1, G. 728, G. 729, G. 729B, itBC, Modern Relay

Task I : Operate DSPs in Default Codec Complexity Mode FlexIn this task, you will test DSP operations in default codec complexity mode flex.

Activity Procedure

Complete these steps on your HQ gateway:

View the automatically created GPhones using the show ephone command. ThereStep I

should be two ephones with extension numbers that are associated with the ephones.View the preferred codec of each GPhone. It should be "g711ulaw. "

Note The ephones are created as a result of the autoregistration when the endpoints first attemptto register. Autoregistration is enabled by default on Cisco Unified CommunicationsManager Express.

Step 2

Step 3

From an HQ phone, call a PSTN local number (0-NXXXX>0<, where N is 2 to 9

Verify the codec that is used on the VoIP can leg between the HQ phone and the HQ

I

and X is any digit), and answer the can on the PSTN phone.

gateway, using two methods: , I, '

. Use appropriate show commands on the HQ gateway. 5'1'\0v*3 \!' ' <;1.1, \*?,"

. On the IP phone, press the Settings button and choose Status > Call Statistics.

Both methods should show that the VoIP call leg uses G. 71 I with a 20-ms payload size.Note

Step 4 On the HQ router, change the preferred codec of the first GPhone (5552001) toiLBC, and reset the phone using these coriumands:

ephone Ireset

From the first HQ phone, call the PSTN phone (0-NX>0<XXX), and check thecodec that is used dufuig the call. Display DSP usage using different options of theshow voice dsp coriumand, including the detailed keyword.

From the PSTN phone, call the first HQ phone (555-2001), and check the codec thatis used in the call. It should be the same as the codec that is used in the call that

originated in HQ-

On the HQ router, enter the voice-card O configuration mode, and attempt to changethe DSP codec complexity to medium. This operation should fail, due to the existingvoice ports.

Step 5

Step 6

Step 7

22 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems, Inc.

Page 29: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Activity Verification

You have completed his task when you attain these results:

. You verified that the flex mode supported high. -complexity codecs such as iLBC.

. You viewed the DSP usage for voice terniination using different options of the show voicedsp coriumand.

Task 2: Operate DSPs in Medium Codec Complexity ModeIn this task, you will corn'Igure the voice card to support low- and medium-complexity codecs,and you will verify the DSP operations.

Activity Procedure

Complete these steps on your HQ router:

Perform this procedure to delete the voice portStep I

. Enter the voice port configuration mode (for exaniple, voiceport 01010:15), andshut doom the port.

. Enter the controller configuration mode (for example, the controller e1 01010),and shut down the controller.

. In the controller configuration mode, remove the PRI group using the no pri-group coinmand.

Note

Step 2

Step 3

This will also remove the port command from all POTS dial peers

Enter the voice card configuration, and change the codec complexity to medium.

Perform this procedure to re-create the voice port:

. Enter the controller configuration mode, and define the ISDN PRI group usingthe pri-group timeslots 1-8 command.

. Activate the controUer using the ino shutdown command.

. Reapply the voice port to all dial peers (for example, add port 01010:15command to the dial peers).

From the first HQ phone (preferring iLBC), call a PSTN local number co-NXXXXXX), and check the codec that is used in the call. The codec should bedowngraded to a lower-bandwidth, medium-complexity codec. Write doom whichcodec is used, in the space that is provided:

Step 4

Step 5

Step 6

With one active conversation, call a PSTN national number (0-0-NXX-XXXXXXX)from the second HQ phone (preferring G. 711). Check the codec that is usedin thecall. Display DSP usage, using various options of the show voice dsp coriumand.

Change the codec complexity on the HQ gateway back to flex mode. Remember toreapply the voice port to all POTS dial peers.

C; '}

@ 201 0 Cisco Systems, Inc Lab Guide 23

Page 30: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Activity Verification

You have completed his task when you attain these results:

. You verified that the iLBC codec was no longer supported for voice tennination when theDSP resources were configured for medium codec complexity.

. You verified that the codec negotiation for voice termiriation resulted in a codec that didnot exceed the permitted complexity and that it did not consume more bandwidth than thepreferred one,

24 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems, Inc.

Page 31: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Lab 2-1 : Configuring VoIP Call LegsComplete this lab activity to practice what you learned in the related module.

Activity ObjectiveIn this activity, you will configure Vore dial peers and tune gateway parameters to allow VoIPcans between your HQ and BR sites. After completing this activity, you will be able to meetthese objectives:

. Configure basic VoIP dial peer parameters

. Configure codecs and codec classes, and verify codec negotiation

. Configure and verify H. 323 fast start and slow start

. Configure the H. 323 gateway interface bind feature

Visual ObjectiveThe figure illustrates what you will accomplish in his activity.

Lab 2-1 : Configuring VoIP eali Legs

,,HQ PIrone I5552001

.IHQ Ptrone 25552002

HQ-p. .,-

Required ResourcesThese are the resources and equipment that are required to complete this activity:

. Two Cisco Unified IP phones in your HQ site

. One Cisco Unified IP phone in your BR site

;..\

BR Phone5553001

***,,

. ,*:'*.:,'...***,**~.,

7

BR-p

.. 17

IP WAN

POD P

\* ....".

A

*^^,,,,

..... . . "

.. .--*.. I"I*;**\,.-t. *, L, **" I

PSTN

PSTN Phonep(Cisco Unified P phone)

P = pod number

@ 2010 Cisco Systems, Inc

*'.. .,. .

Lab Guide 25

Page 32: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Command List

The table describes the coinmands that are used in his activity.

Cisco 10s Commands

Command

codec codec-name

codec preference I-14codec-name

a, .aL-peer vo, .ce tag vo, .p

h323-gateway voi. p bindsrcadd, :

session protocoL SLpv2

session targetipv4=x. x. x. x

Description

voice cLass codec tag

Specifies which codec is to be used for calls matching thisdial peer

voLce servLce voLp

Configures one entry in the codec list under the voiceclass codec command. Repeat this command as manytimes as you need, to specify codecs in this list.

h323

Enters dial-peer configuration mode and specifies VoIP

SLp

Configures the H. 323 gateway interface bind feature

caLL start SLOW I fast

Configures the VoIP dial peer to use SIP signaling

bind controL source-interface

Specifies the destination IPv4 address for the gatewayterminating a VoIP call

show caLL act, .ve voice

Enters voice class codec configuration mode. In dial peermode, it attaches the voice class to the dial peer

show di. aL-peer voice( tag) I (summary)

show di. aLPLan numbernulltber

Enters voice service voip configuration mode

Enters H. 323 mode from voice service voip configurationmode

show voice caLL status

Enters SIP mode from voice service voip configurationmode

debug voice at aLpeer

t

debug voi. p ccapi. triout

Defines H. 323 slow start or fast start in H. 323 mode

Configures the interface bind feature for SIP signaling, inSIP mode

debug h225 event

debug h245 event

Displays information on active calls

debug h245 asn, .

Displays dial-peer configuration information

debug ccsi. p message

Displays which dial peers are matched when a particulartelephone number is dialed

26

Displays the status of active voice calls

Monitors the dial peer matching process

Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

Displays real-time call control processing and call leginformation

Monitors H. 225 events

Monitors H. 245 events

Monitors H. 245 AsN. I library

Displays SIP signaling messages

@ 2010 Cisco Systems, Inc

,

Page 33: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

.

Job Aids

Thesejob aids are available to help you complete the lab activity.

Internal Numbering Plan

Task I : Configure Basic VoIP on the HQ GatewayIn this task, you will configure a basic VoIP dial peer for HQ-to-BR connectivity.

Activity Procedure

Complete this step on your HQ gateway:

Create a VoIP dial peer with these parameters:Step I

. It matches the entire 5553>00< range.

. It points to loopback O of your BR gateway (10. p. 250,102, where p is your podnumber).

. It disables voice activity detection (VAD).

. It has dial peer tag 3000.

Activity Verification

You have completed this task when you attain these results:

. On your BR gateway, enable dial peer debugging. Make sure that your Ternet connectionhas configured the tenninal monitor.

. From your first HQ phone, call the BR phone (5553001) and answer the can. Examine thedebugging output, and confinn that no inbound dial peer has been matched on the BRgateway.

. With the call still active, view the active calls using the show voice call status coriumand toverify that the inb6und dial peer is O.

. With the call still active, display its VAD setting using the show call active voice I incVAD command. Compare the VAD setting on both gateways. The setting should bedifferent.

. With the call still active, use the appropriate show command to examine the codec that isused in the call. End the call.

. Call the BR phone (5553001) from your second HQ phone. Answer the call and examinethe codec. You should see that both calls use G. 729, despite the fact that the preferredcodec of the first HQ phone is iLBC, and the preferred codec of the second HQ phone isG. 71 I.

. View the default codec of the VoIP dial peer, using the appropriate commands. You maywant to selectively display the parameter using the show dial-peer voice 3000 I inc codeccommand.

Internal numbering

Local HQ Site (EU)

555-2XXX

Local BR Site (NA)

555-3XXX

@ 2010 Cisco Systems, Inc Lab Guide 27

Page 34: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Task 2: Configure Codec on the HQ GatewayIn this task, you win coltigure a single codec in the VoIP dial peer on your HQ gateway.

Activity Procedure

Complete these steps on your HQ gateway:

Set the Vom dial peer (3000) codec to g723r53.Step ,

From an HQ phone, can your BR phone (5553001) and answer the call. The callStep 2

should disconnect as soon as it is answered. This behavior is typical for a codecmismatch.

Use H. 245 debugging to view the codec negotiation between the gateways. Has thecodec negotiation betweerithe gateways bean successful?

Step 3

Activity Verification

You have completed tills task when you atIchi these results:

. You verified that the H. 245 codec negotiation was successful. The debug in 245 asmlcoriumand displayed the codec proposal that was sent by the HQ gateway (g7231), whichwas accepted by the BR gateway.

. You identified that the reason for the call disconnect must be that the Cisco Unified IP

phones do not support the G. 723 codec.

Task 3: Configure Asymmetric Codec NegotiationIn this task, you will configure multiple codec proposals and ex^ille their negotiation.

Activity Procedure

Complete these steps on your HQ and BR gateways:

On your HQ gateway, create a codec class with this preference order:Step I

. First codec: g723r53

. Second codec: iLBC

. Third codec: g729br8 (minex B)

On your HQ gateway, remove the G. 723 codec from the VoIP dial peer (3000), andattach the codec class to the dial peer.

On your BR gateway, create a codec class with this preference order:

. First codec: iLBC

. Second codec: g723r53

. Third codec: g729br8 (fumex B)

On your BR gateway, coltigure a VoIP dial peer (2000) with these parameters:

. The destination pattern should match the DID range of HQ phones (5552XXX).

. The session target should point to your HQ gateway loopback O address(10. p. 250,101, where p is your pod number).

Note The Cisco Unified IP Phone 7965 supports these major codecs: G. 722, G. 711, G. 729, andiLBC.

Step 2

Step 3

Step 4

28 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems, Inc.

Page 35: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

.

11

. It should have an associated codec class that is defined on your BR gateway inthe previous step.

From an HQ phone, call your BR phone (5553001), and answer the can. The callshould work. Examine the inbound dial peer selection on your BR gateway. Checkthe negotiated codec using the debug in245 agril command.

From your BR phone, call an HQ phone (5552001), and answer the call. The callshould disconnect. Use available debug methods to examine the cause of the failure.

Activity Verification

You have completed this task when you attain these results:

. You verified that inbound dial peers were successfully matched based on the destination-pattern COLLunand. The debug voice dialpeer command could be used to validate dial-peermatching.

. You examined codec negotiation using the debug in245 asml command. You verified thatthe codec fist was sent by the originating gateway to the tetruinating gateway. Theterminating gateway looks up its prioritized codec list and chooses the first codec, ifavailable, from the received H. 245 proposal. The HQ gateway selects g723r53, which isnot supported by in phones, and the can fails.

. You confirmed that the codec selection was based on the priorities that were configiired onthe terminating gateway.

Task 4: Configure Symmetric Codec Negotiation and ExamineFast Start

In this task, you win Goofigure multiple codec proposals to make Vow calls work in both+^. kgdirections.

Grid e^!c. cSI

.

.

.

.

.

Step 5

Step 6

.

.

.

.

.

.

.

.

" @ e. COLI\CSActivity Procedure

Complete these steps on your HQ and BR gateways:

On your HQ and BR gateways, modify the codec class to use these codecs only, inStep I

this preference order:

. First codec: g729br8 (Annex B)

. Second codec: itBC

Make sure that the codec class is attached to the Vone dial peers on both gateways.

Test VoIP calls in both directions. The cans should work.

Use the debug in245 events command to ensure which H. 323 call setup method (faststart or slow start) is used by default on Cisco voice gateways.

Activity Verification

You have completed his task when you attain these results:

. You verified that Vom cans worked between the phones in the HQ and BR sites. You mayhave performed some debugging to exanimie the dial-peer matching and H. 245 codecnegotiation.

. You found that Cisco gateways used the fast-start method by default.

11

Step 2

Step 3

Step 4

.

.

@ 2010 Cisco Systems, Inc

^*

Lab Guide 29

Page 36: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Task 5: Configure Slow Start and the Interface Bind FeatureIn this task, you will change the default fast-start method to slow start and configure theinterface bind feature.

Activity Procedure

Complete these steps:

Configure your HQ gateway to use slow-start signaling. Leave your BR gateway atStep ,

the default setting of fast-start signaling.

Make calls betweal the sites. Use appropriate debug commands on both gateways toascertain which signaling method is used in which direction. Examine the slow-startsignaling process.

Step 3 On both gateways (HQ and BR), source the H. 323 signafing traffic from theloopback O interfaces.

Step 4 From an HQ phone, call your BR phone. Use the debug in245 events command onyour BR gateway to verify that the signaling messages are sourced from theloopback O IP address.

Activity Verification

You have completed this task when you attain these results:

. You verified that slow start was used for HQ-originated calls, and fast start was used forBR-originated cans.

. You examined the slow-start process and confirmed that H. 245 negotiation started after thecan was answered and consisted of three main phases: eXchange of TCSs, master and slavedetermination, and OLC eXchange.

. You verified that the H. 323 gateway interface bind feature caused the signaling packets tobe sourced from the defined interface. This can be confirmed with the debug in 225 eventscommand.

Step 2

Task 6: Configure SIP SignalingIn tins task, you win use SIP as the VoIP signaling protocol.

Activity Procedure

Complete these steps on your HQ gateway:

Create Vom dial peer 3001 with the game destination target and destination patternStep I

as dial peer 3000. Configure the new VoIP dial peer to use SIPv2.

Set the preference of the VoIP dial peer 3000 to a worse value, to make it the secondchoice.

From an HQ phone, call your BR phone and use the appropriate debug command toexamine the SIP message eXchange. Based on the SDF body, decide which offermechanism (early offer or delayed offer) is used by default on Cisco gateways, andwrite it in the space that is provided:

.

.

.

83

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

I^

.

.

.

.

.

.

.

.

1:1

\^' ,* \ I>^,\^9^" ,*\,,,^ .t,,,,, p, . "''' ,.'al" ,',"'Co^Q, 9, r" """""'e^. Q, 9^r" """""'" """' 64:top 46" ,^ ,'^6'''' Step 4. 0' ' o0. ' ,,.,61. ^' ' C' ,,,}?

^-0'- ,S--U, " ' ""

Step 2

Step 3

^^.S*I Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

On your HQ gateway, configure the bind interface feature for Sin signaling andmedia. Source the traffic from the loopback O in address.

@ 2010 Cisco Systems, Inc

Page 37: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Activity Verification

You have completed this task when you attain these results:

. You exainined the SIP sigyaling using the debug ccsip messages coriumand.

. You verified that Cisco gateways use SIP early offer by default, by identifying that the SDFbody, which contains the codec proposals, was carried in the INVITE message.

. You shut doom the SIP dial peer on your HQ gateway to make sure that H. 323 is used inthe next exercises.

@ 2010 Cisco Systems, Inc Lab Guide 31

Page 38: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Lab 3-1 : Configuring Cisco UnifiedCommunications Manager Express to SupportEndpoints

Complete this lab activity to practice what you learned in the related module.

Activity ObjectiveIn this activity, you will implement SCCP endpoints. 111.6 HQ site will host two SCCP phonesand, optionalIy, one Cisco in Communicator. The BR site will host one SCCP phone. Aftercompleting this activity, you will be able to meet these objectives:

. Configure SCCP-related Cisco Unified Communications Manager Express paranieters

. Implement SCCP andpoints

Visual ObjectiveThe figure illustrates what you will accomplish in this activity.

Lab 3-1 : Configuring eisco Unified CommunicationsManager Express to Support EndpointsSCCP

HQ PIrone I5552001

sccP

HQ PIrone 2555.2002

HQ, >e*,

Required ResourcesThese are the resources and equipment that are required to complete this activity:

. Two Cisco Unified IP phones in your HQ site

. One Cisco Unified IP phone in your BR site

BR-p

BR Phone SCCP555-3001

,*

I, \* :.*******,,, "*,,#'

-..:!

IP WAN

*,

POD P

.. 7

;"

^,

....

. . ..

*", ',

,

..;*.. . ,,-~"' '*t. : .**~,*4"""

; ,,. :tr- "--

Ir-. .. L. ,,

,

PSTN

PSTN Phongp(Cisco Unified IP phone)

P = pod number

32 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

*, .,

@ 2010 Cisco Systems, Inc

Page 39: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Command List

The table describes the coriumands that are used in this activity.

Cisco 10s Commands

Command

ip dhcp POOL

max-an

max-ephones

Load

time- format

date-format

Description

Defines a DHCP pool of addresses that must include anetwork, default router, and option 150

type

Defines the maximum number of directory numbers thatare configured in telephony-service configuration mode

teLephony-service

Defines the maximum number of SCCP endpoints that areconfigured in telephony-service configuration mode

(no) auto-reg-phone

Defines the binding of the image filename to phone modethat is configured in telephony-service configuration mode

cnf-fi. Le ,. ocati. on t. ftp = If, .ash s

Defines the time format that is displayed by endpoints thatis configured in telephony-service configuration mode

cnf-fi. ,. e perphone Iperphonetype

Defines the date format that is displayed by endpoints thatis configured in telephony-service configuration mode

create cnf-f, .Les

Defines the type of the endpoint that is configured inephone configuration mode. Needed to identify the desiredfirmware image.

ephone ephone-td

mac-address

Enters configuration mode for SCCP-based Cisco UnifiedCommunications Manager Express

button button-I. ridex = dn-i. ridex

Controls autoregistration of SCCP endpoints

Defines the configuration file location for SCCP endpoints

show teLephony-service

Defines the granularity of configuration files for SCCPendpoints

show ephone

Writes configuration files into the configured or default cnf-file location

show di. aL-peer voice

Defines an SCCP endpoint with an identifier and entersephone configuration mode

debug tft. p event

debug ephone register

Configures an endpoint MAC address that is configured inephone configuration mode

@ 2010 Cisco Systems, Inc

Associates a phone button with a directory number index.Multiple separator options exist, in addition to ':'

Displays the SCCP-related Cisco Unified CommunicationsManager Express system parameters. Multiple options areavailable to examine specific settings

Displays the status of registered SCCP endpoints

Displays the voice dial peers. The summary optionprovides a brief output

Monitors TFTP server events

Monitors SCCP endpoint registration

Lab Guide 33

Page 40: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Job Aids

Thesejob aids are available to help you complete the lab activity.

Internal Numbering Plan

Task I : Delete Existing SCCP Endpoints on HQ GatewayIn this task, you will remove existing SCCP endpoints and block autoregistr. ation on your HQgateway.

Activity Procedure

Complete these steps on your HQ and BR gateways:

Disable autoregistration and autoassigynlent of SCCP endpoints.Step ,

Delete the autoconfigured GPhones.Step 2

Delete the manually defined GPhone-ons.Step 3

Activity Verification

You have completed this task when you attain these results:

. You displayed the existing GPhones to make sure that all autoregistered ephones had beendeleted.

. You verified that all phones reported "registration rejected. "

Task 2: Configure Cisco Unified Communications ManagerExpress System Parameters for SCCP Endpoints

In tills task, you will Goofigure general system parameters for SCCP-related Cisco UnifiedCommunications Manager Express functionality on the HQ and BR gateways.

Activity Procedure

Complete these steps on your HQ gateway:

Verify that the DHCP service is nullimg on the HQ gateway, including option 150.Step ,

The Cisco Unified Communications Manager Express should use the loopback Oaddress for communications with endpoints.

Enable IPv4 and IPV6 operations in the telephony service mode, with preference toIPv4.

Configure a European-style date and time fonnat to be displayed on the SCCPendpoints (dd-mm-yy and 24h).

Set the location of endpoint files to flash and allow per-phone configuration files.

Perfonn the same procedure on your BR gateway to configire Cisco Unified IPphone system settings, with this exception:

. Configure the North AnIerican date and time fomiat to be displayed on theSCCP endpoints (min-dd-yy and 12h).

Internal numbering

Local HQ Site (EU)

5552XXX

Local BR Site (NA)

555-3XXX

Step 2

Step 3

Step 4

Step 5

34 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

I

./

I

I

@ 2010 Cisco Systems, Inc

:

Page 41: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Activity Verification

You have completed this task when you attain this result:

. If you display the systemwide telephonyservice settings, you can verify that the desiredparameters are in place.

Task 3: Configure SCCP EndpointsIn this task, you will configure one SCCP endpoint in each site.

Activity Procedure

Complete these steps:

On your HQ gateway, create five dual-line SCCP directory numbers with extensionsStep I5552001,5552002,5552011,5552012, and 5552003.

On your HQ gateway, configure an ephone t11 with these parameters:

. Use the MAC address of your first HQ phone.

. Attach GPhone-on with extension 5552001 to the first button.

. Attach ephone-on with extension 5552011 to the second button.

. Select the appropriate phone type (7965).

On your HQ gateway, configure an GPhone [2] with these parameters:

. Use the MAC address of your second HQ phone.

. Attach GPhone-on with extension 5552002 to the first button.

. Attach ephone-on with extension 5552012 to the second button.

. Attach GPhone-on with extension 5552003 to the third button.

. Select the appropriate phone type (7965).

On your HQ gateway, enable debugging of the GPhone registration process.

On your HQ gateway, re-create the configuration files.

Step 2

Step 3

Step 4

Step 5

Repeat the procedure to configure an SCCP endpoint on your BR gateway, with theextension number 5553001.

Activity Verification

You have completed this task when you attain these results:

. You examined the booting process of the SCCP endpoints.

. You verified successful phone registration at the respective Cisco Unified CoriumunicationsManager Express devices.

. You verified that the SCCP phones could call each other within the HQ site and through theIP WAN.

Note Phone reset can be triggered either by using the reset command in ephone configurationmode, or by pressing the Settings button and entering the sequence **#** on the phonekeypad.

Step 6

@ 2010 Cisco Systems, Inc Lab Guide 35

Page 42: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Task 4: Configure Support for Cisco IP Communicator(Optional)

in this task, you win configiire the HQ-based Cisco Unified Coriumunications Manager Expressto support the Cisco IP Communicator.

Activity Procedure

Complete these steps on your HQ gateway:

Install Cisco IP Coriumunicator on your local computer. Your computer must have IPStep ,

connectivity to the loopback O address of the HQ gateway. Depending on your labsetup, you may have to update the routing on your computer or plug your computerinto an HQ phone.

Start Cisco IP Coriumruitcator and select Menu > Preferences > Network.

In the Device Name section, choose the desired network adapter, and note the devicename in the fonnat SEP<adapter-mac-address>.

In the TFTP Servers section, select Use these TFTP servers:, and enter the HQStep 4

gateway loopback O address (10. p. 250,101, where p is your pod).

On your HQ gateway, create a new ephone-on with the extension 555-2004 and anew ephone with the MAC address that was noted in Step 3 and the extension that isattached to its first button.

Activity Verification

You have completed this task when you attain these results:

. You verified that Cisco IP Conimunicator registered with Cisco Unified CommunicationsManager Express.

. You verified that calls worked between Cisco IP Coriumunicator and other phones.

Step 2

Step 3

Step 5

36 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems, Inc

Page 43: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Lab 4-1 : Implementing Digit ManipulationComplete this lab activity to practice what you learned in the related module

Activity Objectivein this activity, you will change the internal numbethig plan to a four-digit scheme andconfigure digit manipulation to allow PSTN and intersite calls. After completing this activity,you win be able to meet these objectives:

. Configure digit manipulation for inbound PSTN calls

. CoringIXEe digit manipulation for outbound PSTN calls

. Configure digit manipulation to enable intersite VoIP calls, using an intersite prefix and sitecodes

Visual ObjectiveThe figure illustrates what you will accomplish in this activity.

Lab 4-1 : Implementing Digit ManipulationHQ PIrone I

2001

.."HQ Phone 2

2002

HQ*'Intersite access: 8 *

Site code: I O

BR-pIntersite access: 8

Site code: 20

Required ResourcesThese are the resources and equipment that are required to complete this activity:

. A PSTN phone

. Two Cisco Unified IP phones in your HQ site

. One Cisco Unified IP phone in your BR site

$53'

P WAN

-**\,. .; ;"~"\;;***- - ..*~**.*;....

.7

BR Phone

... 11

3001 -. '

.

POD P

.*

*A**

...

. ,.,

..'**\** **, I''6' lit*,,*,*>*",.-.~.~ ,

PSTN

PSTN Phonep(Cisco Unified P phone)

.,

P = pod number

@ 2010 Cisco Systems, Inc Lab Guide 37

Page 44: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Command List

The table describes the commands that are used in this activity.

Digit Manipulation Commands

Command

digit-strip

prefix dtgt CS

forward-dig, .ts t 0-32 I I

nun-exp dtaZed-dtgt CS substt Cueton

voice transLati. on-,:uLe ruJe tag

ruLe precedence Imacch/ IzepZace/Itype {match- type repZace- type}IPLan {match-pZ^z repZace-pZan}11

voice translation-profi. Le proftZe-nanie

transLate {caLLed I caLLi. rig Iredirect-cal. led} transZatton -ruZe-nuniber

aLl. I extra

Description

transLati. on-prof, .Le {incoming Ioutgoing} name

Strips all the digits that explicitly match the POTSdial peer. Digit shipping is enabled by default onPOTS dial peers.

test voice translation-ruLe number

triput - test - BCrtng t type match- type[pLan match-type]

Specifies the prefix of the dialed digits for a dial peer

Specifies which digits to forward for voice calls

debug i, sdn q93, .

Job Aids

Thesejob aids are available to help you complete the lab activity.

Dial Plan

The table represents the dial plan that will be used in the labs.

Site Internal Numbering Plan and PSTN DID Ranges

Defines how to expand a telephone extensionnumber into a particular destination pattern

debug voice transLat, .on

Defines a voice translation rule for voice calls

Defines a rule within a voice translation rule

Specifies a translation profile for all incoming VoIPcalls

Associates a translation rule with a voice translation

profile

Assigns a translation profile to a dial peer

Tests the functionality of a translation rule

Internal extensions

Monitors ISDN Q93, signaling

Site codes

Monitors translation operations

PSTN access code

Local DID range

38

National DID range

International DID range

HQ Site (EU)

Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

2XXX

810

o

555-2XXX

51p-5552XXX

55-51p-555-2XXX

BR Site (NA)

3XXX

820

9

555-3XXX

52p-555-3XXX

66-52p-555-3XXX

@ 2010 Cisco Systems, Inc.

Page 45: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Note

Valid Numbers in Simulated PSTN

p: I to 2 (pod number)

Local calls

Calls from HQ (EU) to PSTN

Nationalcalls

NXX-XXXX (7 digits), TON: unknown

NXX-XXXX (7 digits), TON: subscrlber

Example: 455-8000

O-NXX-NXX-XXXX, TON: unknown

co + 3-digit area + 7 digits)

NXX-NXX-XXXX, TON: national

(3-digit area + 7 digits)Example: 0455455-8000

Internationalcalls

00 + any number of digits, TON:unknown

Any number of digits, TON:international

Example: 00-23455455-8000

Emergencycalls

Task I : Fix Outbound International PSTN Calling from BRIn this task you will fix the issue of ISDN switch-type primary-lit, which is used at the BRgateway. The primary-ni automatically modifies the called-party number for outbound calls, ifit is in NANP fonnat (011 followed by 12 digits, which includes a two-digit country code). Theprimary-ni changes the type of number (TON) to international. Such a called-party number isnot compliant with the simulated PSTN that is used in the lab.

Calls from BR (NA) to PSTN

Note

NXX-XXXX (7 digits), TON: unknown

NXX-XXXX (7 digits), TON: subscrlber

Example: 455-8000

112, TON: unknown

I-NXX-NXX-XXXX, TON: unknown

(, + 3-digit area + 7 digits)

NXX-NXX-XXXX, TON: national

(3-digit area + 7 digits)

Example: I 455455-8000

N represents a digit between 2 and 9.

Activity Procedure

Complete these steps on your BR gateway:

Enable ISDN Q931 debugging at the BR gateway. Make sure that the teaminalStep I

monitor is configured.

Place a PSTN international call from your BR phone. For example, dial9-011-77-455-455-1000#, where 9 is the PSTN access code and # prevents waiting for theinterdigit timeout. This call will fail. Observe the type of number that wasautomatically set for this call by the ISDN process at the BR gateway.

Create a translation rule (using tag I) and translation profile that set the type ofnumber to unknown for all called-party numbers that start with 901 I.

Associate the translation profile with the ISDN PRI voice port in the outbounddirection.

Place the same test call again, and it should succeed.

011 + any number of digits, TON:unknown

Any number of digits, TON:international

Example: 01 I 23455455-8000

Note If the 011 prefix is used, the correct TON should be unknown.

911, TON: unknown

Step 2

Step 3

Step 4

@ 2010 Cisco Systems, Inc

Step 5

Lab Guide 39

Page 46: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Activity Verification

You have completed this task when you attain these results:

. You observed that, if you are dialing international PSTN number in NANP fomiat, theprimary-lit automatically sets TON international.

. You fixed this behavior of the pmnary-in by using a voice translation rule and voicetranslation profile.

Task 2: Change Internal Numbering Plan to Four-Digit SchemeIn this task, you will convert the internal numbering plan to four-digit schemes: 2XXX in theHQ site and 3>00< in the BR site.

Activity Procedure

Complete these steps on your HQ and BR gateways:

On your HQ gateway, change the extension number of your SCCP endpoints, usingStep I

this procedure:

. Modify the GPhone-diis:

First HQ phone: 555-2001 to 2001 and 555-2011 to 2011

Second HQ phone: 555-2002 to 2002,555-2012 to 2010, and 555-2003to 2003

Optional HQ Cisco IP Communicator: 555-2004 to 2004

. Restart the endpoint (in GPhone mode).

On your BR gateway, change the extension number of your SCCP endpoint, usingthis procedure:

. Modify the GPhone-on

BR phone: 555-3001 to 3001

. Restart the endpoint (in ephone mode).

Activity Verification

You have completed this task when you attain these results:

. You verified that the endpoints had reregistered and obtained four-digit extension numbersin the respective range.

. You placed test calls and verified that intrasite calls continued to work using the modifiednumbers. You verified that the intersite calls no longer worked, due to the updatednumbering scheme.

. From your HQ and BR phones, you called the PSTN numbers and viewed the callingnumber that was displayed on the PSTN phone. The calling number was a four-digitnumber that does not allow callback.

Step 2

40 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

.

@ 2010 Cisco Systems, Inc.

,

Page 47: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Task 3: Manipulate Calling Number in Outbound PSTN CallsIn this task, you will collfigure digit manipulation to properly present the calling number whenplacing calls to the PSTN.

Activity Procedure

Complete these steps:

Manipulate the calling number in outbound PSIN cans on your HQ gateway:Step I

. Configure the appropriate translation profiles and rules to convert the caningnumber from 2XXX to 5552XXX.

. Apply the translation profile to the ISDN PRI voice port in the outgoingdirection. Alternatively, you could apply the translation profile to theappropriate POTS dial peers.

Manipulate the calling rimnber in otitbound PSTN calls on your BR gateway:

. Configure the appropriate translation profiles and rules to convert the callingnumber from 3X>0< to 5553X^<.

Step 2

Note You will need to reuse the voice translation profile that was configured in Task I, as you canassociate only one translation profile with a single voice port in one direction!

Step 3

. Make sure that the translation profile is applied to the ISDN PRI voice port inthe outgoing direction.

Debug the translations using the appropriate Cisco 10s commands.

Note

Activity Verification

You have completed this task when you attain these results:

. You tested the translation rule by using the appropriate Cisco 10s coriumands.

. You placed PSTN cans from your HQ and BR phones and verified that the calling numberwas presented using the correct DID site range.

. You enabled appropriate debugging on your gateways and monitored the translationoperations.

Simulated PSTN works differently from real PSTN. When calling national or internationalPSTN numbers in the classroom, the PSTN phone displays the calling number as a local

number that is configured in this task. Real PSTN would prefix the correct area and country

codes, depending on how far the call was sent.

Note If you want to adjust the calling numbers for the simulated PSTN, you can optional Iy

configure multiple translation profiles and apply them to the appropriate outbound dial peers

(local, national, and international). The correct area or country code can then be prefixed,based on the selected destination.

@ 2010 Cisco Systems, Inc Lab Guide 41

Page 48: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Task 4: Manipulate Calling Number and Called Number inInbound PSTN Calls

in this task, you will configure digit manipulation to properly present the calling number andtransform the called number when receiving cans from the PSTN, so that the canback workswithout editing the number at the phone.

Activity Procedure

Complete these steps:

Manipulate the numbers in inbound PSTN calls on your HQ gateway. CollfigureStep I

appropriate translation profiles and rules to meet these needs:

. Apply the correct prefix to the received Galling number to enable callback:

If the TON is subscriber, prefix the PSTN access code O (local cans).

If the TON is national, prefix the PSTN access code O and another O forEuropean national calls.

If TON is international, prefix the PSTN access code O and 00 forEuropean international calls.

. Convert the called number from the DID fonnat (local, national, orinternational) to an internaUy used extension.

. Apply the translation profile to the ISDN PRI voice port in the incomingdirection.

Manipulate the numbers in inbound PSTN calls on your BR gateway. Collfigure theappropriate translation profiles and rules to meet these needs:

. Apply the correct prefix to the received calling number to enable callback:

If the TON is subscriber, prefix the PSTN access code 9 (local calls).

If the TON is national, prefix the PSTN access code 9 and I for NorthAmerican long distance national calls.

If the TON is international, prefix the PSTN access code 9 and 011 forNorth American international calls.

. Convert the called number from the DID fomiat (local, national, orinternational) to an internally used extension.

. Apply the translation profile to the ISDN PRI voice port in the incomingdirection.

Debug the translations using the appropriate Cisco 10s commands.Step 3

Activity Verification

You have completed this task when you attain these results:

. You tested the translation rule by using the appropriate Cisco 10s coriumands.

Note Simulated PSTN delivers the entire called number, except for the leading zeros. This isdifferent from real PSTN, which delivers the local number after stripping the area and

country codes.

Step 2

42 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems, Inc

Page 49: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

. You called your HQ phones from the PSTN phone (from various lines), using the correctDin numbers (local, national, international), and verified that the calls were delivered tothe desired endpoints and that the Galling number was presented using the correct prefixes.

. You caned your BR phone from the PSTN phone (from various lines), using the correctDID number (local, national, international), and verified that the cans were delivered to thedesired endpoint and that the caning number was presented using the correct prefixes.

. You enabled appropriate debugging on your gateways and monitored the translationoperations.

Task 5: Manipulate Calling Number and Called Number inIntersite VoIP Calls

In this task, you will coringore digit manipulation to enable intersite VoIP calls using intersiteprefix 8 and these site codes: 10 for HQ and 20 for BR.

Activity Procedure

Complete these steps:

On your HQ gateway, enable HQ-to-BR VoIP calls using intersite prefix 8 and theseStep Isite codes: I O for HQ and 20 for BR.

. Configure appropriate translation profiles and rules to meet these needs:

Add the prefix 81 0 to the calling number in an outbound directiontowards the BR site.

Strip the prefix 81 0 from the called number in an inbound direction fromthe BR site.

. Modify the VoIP dial peer (3000) to match the complete number, including theintersite prefix and site code.

. Apply the translation profile for an outbound direction to the VoIP dial peer(3000).

. Configure a new inbound dial peer (use tag 2) that matches all VoIP calls, andapply the translation profile for the inbound direction to this new inbound VoIPdial peer.

. At the inbound VoIP dial peer (2), collfigure the same preferred codecs as thoseused by the outbound VoIP dial peer (3000).

On your BR gateway, enable BR-to-HQ VoIP calls using intersite prefix 8 and thesesite codes: 10 for HQ and 20 for BR.

. Configure the appropriate translation profiles and rules to meet these needs:

Add the prefix 820 to the calling number in an outbound directiontowards the HQ site.

Strip the prefix 820 from the called number in an inbotmd direction fromthe HQ site.

. Modify the VoIP dial peer (2000) to match the complete number, including theintersite prefix and site code.

. Apply the translation profile for the outbound direction to the VoIP dial peer(2000).

Step 2

@ 2010 Cisco Systems, Inc Lab Guide 43

Page 50: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

. Collfigure a new inbound dial peer (use tag 2) that matches all VoIP calls, andapply the translation profile for the inbound direction to this new inbound VoIPdial peer.

. At the inbound VoIP dial peer (2), configure the same preferred codecs as thoseused by the outbound VoIP dial peer (2000).

Place a test call from the HQ site to the BR site, using the intersite prefix and the sitecode coia18203001 from an HQ phone). The can setup should succeed, but you willnotice that, shortly after dialing, the caller ID is changed to the extension only(3001). This behavior could confi. Ise a dialer. It can be disabled in both directions byusing the foUowing commands, entered at the HQ and BR gateways:

voLce se, :vLce voLp

Do suppLementary-sex'vi. ce h225 -noti. fy ci. d-update

Step 3

Activity Verification

You have completed this task when you attain his result:

. You successftiny placed intersite calls using the intersite prefix and site codes, and youverified that the calling and caned numbers were presented correctly.

44 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems. Inc

Page 51: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Lab 4-2: Implementing Path SelectionComplete this lab activity to practice what you learned in the related module

Activity ObjectiveIn this activity, you will implement path selection to ensure continuous VoIP service and tollbypass. After completing this activity, you will be able to meet these objectives:

. Configure a backup PSTN path for intersite calls

. Configure TBHO to provide ton bypass

Visual ObjectiveThe figure illustrates what you will accomplish in this activity.

Lab 4-2: Implementing Path SelectionHQ Ptrone I

2001

*HQ PIrone

20022

HQ-p**;

Required ResourcesThese are the resources and equipment that are required to complete this activity:

. A PSTN phone

. Two Cisco Unified IP phones in your HQ site

. One Cisco Unified IP phone in your BR site

;:^^*

BR-p

\,:,

BR Phone

.. ....

3001 '

IP WAN

POD P

,*

" ** . *f"""'

*

*

...

A\. .;';;!* * * .,******"""~ . .~. .

,...

PSTN

PSTN PhongpICisco Unified IP phone)

*

P = pod number

.

@ 2010 Cisco Systems, Inc

a, E^

^

^

^

Primary PathBackup PathTEHO to EU

TEHo to us

.~

Lab Guide 45

Page 52: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Command List

The table describes the commands that are used in this activity.

Digit Manipulation Commands

Command

digi. t-strip

prefix dtgt ts

forward-digits I0-32I I aLL I

nun-exp dtaZed-dtgt CS subsCt button

voice transLati. on-ruLe ruZe tag

ruLe precedence Imacch/ IzepZace/Itype {match- type repZace- type} IPLan{match-pZan repZace-pZan}11

vo, .ce transLat, .on-profi. Le proftZe-nanie

transLate {caLi. ea I caLl. ,. rig Iredirect-caLLed} CraneZacton -ruZe -number

Description

Sinps all the digits that explicitly match the POTSdial peer. Digit stripping is enabled by default onPOTS dial peers.

transLat, .on-profi. Le {incoming Ioutgoing} name

extra

test voice transLati. on-rule number

triput - test -settng Itype match - typeIPLan match- typel

Specifies the prefix of the dialed digits for a dialpeer

Specifies which digits to forward for voice calls

debug i'sdn q93, .

Job Aids

Thesejob aids are available to help you complete the lab activity.

Dial Plan

The table represents the dial plan that will be used in the labs.

Site Internal Numbering Plan and PSTN DID Ranges

Defines how to expand a telephone extensionnumber into a particular destination pattern

debug voi. ce transLati. on

Defines a voice translation rule for voice calls

Defines a rule within a voice translation rule

Specifies a translation profile for all incoming VoIPcalls

Associates a translation rule with a voice

translation profile

Assigns a translation profile to a dial peer

.

Tests the functionality of a translation rule

Internal extensions

Monitors ISDN Q931 signaling

Site codes

Monitors translation operations

PSTN access code

Local DID range

46

National DID range

HQ Site (EU)

International DID range

Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

2XXX

810

o

555-2XXX

51p-555-2XXX

55-51p-555-2XXX

BR Site (NA)

3XXX

820

9

,

555-3XXX

52p-555-3XXX

66-52p-555-3XXX

@ 2010 Cisco Systems, Inc

Page 53: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Note

Valid Numbers in Simulated PSTN

p: I to 2 (pod number)

Local calls

Calls from HQ (EU) to PSTN

Nationalcalls

NXX-XXXX (7 digits), TON: unknown

NXX-XXXX (7 digits), TON: subscrlber

Example: 455-8000

O-NXX-NXX-XXXX, TON: unknown

co + 3-digit area + 7 digits)

NXX-NXX-XXXX, TON: national

(3-digit area + 7 digits)

Example: 0455455-8000

Internationalcalls

00 + any number of digits, TON:unknown

Any number of digits, TON:international

Example: 00-23455455-8000

Emergencycalls

Task I : Configure Backup PSTN Path for HQ to BR CallingIn this task, you win configure your HQ gateway for a backup PSTN path for cans from HQ toBR.

Calls from BR (NA) to PSTN

Note

NXX-XXXX (7 digits), TON: unknown

NXX-XXXX (7 digits), TON: subscriber

Example: 455-8000

1/2, TON: unknown

Activity Procedure

Complete these steps on your HQ gateway:

Create a POTS dial peer (use tag 3005) that will back up the intersite calling to BRStep I

via PSTN when the VoIP path is unavailable. This POTS dial peer should have thesame destination pattern as, but a lower preference than, the VoIP dial peer.

Configure the digit manipulation mechanisms to ensure that the call is delivered tothe BR via PSTN, and that the calling number that is presented allows callback.

I-NXX-NXX-XXXX, TON: unknown

(, + 3-digit area + 7 digits)NXX-NXX-XXXX, TON: national

(3<1igit area + 7 digits)

Example: , 455455-8000

N represents a digit between 2 and 9.

011 + any number of digits, TON:unknown

Any number of digits, TON:international

Example: 01 I-23455455-8000

Step 2

911, TON: unknown

Apply the digit manipulations to the POTS dial peer that is used for the backup.

Activity Verification

You have completed this task when you attain these results:

. You siinulated a WAN failure by shutting down the Serial 01/10 interface on the HQgateway.

Note Remember that HQ and BR sites are virtually placed in different countrles. Therefore, theintersite that called numbers must have an international format for the call setup to succeedvia PSTN.

Step 3

@ 2010 Cisco Systems, Inc. Lab Guide 47

Page 54: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

. While the WAN was in the simulated failure, you placed a call to the BR phone as if youwere dialing via the WAN (the intersite prefix 8, site code 20, and 3001). The call shouldhave been redirected via the PSTN.

. The HQ to BR call was presented at the BR phone using a number that allows callback.You tested the callback later, when the WAN was restored. You kept down the WAN forthe second task.

. If you attompted a reverse call (BR to HQ), the can should have failed while the WAN wasin the simulated failure.

Task 2: Configure Backup PSTN Path for BR to HQ CallingIn this task, you will configure your BR gateway for a backup PSTN path for calls from BR toHQ.

Activity Procedure

Complete these steps on your BR gateway:

Create a POTS dial peer (use tag 3005) that will back up the intersite calling to BRStep ,

via PSTN when the VoIP path is unavailable. This POTS dial peer should have thesame destination pattern as, but a lower preference than, the VoIP dial peer.

Conf'Igure the digit manipulation mechanisms to ensure that the call is delivered tothe BR via PSTN, and that the calling number that is presented allows callback.

Step 2

Apply the digit manipulations to the POTS dial peer that is used for the backup.

Fix the translation rule (tag I) for the pmnary-in issue, which was described earlier,by adding a new rule that also sets the TON to unknoum if the called-party numberstarts with 011. This is required, because the current translation rule works for 9011only. (The PSIN access code 9 would nomially be removed by the dial peer 90I, Ibut this dial peer is not used in the PSTN backup scenario. )

Activity Verification

You have completed this task when you attain these results:

. While the WAN was in the simulated failure (from previous task), you placed a call to anHQ phone as ifyou were dialing via the WAN (the intersite prefix 8, site code 10, and2001). The call should have been redirected via the PSTN.

. The BR to HQ call was presented at the HQ phone using a number that allowed callback.You tested the callback later, when the WAN was restored.

. You restored the WAN by activating the Serial 01/10 interface.

Note Remember that HQ and BR sites are virtually placed in different countrles. Therefore, theintersite that called numbers must have an international format for the call setup to succeedvia PSTN.

Step 3

Step 4

48

,

Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems, Inc

Page 55: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Task 3: Configure TEHO at HQ for Calls to North AmericaIn this task, you will configure TEHO for cans from the European HQ site to the Northhalerican PSTN.

Activity Procedure

Complete these steps:

On your HQ gateway, create a VoIP dial peer (use tag 6600) for tail-end hop off toStep I

the No^I American PSTN via the BR gateway. The TEHO dial peer should be usedwhen calling to the virtual North American country with a country code of 66.Remember to use the same codec class as for any other VoIP dial peer at the HQgateway.

Madpulate the sent calling and called numbers for the TEHO caning. The TEHOconfiguration should not require any changes at the BR gateway. The calling numberthat is presented should be a correct international number that allows calling back tothe reHO call originator.

Activity Verification

You have completed tins task when you attain these results:

. When placing a test call from an HQ phone to the vimal North American country (forinstance, 66-455-455-1000#), the callwas successfully routed via the BR gateway.

. You enabled appropriate debugging qsDN, dial-peer) and verified that the expected TEHOpath was selected.

. You verified that the correct caning number in international format was presented on thePSTN phone. The call should have rimg up at the national, not the international, PSTNphone button.

Task 4: Configure TEHO at BR for Calls to EuropeIn this task, you will collfigure TEHO for calls from the North American BR site to theEuropean PSTN.

Activity Procedure

Complete these steps:

On your BR gateway, create a VoIP dial peer (use tag 5500) for tail-end hop off toStep ,

the European PSTN via the BR gateway, The TEHO dial peer should be used whencalling to the virtual European country with a country code of 55. Remember to usethe same codec class as for any other VoIP dial peer at the BR gateway.

Manipulate the sent calling and called numbers for the TEHO calling. The TEHOconfiguration should not require any changes at the HQ gateway. The callingnumber that is presented should be a correct international number that allows callingback to the TEHO call originator.

Step 2

Step 2

@ 2010 Cisco Systems, Inc Lab Guide 49

Page 56: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Activity Verification

You have completed this task when you attain these results:

. When placing a test call from the BR phone to the vimal European country (for instance,55-455-455-1000#), the call was successfully routed via the HQ gateway.

. You enabled appropriate debugging OSDN, dial-peer) and verified that the expected TEHOpath was selected.

. You verified that the correct caning number in international format was presented on thePSTN phone. The call should have mmg up at the national, not the international, PSTNphone button.

50 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems, Inc.

Page 57: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Lab 4-3: Implementing Calling PrivilegesComplete this lab activity to practice what you learned in the related module.

Activity ObjectiveIn this activity, you will implement calling privileges on a gateway using COR. Aftercompleting this activity, you will be able to meet these objectives:

. Create COR labels

. Create COR lists and assign members

. Assigy COR lists to the appropriate dial peers and Cisco Unified Coriumunications ManagerExpress endpoints

Visual ObjectiveThe figure illustrates what you will accomplish in this activity.

Lab 4-3: Implementing Calling PrivilegesLobby

*

HQ PIrone I2001

.,

Executive

HQ PIrone 2

2002

HQ-p

Required ResourcesThese are the resources and equipment that are required to complete this activity:

. A PSTN phone

. Two Cisco Unified IP phones in your HQ site

. One Cisco Unified IP phone in your BR site

IP WAN

\*;.,.,: ;\\" . **,, * ' I'

BR Phone3001

BR, '*

,11

. ..

59 ' '~""~

.7PSTN

POD P

Employee,.

\* i;\; . .:,::it; ;..;\\* .'/,"t;, .,,, ,.,

":\'*.;I .********a:--"

.,

PSTN Phone-p(Cisco Unified P PIrone)

I

P = pod number

@ 2010 Cisco Systems, Inc

... ., .

Lab Guide 51

Page 58: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Command List

The table describes the commands that are used in this activity.

COR Commands

Command

ataL-peer cor custom

name cor-name

di. aL-peer cor List Ztst-name

corLi. st i. ncom, .rig cor- Zts t -name

corL, .st outgoing cor-Ztst -name

Job Aids

Thesejob aids are available to help you complete the lab activity.

The table defines call peruiissions as are required for this lab.

Call Permissions

show di. aL-peer cor

Description

Specifies that named CORs apply to dial peers

Creates a named COR

Defines a COR list name

Specifies the COR list to be used when a specified dial peeracts as the incoming dial peer

Endpoint

HQ phone I

second line (201 I )

Specifies the COR list to be used by outgoing dial peers

Displays COR labels

HQ phone 2

first line (2002)

HQ phone 2

second line (2012)

Description

Lobby

BR phone

All phones should be reachable from PSTN without any restrictions.

Executive (unrestticted)

Sales

Note

Employee

Permitted to Call

Site Internal Numbering Plan and PSTN DID Ranges

PSTN: Emergency

Internal: Any

TEHO destinations and PSTN backup for intersite WAN are not subject to CORconfiguration, and they can be reached without restrictions.

Any

Internal extensions

Site codes

PSTN: Emergency, local, national

Internal: Any

PSTN access code

Local DID range

PSTN: Emergency, local

Internal: Any

52

National DID range

HQ Site (EU)

International DID range

Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

2XXX

810

o

555-2XXX

51p-555-2XXX

55-51p-555-2XXX

BR Site (NA)

3XXX

820

9

555-3XXX

52p-555-3XXX

66-52p-555-3XXX

@ 2010 Cisco Systems, Inc

Page 59: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Note

Valid Numbers in Simulated PSTN

p: I to 2 (pod number)

Local calls

Calls from HQ (EU) to PSTN

Nationalcalls

NXX-XXXX (7 digits), TON: unknown

NXX-XXXX (7 digits), TON: subscrlber

Example: 455-8000

O-NXX-NXX-XXXX, TON: unknown

co + 3-digit area + 7 digits)

NXX-NXX-XXXX, TON: national

(3-digit area + 7 digits)

Example: 0455455-8000

Internationalcalls

00 + any number of digits, TON:unknown

Any number of digits, TON:international

Example: 00-23455455-8000

Emergencycalls

Task I : Configure Call Permissions for the HQ Sitein this task, you will Goofigure COR names (labels), create COR lists with their members, andassign COR lists to the appropriate dial peers and endpoiiTts for can pennissions that areapplied to the HQ site.

Activity Procedure

Complete these steps on your HQ gateway:

Verify that unique dial peers exist for local calls, national calls, international calls,Step I

and emergency calls.

Create the required COR names.Step 2

Calls from BR (NA) to PSTN

Note

NXX-XXXX (7 digits), TON: unknown

NXX-XXXX (7 digits), TON: subscrlber

Example: 455-8000

1/2, TON: unknown

I-NXX-NXX-XXXX, TON: unknown

(I + 3-digit area + 7 digits)

NXX-NXX-XXXX, TON: national

(3<1igit area + 7 digits)Example: 1455455-8000

N represents a digit between 2 and 9

011 + any number of digits, TON:unknown

Any number of digits, TON:international

Example: 011-23455455-8000

911, TON: unknown

Note

Step 3

Naming suggestions for COR names are: emergency, local, national, intl, lobby, executive,and sales.

Note

Create the required COR lists.

Naming suggestions for incoming COR lists are: lobby-in, pstn-in, executive-in, and sales-inNaming suggestions for outgoing COR lists are: lobby-out, executive-out, sales-out,emergency-out, local-out, national-out, and intl-out.

Step 4

@ 2010 Cisco Systems, Inc

Note

Assign the COR lists to appropriate endpoints and dial peers in the correct direction.

TEHO and PSTN backup dial peers are not subject to COR configuration.

Lab Guide 53

Page 60: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Activity Verification

You have completed this task when you attain tints result:

. You verified that the call peruxissions, as they were defined in the job aids for the HQ site,were met by your configuration.

Task 2: Configure Call Permissions for the BR SiteIn this task, you will coringlite COR names (labels), create COR lists with their members, andassign COR lists to the appropriate dial peers and andpoints for call permissions that areapplied to the BR site.

Activity Procedure

Complete these steps on your BR gateway:

Verify that unitque dial peers exist for local cans, national calls, international calls,Step ,

and emergency calls.

Create the required number of COR names.

Create the required COR lists.

Assign the COR lists to appropriate endpoints and dial peers in the correct direction.

Step 2

Step 3

Step 4

Activity Verification

You have completed this task wh^} you attain this result:

. You verified that the call pennissions, as they were defined in the job aids for the BR site,were met by your configuration.

Note TEHO and PSTN backup dial peers are not subject to COR configuration.

54 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

.

@ 2010 Cisco Systems, Inc

Page 61: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Lab 5-1 : Implementing GatekeepersComplete this lab activity to practice what you leanied in the related module.

Activity Objectivein this activity, you will coltigure the corporate gatekeeper HQ as a gatekeeper that controlstwo zones: HQ and BR. Call routing between the HQ and BR sites win be done via thegatekeeper. After completing this activity, you will be able to meet these objectives:

. Conf'Igure an H. 323 gatekeeper to support multiple local zones

. Register gateways at the gatekeeper

. Configure technology prefixes

. Implement CAC

Visual ObjectiveThe figure illustrates what you will accomplish in his activity.

Lab 5-1 : Implementing GatekeepersHQ Phone I

2001

Gatekeeper HQ-pLocal zones: HQ. BRGateway: Zone HQ

HQ Phone 22002

BR-p*~

Gateway: Zone BR

Required ResourcesThese are the resources and equipment that are required to complete this activity:

. Two Cisco Unified IP phones in your HQ site

. One Cisco Unified IP phone in your BR site

Command List

The table describes the coriumands that are used in this activity.

t. I:

,. ... 17

\*;., , ,,. \ ^'.**.\**;..,******:.."*'* -~- "~."*

BR PItone

3001 ,

IP WAN

POD P

*~"

,

,;*** .*.\,.. -****;;*,#I

\^,

,,.

PSTN

PSTN Phonep(Cisco Unified P phone)

P = pod number

@ 2010 Cisco Systems, Inc

I

Lab Guide 55

Page 62: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Gatekeeper Commands

Command

gatekeeper

zone LocaL zone -name domatn -name

I rag- JP- addressl

no shutdown

zone pref, .x gatekeeper-name eZ 64 -preftx [bLast I seq] Ig, ,-priorityprtortty gw-aZtas 19, v-aZtas, . . . I I

gw-type-prefix type-preftx rhopof fgktdZl [hopoff gktd2] Ihopoffgktdzzl [seq I b, .ast] IdefauLt-technoLogyl Igw ipaddr JPaddrIPOrCl l

bandwidth { inter zone I totaL Isession} {defauLt I zone zone-name}bandwtdCh-stze

show gatekeeper caL, .s

Description

Enters gatekeeper configuration mode

show gatekeeper status

Specifies a zone that is controlled by agatekeeper

show gatekeeper endpoints

Brings the gatekeeper online

Adds a prefix to the gatekeeper zone list

show gatekeeper g, ,-type-prefix

show gatekeeper zone prefi. x I a, .LI

Adds a technology prefix to the gatekeeperconfiguration list

show gatekeeper zone status

Gateway Commands

Specifies the maximum aggregate bandwidthfor H. 323 traffic

Command

gateway

Displays the status of each ongoing call ofwhich a gatekeeper is aware

Displays the overall gatekeeper status,including the authorization and authenticationstatus and zone status

h323-gateway voi. p interface

h323-gateway voi. p i. a gatekeeper-td{,. paddr tp-address IPOrtilinuLti. cast} IPri. on. ty prtort Cyl

Displays the status of all registered endpointsfor a gatekeeper

Displays the gateway technology prefix table

h323-gateway voi. p h323-i. dtriterface - td

Displays the zone prefix table

Displays the status of zones that are relatedto a gatekeeper

h323-gateway voi. p tech-prefixpreftx

56

session target ras

Description

Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

Enters gateway configuration mode andenables the gateway to register with agatekeeper

Identifies this as a VoIP gateway interface

Defines the name and location of the

gatekeeper for this gateway

Defines the H. 323 name of the gateway,identifying this gateway to its associatedgatekeeper

Defines the numbers that are used as the

technology prefix that the gateway registerswith the gatekeeper

Enables RAS signaling, which means that agatekeeper is consulted to translate theE. , 64 address into an IP address

@ 2010 Cisco Systems, Inc.

Page 63: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Gateway and Gatekeeper Monitoring Commands

Command

Job Aids

Thesejob aids are available to help you complete the lab activity.

Gatekeeper and Gateway AddressingThe table defines gatekeeper and gateway addressing.

Internal Numbering Plan

debug ras

debug h225 asn, .

Description

Monitors Registration, Admission, and Status (RAS) messages

Monitors H. 225 AsN. I library messages, which provide a detailed traceof the RAS messages

Internal extensions

Gatekeeper and Gateway Addressing

Component

Task I : Configure Local Zones and Zone Prefixesin this task, you will configure your HQ router as an H. 323 gatekeeper that supports two localzones. You will also collfigure zone prefixes to enable can routing.

Activity Procedure

Complete these steps on your HQ router:

On the HQ gateway, configure a gatekeeper with these two local zones:Step I

. Local zone HQ, domain cisco. coin, IP address of loopback O interface

. Local zone BR, domain cisco. coin

Configure prefixes for the local zones HQ and BR. Zone prefixes use the siteextensions as seen in the job aids section.

Enable the gatekeeper process.Step 3

Activity Verification

You have completed this task when you attain these results:

. You viewed the gatekeeper status and verified that the gatekeeper was up.

. When viewing the gatekeeper zone status, you could identify the two local zones: HQ andBR.

. When viewing the gatekeeper zone prefixes, you could verify that they were correct.

HQ gatekeeper

HQ Site (EU)

HQ gateway

2XXX

BR gateway

Address

Loopback O IP address

Loopback O IP address

Loopback O IP address

BR Site (NA)

3XXX

Gateway H. 32310

Step 2

HQ-gw

@ 2010 Cisco Systems, Inc Lab Guide 57

Page 64: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Task 2: Configure Gateways to Register with the GatekeeperIn this task, you will coringore the HQ and BR gateways to register with the HQ-basedgatekeeper.

Activity Procedure

Complete these steps:

On your BR gateway, enable debugging of Registration, Admission, and StatusStep I

(RAS) messages.

Configure your BR gateway to register at the gatekeeper, using these parameters:

. The H. 323 interface should be Loopback O.

. H. 323 bind using Loopback O.

. Registefuig should be at zone BR.

On your BR gateway, configiire a new VoIP dial peer (use tag 2002) that routes ancalls to the site HQ with extensions 2>00< to the gatekeeper. Remember to apply thesame voice-alass codec as for other VoIP dial peers.

Configure your HQ gateway to register at the gatekeeper using these parameters:

. Interface bind using Loopback O.

. The H. 323 interface should be Loopback O.

. H. 323 bind using Loopback O.

. The H. 323 gateway ID is HQ-gw.

. Disable the registration of extension 2012 (secondline of HQ phone 2).

. Registefuig should be at zone HQ.

On your HQ gateway, coltigure a new VoIP dial peer (use tag 3002) that routes allcalls to the site BR with extensions 3X>0< to the gatekeeper. Remember to apply thesame voice-class codec as for other VoIP dial peers.

Activity Verification

You have completed this task when you attain these results:

. You were able to see the BR gateway registerlng at the gatekeeper using the RASdebugging and continued that the BR gateway had been registered.

. You could confinn that the BR gateway had registered the extension 3001 as E. 164-ID.

. You could conf'inn that the HQ gateway had been registered at the gatekeeper with thecorrect H. 32310.

. You could confirm that the HQ gateway had registered all extensions except 2012 asE. 164-IDs.

. union you placed an intersite call using an extension, the call succeeded. The callingworked in both directions.

. You examined the RAS registration and can adjntssion messages using the debug ras anddebug h225 asnl coriumands, and you became farmliar with the H. 323 debug output.

Step 2

Step 3

Step 4

Step 5

58 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems, Inc.

Page 65: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Task 3: Configure Call Admission Controlin this task, you will calculate the bandwidth requirements for one call and configure the zonebandwidth for cans between the HQ and BR sites.

Activity Procedure

Complete these steps:

Datennine the codec that is used for intersite calling, and calculate the bandwidthStep ,

requiremerits for a single call using the gatekeeper CAC calculation method. Writethese in the space that is provided:

Note

Configure the gatekeeper CAC to allow a maximum of one can between the zones ineach direction.

Enable detailed RAS debugging, and observe that the second interzone call isrejected at the gatekeeper.

Activity Verification

You have completed this task when you attain these results:

. You calculated that a single iLBC call requires 30.4 kb/s (rounded up to 31 kb/s), using thegatekeeper CAC calculation method (2 x codec rate).

. You calculated that a single G. 729 call requires 16 kb/s, using the gatekeeper CACcalculation method.

. You verified that one call can be placed successfully between the sites, while the secondcall will fail.

Remember that, actually, two different codecs can be negotiated between the gateways thatare based on the voice-class codec that is configured. For the calculation and CAC, youmust consider both codecs as the initial call setup, though the gatekeeper will take intoaccount the worst codec of these two.

Step 2

Step 3

@ 2010 Cisco Systems, Inc Lab Guide 59

Page 66: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Lab 5-2: Implementing Cisco Unified BorderElement

Complete his lab activity to practice what you learned in the related module.

Activity ObjectiveIn this activity, you win implement the Cisco Unified Border Element features: protocolinterworking, various media flow methods, and codec transparency. After completing thisactivity, you will be able to meet these objectives:

. Collfigure Sin-to-H. 323 and H. 323-to-H. 323 protocol interworking

. Implement codec transparency

. Coringlire H. 323-to-H. 323 interworking

. Implement media flow-around and media flow-thougli

Visual ObjectiveThe figure illustrates what you will accomplish in his activity.

Lab 5-2: Implementing Cisco UnifiedBorder Element

HQ PIrone I2001

HQ PIrone 22002

(o02XXX)Cisco Unified ,! .}! ......'

Border Element

HQ-p

Required ResourcesThese are the resources and equipment that are required to complete this activity:

. Two Cisco Unified IP phones in your HQ site

. One Cisco Unified IP phone in your BR site

\** ' *:- .,.,

""" " ' ****' '~"

PSTN

* **~

' *;. ' ,,.\*I, ;" ..'. ..~. ,..,

BR Phone

3001 ,

IP WAN

POD P.,..,,

PSTN Phone-p(Cisco Unified IP phone)

60

P = pod number

Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

,., -~

@ 2010 Cisco Systems, Inc

Page 67: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Command List

The table describes the commands that are used in this activity.

Cisco Unified Border Element-Related 10s Commands

Command

vozce sex. vLce voLp

aLLow-connections

media fLow-around I fLow-through

h323

caL, . start fast I SLOW Iinter, ,ork

codec transparent

codec

Description

show caLL active voice brief

Enters voice service voip configuration mode

Enables Cisco Unified Border Element protocolinterworking. Options are: H. 323-to-H. 323, SIP-to-SIP, H. 323-to-SIP, and SIP-to-H. 323

show voice cal. L status

show voi. p I:. tp connections

Configures media flow method. The default isflow-through. This command is available invoice service voip, dial peer, or voice class mode

debug vo, .p ipi. pgw

debug ccsi. p messages

Enters H323 configuration mode (from voiceservice voip configuration mode)

debug h225 events

Job Aids

Nojob aids are required to complete this lab activity.

Task I : Configure Cisco Unified Border Element FunctionsIn this task, you will reconfigure your dial plan to route calls between your local HQ phones viaa BR gateway that works as an H. 323-to-H. 323 Cisco Unified Border Element.

Activity Procedure

Complete these steps:

On your HQ gateway, configure a new VoIP dial peer (use tag 555) to send all callsStep I

to 5552XXX to the BR gateway:

. Session target: Loopback O IP address of BR gateway

. Codec: G. 711 ti-law

Configures the H. 323 signaling method. Default:fast start.

debug h245 events

debug voi. p dial. peer

Enables the dial peer to transparently pass thecodec proposals

Configures a codec for a dial peer

Displays active call parameters, including theRTP addresses

Displays brief information about active calls

Displays RTP connections for active VoIP call

Monitors Cisco Unified Border Elementoperations

Monitors SIP messages

Monitors H. 225 events

Debugs H. 245 events

@ 2010 Cisco Systems, Inc

Monitors the matching of inbound and outbounddial peers

Lab Guide 61

Page 68: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Step 2

Step 3

On your HQ and BR gateways, modify the inbound VoIP dial peer (2) to accept onlythe G. 711 u-law codec.

On your BR gateway, coltigure a new VoIP dial peer (use tag 555) to return all cansto 5552>00< back to the HQ gateway:

. Session target: Loopback O IP address of HQ gateway

. Codec: G. 711 u-law

On your HQ gateway, modify the existing voice translation rule that is associatedwith the inbound VoIP dial peer, to remove 555 from the caned number for theinbound call that is being returned back from BR.

Try to place a call between your HQ phones using the prefix 555 (for example, dial5552001 from HQ phone 2). Your call will be blocked at the BR gateway, because ithas not been yet onabled for Cisco Unified Border Element functions.

Enable Cisco Unified Border Elemerit functions at the BR gateway to allow inboundto outbound 5552X>0< calling

On your Cisco Unified Border Element (BR), enable monitoring of Cisco UnifiedBorder Element operations using the debug voip ipipgw command, and place a callbetween your HQ phones, again using the prefix 555. This can should succeed.

While the call is active, issue the coriumand show voip rtp connections on yourCisco Unified Border Element, to check the two call legs that are associated with thecall. Notice that the remote IP address is the same (HQ gateway). Which codec isused for this call? Write it in the space that is provided:

Step 4

Step 5

Step 6

Step 7

Step 8

Activity Verification

You have completed this task when you attain these results:

. You successfuUy placed an H. 323-to-H. 323 can via the Cisco Unified Border Element andobserved how the call was set up using the debug voip ipipgw command.

. You could see the two VoIP can legs that terniinated at your Cisco Unified Border Elementwhen the call was active. The Cisco Unified Border Element used the default flow-throug}Imethod.

Task 2: Configure Codec Transparencyin this task, you win configure Cisco Unified Border Element not to participate in codecnegotiations.

Activity Procedure

Complete these steps:

On your HQ gateway, reapply the voice-class codec to the VoIP dialpeer (555) thatStep I

routes calls between HQ phones via the Cisco Unified Border Element.

On your HQ gateway, reapply the voice-class codec to the inbound VoIP dial peer(2).

Configure your Cisco Unified Border Element BR to not participate in codecnegotiations for the calls between HQ phones at the inbound and outbound dial peers(2 and 555), and accept any codec that is detennined by the HQ gateway.

Step 2

Step 3

62 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems, Inc

Page 69: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Activity Verification

You have completed this task when you attain this result:

. You could see that the Cisco Unified Border Element did not actively participate in codecnegotiations and that it accepted the codec that was proposed by the HQ gateway. The HQgateway negotiates codecs that are based on the voice-class codec priority that isCollfigured.

Step 4 Place a can between your HQ phones, using the prefix 555, and examine whichcodec has now been used. Write the answer in the space that is provided:

Task 3: Configure SIP-to-H. 3231nterworking and Media FlowsIn this task, you will reconfigure your Cisco Unified Border Element and HQ gateway for SIP-to-H. 323 interworking and modify the Cisco Unified Border Element to media flow-around.

Activity Procedure

Complete these steps:

On your HQ gateway, modify the outbound VoIP dial peer (555) that routes callsStep I

between HQ phones via the Cisco Unified Border Element, to Sin.

On your Cisco Unified Border Element, modify the inbound VoIP dial peer (2) toSIP.

Enable your Cisco Unified Border Element for SIP-to-H. 323 interworking functions.

On your Cisco Unified Border Element, enable the debug ccsip messages, and placea call between HQ phones using the prefix 555. Observe the Sin messages that aresetting up the can. Which SIP mechanism is used for the call setup, early or delayedoffer? Write the answer in the space that is provided:

Step 2

Step 3

Step 4

Activity Verification

You have completed this task when you attain these results:

. You reconfigured your Cisco Unified Border Element for SIP-to-H. 323 interworking, andthe call via the Cisco Unified Border Element succeeded.

. You observed SIP messages at the Cisco Unified Border Element as the call was setting up.

. You could see that the early offer was used, since the SDP body was included in the SIPINVITE message.

. You could see that, if media flow-around was configured at the Cisco Unified BorderElement, RTP streams of an active call were not terniinated at the Cisco Unified BorderElement.

Step 5 Configure your Cisco Unified Border Element for media flow-around. Place a call,and use the coriumand show voip rtp connections to examine that no RTPconnections are terniinated at the Cisco Unified Border Element.

@ 2010 Cisco Systems, Inc Lab Guide 63

Page 70: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Lab 6-1 : Implementing QOS Using CiscoAutoQOS and Manual Configuration

Complete his lab activity to practice what you learned in the related module.

Activity Objectivein this activity, you win implement the best-practice QOS mechanisms using Cisco AutoQOSVoIP, and trial you will manuaUy tone the deployed QOS policy. After completing this activity,you will be able to meet these objectives:

. Collfigure AutoQOS VoIP on routers

. Fine-tone the QOS policy on a switch

. Verify the operations of implemented QOS mechanisms

Visual ObjectiveThe figure illustrates what you will accomplish in his activity.

Lab 6-1 : Using AutoQOS and ManualConfiguration

*HQ Ptrone I

2001

HQ PIrone 22002

HQ-pI

Required ResourcesThese are the resources and equipment that are required to complete this activity:

. Two Cisco Unified IP phones in your HQ site

. One Cisco Unified IP phone in your BR site

BR-p

\

'.* .. .. .^.'\**,:-,**t**" "'

7

BR Phone

.!:!

IP WAN

3001 I

*'.

POD P..,, ~ ~,.~, -,.-,.,...-

....

4

....... ...'*\,,, * ,:.. ;... ,,,,...,,**,-I.' '....*..'

,~,

PSTN

PSTN Phonep(Cisco Unified IP phone)

.

P = pod number

64 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

~,

@ 2010 Cisco Systems, Inc

Page 71: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Command List

The table describes the commands that are used in this activity.

Router QOS Commands

Command

cLock rate

bandwidth

auto qos voLp

priority

Job Aids

No job aids are required to complete this lab activity.

Task I : Evaluate VoIP Quality Without QOS Applied

show auto qos

show POLLcy-map

Description

Configures the clock rate on a serial interface

Activity Procedure

Complete these steps:

Ask the instructor to lower the clock rate on the WAN links to your HQ and BRStep Irouters to 64,000.

Simulate a heavy load by flooding the WAN using the ping coinmand:

. From the HQ gateway towards the BR gateway loopback O IP address

. Generate ping with 1000 packets, with a packet size of 5000 bytes

. Syntax example to is your pod number): ping 10. p. 250,102 size 5000 repeat1000

Configures the available bandwidth on aninterface

In this task, you will examine VoIP quality when Do QOS mechanisms are being used on therouters.

Configures the AutoQOS VoIP feature. Availablein interface, subinterface, of Frame Relay DLCIconfiguration mode.

Allocates specified bandwidth to the high-prtorltyqueue

Displays the QOS policy that is deployed byAutoQOS VoIP

Step 2

Displays the configured policy maps

Note

Step 3

If you want to interrupt the flood, simultaneously press Cm-Shift-6, followed by x.

While the WAN link is congested, place an intersite direct call (that does not involvethe gatekeeper or Cisco Unified Border Element) by dialing while using a site code.(For instance, from an HQ phone dial820-3001, or in the opposite direction dial810-2002. ) Examine the audio quality in this way:

. Speak into one receiver and listen to the sound at the other end. You should heara distinguishable delay.

. On any participating phone, press the Settings button, select Status > CallStatistics, and examine the parameters that are shouni. The expectedapproximate values are shown in the activity verification section.

@ 2010 Cisco Systems, Inc Lab Guide 65

Page 72: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Activity Verification

You have completed this task when you attain these results:

. You saw that flooding the network with traffic caused perceptible delay.

. You examined VoIP statistics and determined values in approximately these ranges:

Average jitter: 20-500 ms

Maximumjitter: 500-700 ms

Task 2: Configure AutoQOS VoIPIn this task, you win conf'Igure AutoQOS VoIP on the HQ and BR gateways.

Activity Procedure

Complete these steps:

On the HQ gateway, configure the correct bandwidth of 160 kb/s at the SerialStep I

subinterface that represents the Frame Relay PVC to BR site (Serial01/10.121).

On the BR gateway, coringlite the correct bandwidth of 160 kb/s at the Serialsubinterface that represents the Frame Relay PVC to HQ site (Serial01/10.1/1).

On the HQ gateway, enter the interface-DLCI configuration mode for the DLCI 121,and enable the AutoQOS VoIP featune while trusting the DSCP markers that arereceived over the WAN.

On the BR gateway, enter the interface-DLCI configoration mode for the DLCI I I I,and onable the AutoQOS VoIP featore while trusting the DSCP markers that arereceived over the WAN.

Display the QOS policy that is generated with AutoQOS.Step 5

Activity Verification

You have completed his task when you attain flits result:

. You exainined the QOS policy that was deployed on the gateways when Cisco AutoQOSwas activated, using appropriate commands, including the show auto qos command.

Task 3: Fine-Tune QOS PolicyIn this task, you will fine-tulle the QOS policy that has been deployed by the Cisco AutoQOSVoIP featore.

Activity Procedure

Complete these steps:

Calculate the bandwidth requirement (including Layer 2) for a single VoIP call,Step I

using the following fomiula:

. BW = (codec payload + Layer 3+ overhead + Layer 2 overhead) * packet rate *8 bits per byte, with the following argtunents:

G. 729 payload: 20 bytes

Layer 3+ overhead (CRTP): 2 bytes

Layer 2 overhead (FRF. 12): 8 bytes

Packet rate: 50 PIs

Step 2

Step 3

Step 4

66 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems, Inc

Page 73: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

I

Ex^tile how many cans are supported by the bandwidth that is allocated to theLLQ that is provisioned by AutoQOS Vore.

On the HQ and BR gateways, reduce the LLQ bandwidth to support only two G. 729cans.

Simulate a heavy load by flooding the WAN using the ping coriumand:

. From the HQ gateway towards the BR gateway loopback O IP address

. Generate ping with 1000 packets, with a packet size of 5000 bytes

. Synt^x ^x^inPIe (p is you" pod number): ping 10. p. 250,102 sire 5000 repeat1000

While the WAN link is congested, place an intersite direct call by dialing using asite code. (Formstance, from an HQ phone dial820-3001, orin the oppositedirection dial810-2002. ) Exaninie the audio quality when QOS is implemented.Compare the results with the Task I results.

Activity Verification

You have completed this task when you attain these results:

. You calculated that a single G. 729 call with CRTP over FRF. 12 requires 12 kb/s.

. You calculated that two calls (24 kb/s) require 15 percent of a 160 kb/s total bandwidth.

. You allocated 15 percent of total bandwidth to the LLQ and verified the setting using anappropriate command, such as show policy map.

. You evaluated VoIP quality with the same congestion in the WAN and noticed animprovement in perceived voice quality due to shorter delay.

. You examined VoIP statistics on the communicating phones and observed the values inapproximately these ranges:

Averagejitter: 2 to 40 ms

Maximumjitter: 100 to 180 ms

Step 2

Step 3

Step 4

Step 5

@ 2010 Cisco Systems, Inc Lab Guide 67

Page 74: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Answer KeyThe correct answers and expected solutions for the activities that are described in this guideappear here.

Lab I-, Answer Key: Configuring Voice PortsThe HQ gateway configuration should be like the following:

Task I, Step I:

i. p dhcp POOL HQL-Phones

! p i. s your pod number

network 10 .p. 2.0 255,255 .255.0

defauLt-router 10 .p. 2.10L

opti. on 150 i. p 10. p. 250.101

Task 2, Step I:

teLephony-servi. ce

max-ephones 5

max-dn Itb! p is your pod number

,. p source-add, :es s 10 . p. 250.1.01 port 20 0 O

auto assign I to 2

Task 2, Step 2:

ephone-dn I duaL-Linenormoer 555200L

.

Task 3, Step I:

network-cLock-partLci. pate wi. c O

ephone-dn 2 duaL-Linenumber 5552002

.

Task 3, Step 2:

i, sdn swi. toh-type prtmaJ=y-net5

Task 3, Step 3:cont, :oLLer E1 01010

prt-group ti. me SLots I-8,16

Task 4, Step I :

di. aL-peer voi. ce 7 potsdesti. nation-pattern 0 t 2-9I. . . . - -

port 01010=15di. .aL-peer voi. ce 1.0 pots

68 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems, Inc

Page 75: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

:

desti. nation-pattern 00 [ 2-9 ] . . . . . . . . .

f orward-di. gi. ts 11

port 01010s15

dial. -peer voi. ce 9011 potsdesti. natton-pattern OOOT

prefi. x 00

port 01010 =15

Task 4, Step 2:

di. aL-peer voi. ce I. L2 pots

desti. nati. on-pattern I I2

port 01010815f orwa, =d-di. gi. ts aLL

di. aL-peer voi. ce 1120 pots

desti. natton-pattern 0112

f orward-di. gi. ts 3

port 01010 = L5

.

Task 5, Step I:

dial. -peer voi. ce I potscaLLed-numberLncomLng

di. rect-i. nward-di. aL

The BR gateway configuration should be like the following:

Task I, Step 2:

i. p dhcp POOL BRI-Phones

! p i's your pod number

network 10 .p. 4.0 255,255 .255.0

defauLt-router 10 .p. 4.102

opti. on 150 ip 10. p. 250.102

Task 2, Step 4:

teLephony-servi. ce

max-ephones 5max-dn 10

! p i, s your pod number

i. p source-address 10 .p. 250,102 port 2000

auto assi. gn I to I

Task 2, Step 5:

ephone-dn I dual. -L, .nenumber 555300L

@ 2010 Cisco Systems, Inc

Task 3, Step 4:

network-cLock-parti. CLPate wi. c O

Lab Guide 69

Page 76: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

i. sdn swi. tch-type primary-ni..

Task 6, Step I

di. aL-peer voice 7 potsdesti. natton-pattern 9[2-9]......port 01010sL5

di. aL-peer voice 10 potsdesti. natton-pattern 91 t2-91 .. I2-9I. ....-port 01010=15

prefi. x I

di. aL-peer voi. ce 9 0 LI potsdest, .nati. on-pattern 9 0I IT

port 01010=15

prefi. x 011

contJ:oLLer E1 01010

prt-group ti. mesLots I-8.

Task 6, Step 2

di. aL-peer vo, .ce 91 I potsdesti. natton-pattern 911

forward-digi. ts aLL

port 01010=L5

dtaL-peer voi. ce 9911 pots

desti. natton-pattern 9911f orward-di. gi. ts 3

port 01010:15

Task 7, Step I

di. aL-peer voi. ce I potscaLLed-numberLnCOmLng

di. rect-i. nward-di. .aL

Lab I -2 Answer Key: Configuring DSPsThe HQ gateway configuration should include these commands:

Task I, Step 4:

ephone Icodec i. Lbc

Task 2, Step 2:voi. ce-card O

codec coinpLexi. ty medi. urn

70 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems, Inc.

.

Page 77: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Task 2, Step 6:voice-card O

codec coinpLexi. ty f Lex

Lab 2-1 Answer Key: Configuring VoIP Call LegsThe HQ gateway configuration should be like the following:

Task I, Step I:

di. aL-peer voice 3000 voi. p! p i's your pod number

sesSLon target i. pv4sIO. p. 250. I02

desti. natton-pattern 5553 ...Do vad

Task2, Stepl:

di. aL-peer voi. ce 3000 voi. pcodec 9723r53

Task 3, Step I:voi. ce cLass codec I

codec preference I 9723r53

codec preference 2 i. Lbc

codec preference 3 9729br8

Task 3, Step 2:

di. aL-peer voi. ce 3000 voi. pno codec g723r53voi. ce-cLass codec I

Task4, Stepl:no voi. ce cLass codec I

voi. ce cLass codec I

codec preference I 9729br8

codec pref erence 2 i. Lbc

Task 4, Step 2:

di. aL-peer voi. ce 3000 voi. pvoi. ce-cLass codec I

Task 5, Step I:

@ 2010 Cisco Systems, Inc

voLce servLce voLp

h323

caLl. start SLOW

Lab Guide 71

Page 78: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Task 5, Step 3:

interf ace LoopbackO! p i, s your pod number

h323-gateway voi. p bi. rid srcaddr 10 . p. 250.101

Task 6, Step I:

di. aL-peer voi. ce 3001 voi. p

! p i, s your pod numbersessi. on target i. pv4 = 10 . p. 250 .I0 2

destination-pattern 5553 ...

sessi. on protocoL SLpv2

.

Task 6, Step 2:

di. al. -peer voi. ce 3000 voi. p

preference I

Task 6, Step 4:

voLce servLce voLp

SLp

b, .rid aLL source-interf ace LoopbackO

Task 6 verification:

di. aL-peer voi. ce 3001 voi. pshutdown

The BR gateway configuration should be like the following:

Task 3, Step 3:voi. ce CTass codec I

codec preference I i. Lbc

codec preference 2 9723r53

codec preference 3 9729br8

Task 3, Step 4:

di. aL-peer voice 2000 voi. pdestination-pattern 5552 ...

! p i's your pod number

session target i. pv4810 .p. 250 .101voi. ce-cLass codec I

.

Task 4, Step I :Do voi. ce cLass codec I

voi. ce cLass codec I

codec preference I 9729br8

codec preference 2 ,. Lbc

.

72 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems, Inc.

Page 79: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Task 4, Step 2:

di. aL-peer voi. ce 2000 voi. pvoi. ce-cLass codec I

Task 5, Step 3:

triterf ace LoopbackO

! p i, s your pod number

h323-gateway voi. p bi. rid SLcaddr 10. p. 250.102

Lab 3-1 Answer Key: Configuring Cisco UnifiedCommunications Manager Express to Support Endpoints

The HQ gateway configuration should be like the following:

Task I, Step I:

teLephony-servi. ce

no auto assi. gn I to 2

no auto-Leg-ephone

e

Task I, Step 2:

no ephone I

no ephone 2

Task I, Step 3:

no ephone-dn

no ephone-dn

Task 2, Steps 2 to 4:

tel. ephony-service

protocoL mode duaL-stack preference i. pv4cnf -fi. Le LOGati. on f Lash :

cnf-fi. Le perphonetime-format 24

date-format dd-mm-yycreate Grit-fi. Les

I

2

Task 3, Step I:

ephone-dn L duaL-LLDenumber 555200L

b

*

@ 2010 Cisco Systems, Inc.

ephone-dn 2 duaL-Li. nenumber 5552002

ephone-dn 3 duaL-LLDe

Lab Guide 73

Page 80: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

number 55520I I

ephone-dn 4 duaL-LLDenumber 5552012

.

Task 3, Step 2:

ephone Imac-address 0024 .c445.5233

type 7965button 1:1 283

ephone-dn 5 duaL-Li. nenumber 5552003

Task 3, Step 3:

ephone 2mac-address 0024 .C445.4B7F

type 7965button 1:22:43=5

Task 3, Step 5

teLephony-servi. cecreate cnf -fi. Les

Task 4 (Optional), Step 5

ephone-dn 6 duaL-Li. nenumber 5552004

ephone 3mac-address 0016 .4155 .B50B

type CLPC

button 1:6

The BR gateway configuration should include these coriumands:

Task I, Step I:

teLephony-service

no auto assi. gn I to L

no auto-Leg-ephone

Task I, Step 2:

Do ephone I

74

Task I, Step 3:

no ephone-dn

Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

.

I

@ 2010 Cisco Systems, Inc.

Page 81: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Task 2, Step 5:

teLephony-seJ=vi. ceprotocoL mode duaL-stack preference i. pv4cnf -f i. Le Locati. on f Lash :

cnf-fi. Le perphonecreate cnf-fi. Les

Task 3, Step 6:

ephone-dn I dual. -Li. nenumber 5553001

ephone Imac-address 0024 .C445.4B48

type 7965button LSI

Lab 4-1 Answer Key: Implementing Digit ManipulationThe HQ gateway configuration should be like the following (this is the pod I configuration):

Task 2, Step I

ephone-dn Inumber 20 0I

teLephony-servi. cecreate Grit-fi. Les

ephone-dn 2number 2002

ephone-dn 3number 2011

ephone-dn 4number 20L2

I

ephone-dn 5number 2003

ephone Irestart

@ 2010 Cisco Systems, Inc.

Task 3, Step I

ephone 2restart

Lab Guide 75

Page 82: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

voi. ce trans Lati. on-IruLe I

ruLe I I*21 15552/

voi. ce trans Lati. on-prof i. Le pstn-out

transLate caLLi. rig I

Task 4, Step Ivoi. ce trans Lati. on-ruLe 2

ruLe I I. */ 10&/ type subscri. ber subscJ=i. ber

ruLe 2 I. */ 100&/ type nati. onaL nattonaLruLe 3 I. */ 1000&/ type i. riternati. onaL i. riternati. onaL

voice-port 01010815trans Lati. on-profi. Le outgoi. rig pstn-out

voi. ce trans Lati. on-IruLe 3

I:'uLe I 1'5552/ 121

ruLe 2 1'5115552/ 121

ruLe 3 1'555LL5552/ 121

.

voi. ce trans Lati. on-prof i. Le pstn-intransJ. ate caLLi. rig 2transLate caLJ. ed 3

Task 5, Step I:voi. ce transLati. on-ruLe 4

ruLe I I'21 18/02/

voi. ce-port 01010 =15

trans Lati. on-prof tLe trioomi. rig pstn-i. n

.

voice transl. atton-prof i. Le intersi. te-out

transLate caLLi. rig 4

di. aL-peer voi. ce 3000 voi. p

desti. natton-pattern 820 . . . .

trans Lati. on-profi. Le outgoi. rig tritersi. te-out

vo, .ce trans Lati. on-ruLe 5

EULe I 1'8102/ 121

76

voi. ce trans Lati. on-prof i. Le i. ritersi. te-i. ntransLate cal. Led 5

Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

di. aL-peer voice 2 voi. p

i. ncomi. rig caLLed-number

trans Lati. on-prof i. Le i. ncomi. rig tritersi. te-i. n

@ 2010 Cisco Systems, Inc

Page 83: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

The BR gateway configuration should be like the following (this is the pod I configuration):

Task I, Step 3voi. ce transLati. on-ruJ. e I

I:'uLe I 1'9011. */ I&/ type any unknown

voice-cLass codec I

.

Task I, Step 4

vo, .ce-port 010103/5

trans Lati. on-profi. Le outgoi. rig f i. x-0 11

voi. ce trans Lati. on-prof i. Le f i. x- 0 11transLate caLLed I

Task 2, Step 2:

ephone-dn Inumber 30 0I

Task 3, Step 2:

voi. ce trans Lati. on-ruLe 2

EULe I I'31 15553/

ephone Irestart

voi. ce trans Lati. on-prof i. I. e pstn-outtransLate caLLed I

transLate caLLi. rig 2

voi. ce-port 0I0I0 = I5

trans Lati. on-prof LLe outgoi. rig pstn-out

Task 4, Step 2:voice trans I. ati. on-EUJ. e 3

ruLe I I. */ 19&/ type subscri. bel:' subscriberruLe 2 I. */ 19L&/ type nattonaL nattonaL

ruLe 3I. */ 1901L&/ type tritemati. onaJ. tritemati. onaL

voi. ce trans I. atton-EULe 4

ruLe I 1'5553/ 131

ruLe 2 1'5215553/ 131

ruLe 3 1'665215553/ 131

@ 2010 Cisco Systems, Inc

voi. ce trans Lati. on-profi. Le pstn-i. n

transl. ate caLLi. rig 3

Lab Guide 77

Page 84: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

transLate caLLed 4

.

Task 5, Step 2:voi. ce trans Lati. on-ruLe 5

ruLe I I'31 18203/

voice-port 01010s15

trans Lati. on-profi. Le i. DComLng pstn-i. n

.

voi. ce trans Lati. on-profi. Le i. ritersi. te-outtransLate caLl. ing 5

di. aL-peer voi. ce 2000 voi. pdesti. nation-pattern 810. . . .

trans Lat, .on-prof i. Le outgoi. rig trite, :site-out

voi. ce trans Lati. on-ruLe 6

ruLe I 1'8203/ 131

.

voi. ce trans Lati. on-prof LLe i. ritersi. te-intransLate caLLed 6

Lab 4-2 Answer Key: Implementing Path SelectionThe HQ gateway configuration should be like the following (his is the pod I configuration):

Task I, Step I:

di. aL-peer voi. ce 3005 potspreference 2

desti. natton-pattern 820. . . .port 01010sL5

di. aL-peer voice 2 voi. pi. ncomi. rig caLLed-number

trans Lati. on-prof i. Le i. neomi. rig triters, .te-i. nvoi. ce-cLass codec I

Task I, Step 2:voi. ce trans Lati. on-ruLe 6

I:'uLe I I'21 1555LL5552/ type any tritemati. onaL

.

voice trans Lati. on-ruLe 7

ruLe I 1'820/ 10066521555/

78

.

Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

voi. ce trans Lati. on-profi. Le pstn-backuptransLate caLLi. rig 6transLate caLLed 7

.

@ 2010 Cisco Systems, Inc

Page 85: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Task I, Step 3:

di. aL-peer voi. ce 3005 pots

transLati. on-profi. Le outgoing pstn-backup

Task 3, Step I:

di. aL-peer votce 6600 voi. pdesti. .natton-pattern 0 0066T

session target i. pv4310. I. 250,102voi. ce-cLass codec I.

Task 3, Step 2:voi. ce trans Lati. on-ruLe 8

ruLe I 1'00066/ 19/1

voi. ce trans Lati. on-prof i. Le teho-out

transLate caLLi. rig 6transLate caLJ. ed 8

The BR gateway configuration should be like the following (this is the pod I configuration):

Task 2, Step I:

di. aL-peer voi. ce 2005 potspreference 2

desti. nati. on-pattern 8LO. . . .

port 01010 =15

di. aL-peer voi. ce 660 0 voi. ptrans Lati. on-profIle outgoing teho-out

Task 2, Step 2:voi. ce trans Lat:. on-ruLe 7

I:'uLe I I'31 16652L5553/ type any i. riternati. onaL

voi. ce trans Lati. on-ruLe 8

ruJ. e I 1'810/ 10/155511555/

voi. ce trans Lati. on-prof i. Le pstn-backup

transLate caLLi. rig 7transLate caLLed 8

Task 2, Step 3:

di. aL-peer voi. ce 2005 pots

trans Lati. on-prof i. Le outgoi. rig pstn-backup

@ 2010 Cisco Systems, Inc.

Task 2, Step 4:voi. ce trans Lati. on-I:'uLe I

.

Lab Guide 79

Page 86: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Task 4, Step I :

di. aL-peer voi. ce 5500 voi. pdestination-pattern 901155Tsessi. on target i. pv4810. I. 250.10Lvoi. ce-cLass codec I

rILLe I 1'9011. */ I&/ type any unknown

;:tit!^1/21/1461\:;:^:/:/41\;i;in^:::t;.!\trunkh.:ovii.

Task 4, Step 2:voi. ce trans Lati. on-ZILLe 9

ruLe I 1'901155/ 1001

voice trans Lati. on-profi. Le teho-outtransLate caLLi. rig 7transLate caLLed 9

Lab 4-3 Answer Key: Implementing Calling PrivilegesThe HQ gateway configuration should include these commands:

Task I, Step 2:

di. aL-peer cor custom

name emergency

name LocaL

name nati. on aL

name intL

di. aL-peer voice 5500 voi. ptrans Lati. on-prof i. Le outgoi. rig teho-out

Task I, Step 3:

di. aL-peer cor Li. st emergency-outmember emergency

.

di. aL-peer cor Li. st Local. -outmember LocaL

.

di. al. -peer cor Li. st nattonaL-outmember nattonaL

80

di. .aL-peer cor List i. ntL-outmember i. ntL

Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

.

di. aL-peer cor Li. st Lobbymember emergency

@ 2010 Cisco Systems, Inc.

Page 87: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

di. aL-peer cor Li. st saLesmember emergencymember LocaL

member nattonaL

Task I, Step 4:

di. aL-peer voi. ce 7 potscorLi. st outgoi. rig LocaL-out

di. aL-peer votce 10 pots

corLi. st outgoi. rig nattonaL-out.

di. aL-peer voice 9011 pots

COLLi. st outgoing i. ntL-out.

di. aL-peer voi. ce 112 potsCOLLi. st outgoi. rig emergency-out

di. aL-peer voi. ce 112 0 pots

COLLi. st outgoi. rig emergency-out.

ephone-dn 3number 2011

corLi. st i. DComi. rig Lobby

ephone-dn 4number 2 0I2

corLi. St i. DComi. rig s aLes

The BR gateway configuration should include these cornmands:

Task 2, Step 2:

di. aL-peer cor custom

name emergency

name LOGaL

Dane bLock

Task 2, Step 3:

di. aL-peer cor Li. st emergency-outmember emergency

*

di. aL-peer cor Li. st LocaL-outmember LocaL

@ 2010 Cisco Systems, Inc

di. aL-peer cor Li. st empLoyee

member emergencymember LocaL

Lab Guide 81

Page 88: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Task 2, Step 4:

di. aL-peer votce 7 potscorLi. st outgo, .rig LocaL-out

di. .aL-peer cor Li. st bLockmember bLock

di. aL-peer voi. ce 10 potsCOLLi. st outgoing bLock

.

di. aL-peer voice 9011 potsCOLLi. st outgoing bLock

.

di. aL-peer voi. ce 911 potsCOLLi. st outgoi. rig emergency-out

di. aL-peer voi. ce 9911 pots

COLLi. st outgo, .rig emergency-out

Lab 5-1 Answer Key: Implementing GatekeepersThe HQ gateway configuration should be like the following (this is the pod I configuration):

Task I, Steps I to 3:

gatekeeper

zone LocaL HQ cisco. coin 10.1.250,101

zone LocaL BR ci. SCO. coin

zone prefi. x HQ 2 . . .

zone prefi. x BR 3 . . .no shutdown

ephone-dn Inumber 3001

COLLi. st i. ncomi. rig empLoyee

Task 2, Step 4:

triterf ace LoopbackO

i. p address 10.1 .250.101 255.255.255.255

h323 -gateway voi. p trite I:'f aceh323-gateway voi. p I'd HQ i. paddr 10.1.250.101h323 -gateway voi. p h323 -I. d HQ-onh323-gateway voi. p bi. rid SLcaddr To. 1.250.101

82

.

ephone-dn 4

number 2012 no-Leg

Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

.

gateway

.

*

@ 2010 Cisco Systems, Inc

Page 89: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Task 2, Step 5:

di. aL-peer voi. ce 3002 voi. pdesti. natton-pattern 3 . . .

sessLon target ras

voi. ce-cLass codec L

Task 3, Step 2:

gatekeeper

bandwidth inter zone zone HQ 31

bandwi. dth triterzone zone BR 31

The BR gateway configuration should be like the foUowing (this is the pod I configuration):

Task 2, Step 2:

interf ace LoopbackO

i. p address 10.1 .250.102 255.255.255.255

h323-gateway voi. p trite ICf aceh323-gateway voi. p i. d BR i. paddr 10.1.250.10L 1719

10.1 .250.102h323-gateway

Task 2, Step 3:

di. aL-peer voi. ce 2002 voi. p

desti. natton-pattern 2 . . .

sessLon target ras

voi. ce-cLass codec I

gateway

Lab 5-2 Answer Key: Implementing Cisco Unified BorderElement

The HQ gateway configuration should be like the following (this is the pod I configuration):

Task I, Step I:

di. aL-peer voi. ce 555 voi. pdestination-pattern 5552. ..

session target i. pv4:10.1 .250.102

codec g7 L JULaw

voi. p bind srcaddr

'L:,, "4.0^1:1

Tasl< I, Step 2:

di. aL-peer voi. ce 2 voi. p

trans Lati. on-profi. Le i. DComi. rig tritersi. te-i. nincomi. rig caLLed-number. ' . \.:.' . . . ' . . " . . ' ' , ., . . .. .,, . .'I , . ' . . . ' ' ' . ' \ I. ' .

... . - ... *. - '.. ...' .

. . *.. ...-.... .. .. .. .. ......

Cod^^q::.'. g?. L!'tilt^\!

.

@ 2010 Cisco Systems, Inc. Lab Guide 83

Page 90: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Task I, Step 4:

voi. ce trans Lati. on-profi. Le tritersi. te-i. ntransLate caLLed 5

.

voi. ce trans Lati. on-ruLe 5

ruLe I 1'8102/ 121

>::^j:e;it^;7455$?/I;;:/^./

Task 2, Step I :

di. aL-peer voi. ce 555 voIPvoi. ce-cLass codec I

Task 2, Step 2:

di. aL-peer voi. ce 2 voi. pvo, .ce-cLass codec I

.

Task 3, Step I:

di. aL-peer voice 555 voi. p

sessi. on protocoL SLpv2

The BR gateway configuration should be like the foUowing (this is the pod I configuration):

Task I, Step 2:

di. aL-peer voi. ce 2 voi. ptrans Lati. on-profi. Le incomi. rig intersi. te-i. nincomi. rig caLLed-number

non. ;lion<:^;+:^141^,:SI^:;:!^^i^:ect^!0, ^:^^\;^74, nita\i

Task I, Step 3:

di. aL-peer voi. ce 555 voi. pdesti. nati. on-pattern 5552. . .sessi. on target i. pv4810.1.250,101

codec 9711uLaw

Task I, Step 6:

voLce servLce voJ. p

aLLow-connecti. ons h323 to h323

Task 2, Step 3:

di. aL-peer voi. ce 2 voi. p

codec transparent

84 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0

.

di. aL-peer voi. ce 555 voIP

codec transparent

@ 2010 Cisco Systems, Inc

Page 91: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

Task 3, Step 2:

di. aL-peer votce 2 voi. p

sesSLon protocoL SLpv2

Task 3, Step 3:

voLce servLce voLp

aLLow-connecti. ons

Task 3, Step 5:

voLce servLce voLp

medi. a f Low-around

Lab 6-1 Answer Key: Implementing QOS Using Cisco AutoQOSand Manual Configuration

You should configure your HQ gateway with these coriumands (tins is the pod I configuration):

Task 2, Step I:

trite I:'f ace Seri. aL 01/10.121 pod. nt-to-potnt

descJ:i. pti. on to BR-Ibandwi. dth 16 O

.

si. p to h323 Ltd~~^.

Task 2, Step 3:

i. riterface Sen. aL0/110.12L

f rane-reLay trite I:'f ace-dLci. L 2I

auto qos voLp trust

FF"~Coat. f'I

Task 3, Step 3:

poLi. cy-map AutoQOS-POLLcy-Trust

cLass AutoQOS-VOTP-RTP-Trust

prtori. ty percent L5

1/1 ^ """",^^^11,, ,^"I '

The HQ gateway configuration should be like the following (this is the pod I configuration):

cLass-map match-any AutoQOS-VOTP-RTP-Trust

match i. p dscp efcLass-map match-any AutoQOS-VOTP-ControL-Trust

match i. p dscp CS3

match i. p dscp af 3I

POLLcy-map AutoQOS-POLLcy-Trust

cLass AutoQOS-VOTP-RTP-Trust

prtoJ=i. ty percent L5

cLass AutoQOS-VOTP-ControL-Trust

bandwi. dth percent 5

@ 2010 Cisco Systems. Inc. Lab Guide 85

Page 92: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

cLass cLass-defauLt

f air-queue

interf ace seri. aL011 IO

addressno Lp

encapsILLati. on f Lame-reLay

no keepaLi. ve

f Tame-,:eLay tJ:af f i. c-shapi. rig

triterf ace Sen. aL01/10.12 I po, .nt-to-potnt

desc, :ipti. on to BR-Ibandwi. dth 16 O

i. p address 10.1 .6.101 255,255,255 .O

f Lane-reLay i. riterf ace-dLci. 121

cLass AutoQOS-ER-Se0/110-121

auto qos voLp trust

f Tame-reLay ip rtp header-coinpres SLon

map-cLas s frame-reLay AutoQOS-ER-Se01/10-12 Iframe-reLay CLI:' 1600 0 O

frame-reLay bc 1600

f Tame-reLay be O

f Tame-reLay ini. DCi. J: 1600 0 Of Lane-reLay f ragment 8 O

sei:vi. ce-POLLcy output AutoQOS-POLLcy-Trust

You should configure your BR gateway with these commands (this is the pod I configuration):

Task 2, Step 2:

triterf ace ser, .aL01/10 .ILL poi. nt-to-potnt

description to HQ-Ibandwidth I6 O

.

Task 2, Step 4:triterf ace sertaL01/10 .I 11

f Laine-rel. ay trite I:f ace-dLci. 111

auto qos voi. p trust

Task 3, Step 3:

POLLcy-map AutoQOS-POLi. cy-TrustcLass AutoQOS-VOTP-RTP-Trust

pri. ori. ty percent 15

.

The BR gateway configuration should be like the following (this is the pod I configuration):cLass-map match-any AutoQOS-VOTP-RTP-Trust

match ip dscp ef

cLass-map match-any AutoQOS-VOTP-ControL-Trust

86 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems. Inc.

Page 93: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

18 ap!no qeT

q sriz:in-ADTToa-soOoq nv q ndq no ADTTod-80TAzss

O 8 q UeiiL6ezg: APTe:r-earez, :

O 0 009 T XTouTiu APTe:r-earezg:

O aq APTez-annexJ

009T Oq APTez-eare. :rg:

O 0 009 T ZTO APTez-sore:rg:

T T T ~ OIT IOes-illi-soboq nv APTez-eliterg: sspT o-delu

uoT s sezdiuoo-.:repeeq dq. z dT APTez-Blue:rg:

q. srizq. dTOA sob oq. rip

T T T -OITI 08S-11.31-soboq nv sspTo

T T T ToTp-aoeg::req. uT APTez-eare:rJdT0'99Z'99Z'99Z ZOT'9'T'OT Sse:rppe

O 9 T qq PTApueq

T-OH Oq UOTq. dT:rosep

q. uTod-oq -q UTOd TI I ' OITIOTPTJ3S aoeg:zeq. uT

6UTdEqS-OTg: g:ETq APTe:L-eareZg:

aATTEdee>t OU

APT8Z-annexg: UOTq ETnSdPDUedT OUssezppe

01TIOTeTzes aoeg:.:req. uT

OUj 'SUI8jSAS 00S!O OLOZ @

enenb-:LTEJ

q-Trip9:ap-s SETO S SETO

S q-UeD. :Led qq. pT^pugq

q. srizJ, -Tozq uoo-aTOA-soOoq nv s SETO

gT q. Us DJed Aq. TZOTZd

q srizm-aLti-aTOA-soboq nv sspTo

q sri. :rL-ADTToa-soboq-nv delli-ADTTod

.

T $3:e dosp dT qoq. PUT

SSO dosp dT qOq. PUT

I

Page 94: Implementing.cisco.voice.communications.and.QOS.v8.Lab.guide.ocr

88 Implementing Cisco Voice Communications and QOS (CVOICE) v8.0 @ 2010 Cisco Systems. Inc