You are on page 1of 22

Packet Tracer 6.

1 tutorial - IP
telephony basic configuration
Tutorial description
Thistutorialisdesignedtohelpyoutoconfigurethenewvoice

overip(voip)featuresavailableinPacket

Tracer6.0.Itwilshowyouthestepsrequiredto:

 ConfigureCalManagerExpressTM ona281 router,


 Usethevarioustelephonydevices
 Setupdialpe rs
 Con ectCiscoTM
IPphonesaswelasanaloguephoneonthenetwork.

Network diagram

Note:ConnectonlyIPPhone1atthebeginningofthelab.IPPho
ne2mustbedisconnected.

Tasks 1 : Configure interface


FastEthernet 0/0 and DHCP server on
RouterA (2811 router)
#ConfiguretheFA0/0interface#
RouterA>enable
RouterA#configureterminal
RouterA(config)#interfaceFastEthernet0/0
RouterA(config-if)#ipad ress192.168.10.125 .25 .25 .0
RouterA(config-if)#noshutdown

TheDHCPserverisne

dedtoprovideanIPadressandtheTFTPserverlocatio

nforeachIPphone con ectedtothenetwork.

 RouterA(config)#ipdhcppo lVOICE#CreateDHCPpo
lnamedVOICE

 RouterA(dhcp-

config)#network192.168.10.025 .25 .25 .

0#DHCPnetworknetwork

192.168.10with/24mask#

 RouterA(dhcp-config)#default-
router192.168.10.1#ThedefaultrouterIPad ress#

 RouterA(dhcp-
config)#option150ip192.168.10.1#Mandatoryforvoipc
onfiguration.

Aftertheconfiguration,waitamomentandcheckthat‘IPPhone

1’hasreceivedanIPad ressby

placingyourcursoroverthephoneuntilaconfigurationsumma

ryap ears.

Tasks 2: Configure the Call Manager


Express telephony service on RouterA
YoumustnowconfiguretheCalManagerExpresstelephon

yserviceonRouterA toenablevoipon yournetwork.

 RouterA(config)#telephony-
service#Configuringtherouterfortelephonyservices#

 RouterA(config-telephony)#max-dn5#Definethemaximum
numberofdirectorynumbers#
 RouterA(config-telephony)#max-
ephones5#Definethemaximum numberofphones#

 RouterA(config-telephony)#ipsource-ad
ress192.168.10.1port20 0#IPAd resssource#

 RouterA(config-
telephony)#autoassign4to6#Automaticalyassigninge
xtnumberstobutons#

 RouterA(config-
telephony)#autoassign1to5#Automaticalyassigninge
xtnumberstobutons#
Task 4: Configure a voice vlan on SwitchA
Ap

lythefolowingconfigurationonSwitchAinterfaces.Thisconf

igurationwilseparatevoiceanddata

trafficindifferentvlansonSwitchA.datapacketswilbecaried

ontheaccessvlan.

 SwitchA(config)#interfacerangefa0/1–
5#Configureinterfacerange#

 SwitchA(config-if-range)#switchportmodeaccess

 SwitchA(config-if-

range)#switchportvoicevlan1#DefinetheVLANonw

hichvoicepacketswil behandled#

Task 5 : Configure the phone directory


for IP Phone 1
Although‘IPPhone1’isalreadycon ectedtoSwitchA,itne

dsad ition alconfigurationbeforebe ing

abletocommunicate.Youne

dtoconfigureRouterACMEtoassignaphonenumbertothisIPphon

e.

 RouterA(config)#ephone-
dn1#Definingthefirstdirectoryentry#

 RouterA(config-ephone-dn)#number540
1#Assignthephonenumbertothisentry#

Task 5: Verify the configuration


EnsurethatheIPPhonereceivesanIPAd

ressandathephonenumber540 1from RouterA (this

cantakeashortwhile).
960

PhysicalConfìg
Task 6: Configure the phone directory for
IP Phone 2
Con
ectIPPhone2toSwitchAandpowerthephoneONusingthepowera
dapter(Physicaltab).

 RouterA(config)#ephone-
