You are on page 1of 17

Packet Tracer 6.

1 tutorial - IP
telephony basic configuration
Tutorial description
Thi
stut
ori
ali
sdesi
gnedt
ohel
pyout
oconfi
gur
ethenewv
oiceov
eri
p(v
oip)f
eat
uresav
ail
abl
einPack
et

Tr
acer6.
0.I
twi
l
lshowy
out
hes
tepsr
equi
redt
o:

• Confi
gur
eCal lManagerEx pressTM ona2811rout
er,
• Usethevari
oust elephonydevi
ces
• Set
updialpeers
• ConnectCiscoTM I
Pphonesaswel lasanal
oguephoneont
henet
wor
k.

Network diagram

Not
e:Connectonl
yIPPhone1att
hebegi
nni
ngoft
hel
ab.I
PPhone2mus
tbedi
sconnect
ed.

Tasks 1 : Configure interface FastEthernet


0/0 and DHCP server on RouterA (2811
router)
• #Configur
etheFA0/
0int
erf
ace#

• Rout
erA>enabl
e
• Rout
erA#configur
eter
minal

• Rout
erA(
config)
#int
erf
aceFas
tEt
her
net
0/0

• Rout
erA(
config-
if
)#i
paddr
ess192.
168.
10.
1255.
255.
255.
0

• Rout
erA(
config-
if
)#nos
hut
down

TheDHCPser
veri
sneededt
opr
ovi
deanI
Padr
essandt
heTFTPs
erv
erl
ocat
i
onf
oreachI
Pphone

connect
edt
othenet
wor
k.

• Rout
erA(
config)
#ipdhcppool
VOI
CE#Cr
eat
eDHCPpool
namedVOI
CE

• Rout
erA(
dhcp-
config)
#net
wor
k192.
168.
10.
0255.
255.
255.
0#DHCPnet
wor
knet
wor
k

192.
168.
10wi
t
h/24mask#

• Rout
erA(
dhcp-
config)
#def
aul
t
-rout
er192.
168.
10.
1#Thedef
aul
trout
erI
Paddr
ess
#

• Rout
erA(
dhcp-
config)
#opt
i
on150i
p192.
168.
10.
1#Mandat
oryf
orv
oipc
onfi
gur
ati
on.

Af
tert
hec
onfi
gur
ati
on,wai
tamomentandc
heckt
hat‘
I
PPhone1’
hasr
ecei
vedanI
Paddr
essby

pl
aci
ngy
ourcur
sorov
ert
hephoneunt
i
laconfigur
ati
onsummar
yappear
s.

Tasks 2: Configure the Call Manager


Express telephony service on RouterA
Youmus
tnowc
onfi
gur
etheCal
lManagerExpr
esst
elephonyser
viceonRout
erAt
oenabl
evoi
pon

y
ournet
wor
k.

• Rout
erA(
config)
#tel
ephony
-ser
vice#Confi
gur
ingt
her
out
erf
ort
elephonyser
vices#

• Rout
erA(
config-
tel
ephony)
#max-
dn5#Defi
net
hemaxi
mum numberofdi
rect
orynumber
s#

• Rout
erA(
config-
tel
ephony)
#max-
ephones5#Definet
hemaxi
mum numberofphones
#

• Rout
erA(
config-
tel
ephony)
#ipsour
ce-
addr
ess192.
168.
10.
1por
t2000#I
PAddr
esssour
ce#

• Rout
erA(
config-
tel
ephony)
#aut
oassi
gn4t
o6#Aut
omat
i
cal
l
yassi
gni
ngextnumber
stobut
tons#

• Rout
erA(
config-
tel
ephony)
#aut
oassi
gn1t
o5#Aut
omat
i
cal
l
yassi
gni
ngextnumber
stobut
tons#
Task 4: Configure a voice vlan on SwitchA
Appl
ythef
oll
owi
ngc
onfi
gur
ati
ononSwi
t
chAi
nter
faces.Thi
sconfigur
ati
onwi
l
lsepar
atev
oiceanddat
a

t
raffici
ndi
ffer
entvl
ansonSwi
t
chA.dat
apack
etswi
l
lbecar
ri
edont
heaccessvl
an.

• Swi
t
chA(
confi
g)#i
nter
facer
angef
a0/
1–5#Confi
gur
eint
erf
acer
ange#

• Swi
t
chA(
confi
g-i
f
-range)
#swi
t
chpor
tmodeacc
ess

• Swi
t
chA(
confi
g-i
f
-range)
#swi
t
chpor
tvoi
cevl
an1#Defi
net
heVLANonwhi
chv
oicepack
etswi
l
l

behandl
ed#

Task 5 : Configure the phone directory for


IP Phone 1
Al
t
hough‘
I
PPhone1’
isal
readyc
onnect
edt
oSwi
t
chA,i
tneedsaddi
t
ionnal
configur
ati
onbef
orebeei
ng

abl
etocommuni
cat
e.Youneedt
oconfi
gur
eRout
erACMEt
oassi
gnaphonenumbert
othi
sIPphone.

