Professional Documents
Culture Documents
1 tutorial - IP
telephony basic configuration
Tutorial description
Thistutorialisdesignedtohelpyoutoconfigurethenewvoice
overip(voip)featuresavailableinPacket
Tracer6.0.Itwilshowyouthestepsrequiredto:
Network diagram
Note:ConnectonlyIPPhone1atthebeginningofthelab.IPPho
ne2mustbedisconnected.
TheDHCPserverisne
dedtoprovideanIPadressandtheTFTPserverlocatio
RouterA(config)#ipdhcppo lVOICE#CreateDHCPpo
lnamedVOICE
RouterA(dhcp-
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.
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#
abletocommunicate.Youne
dtoconfigureRouterACMEtoassignaphonenumbertothisIPphon
e.
RouterA(config)#ephone-
dn1#Definingthefirstdirectoryentry#
RouterA(config-ephone-dn)#number540
1#Assignthephonenumbertothisentry#
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#
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
duplex auto
speed auto
ip classless
Telephonyserviceconfiguration
telephony-
service max-
ephones 5
max-dn 5
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
button 1:2
ephone 4
device-security-mode none
mac-address
button 1:1
CME configuration
IPconfiguration
hostname CME
interface FastEthernet0/1
duplex auto
speed auto
ip classless
Telephonyserviceconfiguration
telephony-
service max-
ephones 42
max-dn 144
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
button 1:1
ephone 2
device-security-mode none
mac-address
button 1:2
ephone 3
device-security-mode none
mac-address
button 1:3
!
ephone 4
ephone 5
ephone 6
rsareusedtoidentifycalsourceanddestinationendpo
intsandtodefinethecharacteristics
ap liedbetwe
ntwoCMErouters.Thedestinationpatern,configuredin
paterncommand,associatesadialedstringwithaspeci
fictelephonydevice.Ifthedialed
stringmatchesthedestinationpatern,thecalisroute
dtotheremotedialpe rs.Youhavetoconfigurea
destinationpaternforeachvoice-networkdialpe
rthatyoudefineonyournetworkrouters.
Thedestinationpaterncanbeeitheracompletetelephonenum
berorapartialtelephonenumberwith
wildcarddigits,representedbyaperiod(.)character.Each
"."representsawildcardforanindividualdigit
thatheoriginatingrouterexpectstomatch.Forexample,
.",thenanydialedstringbegin ingwith5
5,plusatleastfourad itionaldigits,matches
thisdialpe r.
CME-3dial-peerconfiguration
destination-pattern 1...
CMEdial-peerconfiguration
destination-pattern 2...
!
Packet Tracer 6.1 tutorial -
IP telephony devices
Supported devices in Packet Tracer 6.0
PacketTracer6.0sup ortsvarioustelephonydevices:
Cisco7960IPPhone
HomeVOIPdeviceforanalogphonecon ection
CiscoIPCommunicatorsoftwareondesktoporlaptopPC
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
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.
ress"configurationinwhichyouhavetoplacetheCalManager
ExpressIPad ress.
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.