dn2#Definingthefirstdirectoryentry#

 RouterA(config-ephone-dn)#number540
2#Assignthephonenumbertothisentry#

Task 7: Verify the configuration


EnsurethatheIPPhone2receivesanIPAd

ressandathephonenumber540 2from RouterA (this

cantakeashortwhile).Sameprocedureastaskn°5.

Dial540 1andcheckifIPphone1corectlyreceivesthecal.
Packet Tracer 6.1 tutorial - IP
telephony advanced configuration
Tutorial description
Thistutorialwilguideyouforadvancedvoipconfigurationin

PacketTracer6.2networksimulation

software.BasedontheCisco'sHierarchicalNetworkDesignM

odel,thissimulatednetworkhasvoipcal

routingfeaturesenabledbetwe

ntwocampusbuildingswithnetworkservices(DNS,DHCP .)

centralizedinthedatacenter.

Inarealworldenvironment,theCUCMErouterwouldalsobe

locatedinthedatacenter.However,Packet

Tracer6.2doesn'tse mstosup

orthisconfigurationasIPphonesdon'tregisterandrecei

veavalid phonenumber.
Network diagram
Configuration tasks
CME-3 configuration
IPconfiguration

hostname CME-3

interface FastEthernet0/0

ip address 192.168.69.254 255.255.255.0

duplex auto

speed auto

ip classless

ip route 0.0.0.0 0.0.0.0 192.168.69.1

Telephonyserviceconfiguration

telephony-

service max-

ephones 5

max-dn 5

ip source-address 192.168.69.254 port 2000

auto assign 4 to 6

Ephonedeclarationandnumberassignment

ephone-dn 1

number 2001

!
ephone-dn 2

number 2002

ephone 1

device-security-mode none

mac-address 0090.0C57.C85E

type 7960

ephone 2

device-security-mode none

mac-address 0090.0C20.BA20

type 7960

ephone 3

device-security-mode none

mac-address

0005.5E9E.2AC5 type 7960

button 1:2

ephone 4

device-security-mode none

mac-address

0060.5C2D.6220 type 7960

button 1:1

CME configuration
IPconfiguration
hostname CME

interface FastEthernet0/1

ip address 192.168.65.3 255.255.255.0

duplex auto

speed auto

ip classless

ip route 0.0.0.0 0.0.0.0 192.168.69.1

Telephonyserviceconfiguration

telephony-

service max-

ephones 42

max-dn 144

ip source-address 192.168.65.3 port 2000

auto assign 4 to 6

Ephonedeclarationandnumberassignment

ephone-dn 1

number 1101

ephone-dn 2

number 1102

ephone-dn 3

number 1103
!

ephone-dn 4

number 1104

ephone-dn 5

number 1105

ephone-dn 6

number 1106

ephone 1

device-security-mode none

mac-address

0090.0C57.C85E type 7960

button 1:1

ephone 2

device-security-mode none

mac-address

0090.0C20.BA20 type 7960

button 1:2

ephone 3

device-security-mode none

mac-address

00E0.A340.E430 type 7960

button 1:3

!
ephone 4

device-security-mode none mac-address 0060.4710.AE01 type 7960


button 1:4

ephone 5

device-security-mode none mac-address 000C.8521.0C20 type 7960


button 1:5

ephone 6

device-security-mode none mac-address 00D0.D31A.7EE9 type CIPC


button 1:6

Call routing configuration between CME


routers
Dialpe

rsareusedtoidentifycalsourceanddestinationendpo

intsandtodefinethecharacteristics

ap liedbetwe

ntwoCMErouters.Thedestinationpatern,configuredin

adialpe rbyusingthe destination-

paterncommand,associatesadialedstringwithaspeci

fictelephonydevice.Ifthedialed

stringmatchesthedestinationpatern,thecalisroute

dtotheremotedialpe rs.Youhavetoconfigurea

destinationpaternforeachvoice-networkdialpe
rthatyoudefineonyournetworkrouters.

Thedestinationpaterncanbeeitheracompletetelephonenum