• Rout
erA(
config)
#ephone-
dn1#Defini
ngt
hefir
stdi
rect
oryent
ry#

• Rout
erA(
config-
ephone-
dn)
#number54001#Assi
gnt
hephonenumbert
othi
sent
ry#

Task 5: Verify the configuration


Ens
uret
hatt
heI
PPhoner
ecei
vesanI
PAddr
essandat
hephonenumber54001f
rom Rout
erA(
thi
s

cant
akeas
hor
twhi
l
e).
Task 6: Configure the phone directory for IP
Phone 2
ConnectI
PPhone2t
oSwi
t
chAandpowert
hephoneONusi
ngt
hepoweradapt
er(
Phy
sical
tab)
.

• Rout
erA(
config)
#ephone-
dn2#Defini
ngt
hefir
stdi
rect
oryent
ry#

• Rout
erA(
config-
ephone-
dn)
#number54002#Assi
gnt
hephonenumbert
othi
sent
ry#

Task 7: Verify the configuration


Ens
uret
hatt
heI
PPhone2r
ecei
vesanI
PAddr
essandat
hephonenumber54002f
rom Rout
erA(
thi
s

cant
akeas
hor
twhi
l
e).Samepr
ocedur
east
askn°
5.

Di
al54001andc
hecki
fIPphone1cor
rect
l
yrecei
vest
hecal
l
.
Packet Tracer 6.1 tutorial - IP
telephony advanced configuration
Tutorial description
Thi
stut
ori
alwi
l
lgui
dey
ouf
oradv
anc
edv
oipconfigur
ati
oni
nPack
etTr
acer6.
2net
wor
ksi
mul
ati
on

sof
twar
e.Basedont
heCi
sco'
sHi
erar
chi
cal
Net
wor
kDesi
gnModel
,thi
ssi
mul
atednet
wor
khasv
oipcal
l

r
out
i
ngf
eat
uresenabl
edbet
weent
woc
ampusbui
l
dingswi
t
hnet
wor
kser
vices(
DNS,DHCP.
..
)

cent
ral
i
zedi
nthedat
acent
er.

I
nar
eal
wor
ldenvi
ronment
,theCUCMEr
out
erwoul
dal
sobel
ocat
edi
nthedat
acent
er.Howev
er,Pack
et

Tr
acer6.
2doesn'
tseemst
osuppor
tthi
sconfigur
ati
onasI
Pphonesdon'
tregi
st
erandr
ecei
veav
ali
d

phonenumber
.

Network diagram
Configuration tasks
CME-3 configuration
I
Pconfigur
ati
on

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

Tel
ephonyser
viceconfigur
ati
on

telephony-service

max-ephones 5

max-dn 5

ip source-address 192.168.69.254 port 2000

auto assign 4 to 6

auto assign 1 to 5

Ephonedecl
arat
ionandnumberassi
gnment

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
I
Pconfigur
ati
on
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

Tel
ephonyser
viceconfigur
ati
on

telephony-service

max-ephones 42

max-dn 144

ip source-address 192.168.65.3 port 2000

auto assign 4 to 6

auto assign 1 to 5

Ephonedecl
arat
ionandnumberassi
gnment

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
Di
alpeer
sar
eus
edt
oident
i
fycal
lsour
ceanddes
ti
nat
i
onendpoi
ntsandt
odefinet
hec
har
act
eri
st
ics

appl
i
edbet
weent
woCMEr
out
ers.Thedes
ti
nat
i
onpat
ter
n,c
onfigur
edi
nadi
alpeerbyusi
ngt
he

des
ti
nat
i
on-
pat
ter
ncommand,ass
oci
atesadi
al
eds
tri
ngwi
t
has
peci
fict
elephonydevi
ce.I
fthedi
al
ed

s
tri
ngmat
chest
hedes
ti
nat
i
onpat
ter
n,t
hec
alli
srout
edt
other
emot
edi
alpeer
s.Youhav
etoc
onfi
gur
ea

des
ti
nat
i
onpat
ter
nforeac
hvoi
ce-
net
wor
kdi
alpeert
haty
oudefineony
ournet
wor
krout
ers.

Thedes
ti
nat
i
onpat
ter
ncanbeei
t
herac
ompl
etet
elephonenumberorapar
ti
alt
elephonenumberwi
t
h

wi
l
dcar
ddi
gi
ts,r
epr
esent
edbyaper
iod(
.)char
act
er.Eac
h".
"repr
esent
sawi
l
dcar
dforani
ndi
vi
dual
digi
t
t
hatt
heor
igi
nat
i
ngr
out
erexpect
stomat
ch.Forex
ampl
e,i
fthedes
ti
nat
i
onpat
ter
nforadi
alpeeri
s

definedas"
555.
..
."
,thenanydi
al
eds
tri
ngbegi
nni
ngwi
t
h555,pl
usatl
eas
tfouraddi
t
ional
digi
t
s,mat
ches

t
hisdi
alpeer
.

CME-
3di
al-
peerconfigur
ati
on

dial-peer voice 1 voip

destination-pattern 1...

session target ipv4:192.168.65.254

CMEdi
al-
peerconfigur
ati
on

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
Pack
etTr
acer6.
0suppor
tsv
ari
oust
elephonydevi
ces:

• Ci
sco7960I
PPhone
• HomeVOIPdevi
ceforanal
ogphoneconnect
i
on
• Ci
scoI
PCommuni cat
orsof
twar
eondesktoporl
apt
opPC

Cisco 7960 IP Phone

Power up the phone


Twoopt
i
onsar
eav
ail
abl
einpack
ett
racerf
orpower
ingupt
he7960I
PPhone:

• Ext
ernal
poweradapt
er
• PoE(onl
ywit
h3560multi
l
ayerswi
t
ch)

I
fyouc
hoos
etous
etheext
ernal
poweradapt
er,got
othephy
sic
alt
abanddr
aganddr
opt
he

"
IP_PHONE_POWER_ADAPTER"t
othebot
tom l
eftconnect
oroft
he7960I
PPhone.

I
fyouwantt
ouset
hePoEf
unct
i
onnal
i
tyoft
heCi
sco3560swi
t
ch,appl
ythef
oll
owi
ngc
onfi
gur
ati
ont
othe

swi
t
chi
nter
fac
econnect
edt
othephone:

Swi
t
ch(
config)
#intf
ast
Ether
net0/
1

Swi
t
ch(
config-
if
)#poweri
nl
ineaut
o
Place calls
The7960I
PPhonedoesnothav
eanyc
onfi
gur
abl
eopt
i
ons.
Itr
ecei
vesi
t
'sI
Paddr
esst
hroughDHCPand

i
t
'sl
i
nenumberf
rom t
heCal
lManagerExpr
essser
ver
.

I
ntheGUIt
ab,y
oucanpl
aceacal
l
,answeracal
l
,ands
endDo,Re,andMi
not
est
other
eci
pi
entphone.

Topl
aceacal
lent
ert
her
eci
pi
ent
'
sli
nenumberfir
stusi
ngt
hek
eypadandt
hencl
i
ckont
hehandsett
odi
al

out
.

Toansweraphonecal
lont
heanal
ogphone,cl
i
ckont
hehandsetwhent
hephonei
sri
ngi
ng.Whi
l
ethe

l
i
nei
sconnect
ed,y
oucansendDo,Re,orMit
other
eci
pi
entbypr
essi
ngt
her
espect
i
vebut
tons.I
nor
der

t
oheart
hes
ounds,bes
ureSoundi
senabl
edi
nPr
efer
ences
.Toendac
all
,cl
i
ckont
hehands
et.

Home VOIP device


TheHomeVoI
Ponl
yhasa"
Ser
verAddr
ess
"configur
ati
oni
nwhi
chy
ouhav
etopl
acet
heCal
lManager

Expr
essI
Paddr
ess.

Cisco IP Communicator software


TheI
PCommuni
cat
ors
oft
war
eisi
nst
all
edondesk
toporl
apt
openddevi
ces.Configur
ethecomput
er

f
orDHCPaddr gnmentandus
essassi ethe"
Deskt
op"t
abt
oacc
esst
heI
PCommuni
cat
ors
oft
war
e.The

sof
twar
ewi
l
lrecei
vei
t
'sphonel
i
nenumberf
rom t
heCi
scoCal
lManagerExpr
essser
ver
.

Topl
aceaphonec
all
,ent
ert
henumberoft
her
eci
pi
entphoneusi
ngt
hek
eypadandt
hencl
i
ckt
heDi
al

but
ton.Oncet
her
eci
pi
enthasanswer
edt
hecal
l
,thes
tat
usmessagewi
l
lindi
cat
ethatt
heCi
scoI
P

Communi
cat
ori
sconnect
edandagr
eenl
i
ghtwi
l
lshow.Whi
l
ethecal
li
sst
i
llact
i
ve,cl
i
ckont
heDo,Re,or

Mibut
tonst
osendt
her
espect
i
vesoundst
other
eci
pi
ent
.Toendt
hec
all
,cl
i
ckt
heEndCal
lbut
ton.Fort
he

bes
tpossi
bl
eexper
iencewhi
l
emaki
ngcal
l
s,bes
uret
hatSoundi
senabl
edi
nPr
efer
ences
.

I
fyouwantconfigur
etheCi
scoI
PCommuni
cat
ort
ous
eadi
ffer
entTFTPser
verf
rom t
hedef
aul
tTFTP

ser
ver
,fol
l
owt
hes
est
eps.Ont
heupperr
ight
-handc
orneroft
heCi
scoI
PCommuni
cat
orGUI
,ther
ear
e

f
ourbut
tonsabov
ethewor
ds"
CiscoI
PPhone.
"Cl
i
ckont
hefir
stbut
tonf
rom t
hel
eftt
oopenacont
ext
menuandt
hens
electPr
efer
enc
es.Sel
ectt
heopt
i
onUs
ethes
eTFTPSer
ver
s:andt
henent
ert
heI
P

addr
essoft
heTFTPser
vert
haty
ouwi
sht
ous
e.

You might also like