berorapartialtelephonenumberwith

wildcarddigits,representedbyaperiod(.)character.Each

"."representsawildcardforanindividualdigit
thatheoriginatingrouterexpectstomatch.Forexample,

ifthedestinationpaternforadialpe ris definedas"5 5

.",thenanydialedstringbegin ingwith5

5,plusatleastfourad itionaldigits,matches

thisdialpe r.

CME-3dial-peerconfiguration

dial-peer voice 1 voip

destination-pattern 1...

session target ipv4:192.168.65.254

CMEdial-peerconfiguration

dial-peer voice 2 voip

destination-pattern 2...

session target ipv4:192.168.69.254

!
Packet Tracer 6.1 tutorial -
IP telephony devices
Supported devices in Packet Tracer 6.0
PacketTracer6.0sup ortsvarioustelephonydevices:

 Cisco7960IPPhone
 HomeVOIPdeviceforanalogphonecon ection
 CiscoIPCommunicatorsoftwareondesktoporlaptopPC

Cisco 7960 IP Phone

Power up the phone


Twooptionsareavailableinpacketracerforpoweringupthe7
960IPPhone:

 Externalpoweradapter
 PoE(onlywith3560multilayerswitch)

Ifyoucho

setousetheexternalpoweradapter,gotothephy

sicaltabanddraganddropthe

"IP_PHONE_POWER_ADAPTER"tothebotom leftcon

ectorofthe7960IPPhone.

IfyouwantousethePoEfunction

alityoftheCisco3560switch,ap

lythefolowingconfigurationtothe switchinterfacecon

ectedtothephone:

Switch(config)#i

ntfastEthernet0
/1 Switch(config-

if)#powerinlinea

uto
Place calls
The7960IPPhonedoesnothaveanyconfigurableoptions.Itrec

eivesit'sIPad ressthroughDHCPand it'slinenumberfrom

theCalManagerExpressserver.

IntheGUItab,youcanplaceacal,answeracal,andsendDo,

Re,andMinotestotherecipientphone.

Toplaceacalentertherecipient'slinenumberfirstusing

thekeypadandthenclickonthehandsetodial out.

Toansweraphonecalontheanalogphone,clickonthehands

etwhenthephoneisringing.Whilethe lineiscon

ected,youcansendDo,Re,orMitotherecipientbypressin

gtherespectivebutons.Inorder

tohearthesounds,besureSoundisenabledinPreferences

.Toendacal,clickonthehandset.

Home VOIP device


TheHomeVoIPonlyhasa"ServerAd

ress"configurationinwhichyouhavetoplacetheCalManager

ExpressIPad ress.

Cisco IP Communicator software


TheIPCommunicatorsoftwareisinstaledondesktoporlaptop

enddevices.Configurethecomputer

forDHCPaddressassignmentandusethe"Desktop"tabtoacces

stheIPCommunicatorsoftware.The

softwarewilreceiveit'sphonelinenumberfrom

theCiscoCalManagerExpressserver.

Toplaceaphonecal,enterthenumberoftherecipientphoneus

ingthekeypadandthenclicktheDial

buton.Oncetherecipienthasansweredthecal,thestatusmes

sagewilindicatethatheCiscoIP Communicatoriscon

ectedandagre

nlightwilshow.Whilethecalisstilactive,clickontheDo,R

e,or
Mibutonstosendtherespectivesoundstotherecipient.Toen

dthecal,clicktheEndCalbuton.Forthe

bestpossibleexperiencewhilemakingcals,besurethatSoun

disenabledinPreferences.

IfyouwantconfiguretheCiscoIPCommunicatortouseadifferen

tTFTPserverfrom thedefaultTFTP

server,folowthesesteps.Ontheup eright-

handcorneroftheCiscoIPCommunicatorGUI,thereare

fourbutonsabovethewords"CiscoIPPhone."Clickonthefirst

butonfrom theleftoopenacontext
menuandthenselectPreferences.SelectheoptionUs

etheseTFTPServers:andthenentertheIP ad

ressoftheTFTPserverthatyouwishtouse.

You might also like