voip configuration on cisco routers

Posted: 20 Aug 2015 in CCNA VOICE
Tags: , ,

In this lab we will learn to configure voip over cisco routers.This is a basic lab showing voip configuration in cisco packet tracer.If you are preparing for ccna voice this article will be very helpful for you.Using an example topology diagram here i have shown step wise configuration of voip lab.

voip lab

START CONFIGURING ROUTER:


Router>enable

Router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#host r1

r1(config)#int fa0/0

r1(config-if)#ip add 1.0.0.1 255.0.0.0

r1(config-if)#no shut

r1(config-if)#

r1(config-if)#exit

r1(config)#ip dhcp pool voip

r1(dhcp-config)#network 1.0.0.0 255.0.0.0

r1(dhcp-config)#default-router 1.0.0.1

r1(dhcp-config)#option 150 ip 1.0.0.1

r1(dhcp-config)#exit

Now configure router to interact with telephones.


r1(config)#telephony-service

r1(config-telephony)#max-ephones 5

r1(config-telephony)#max-dn 5

r1(config-telephony)#ip source-address 1.0.0.1 port 2001

r1(config-telephony)#auto assign 4 to 6

r1(config-telephony)#auto assign 1 to 5

r1(config-telephony)#exit

Now its time to assign phone numbers to ip phones:


r1>enable

r1#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

r1(config)#telephony-service

r1(config-telephony-dn)#ephone-dn 2

r1(config-ephone-dn)#number 6666

r1(config-ephone-dn)#exit

r1(config)#telephony-service

r1(config-telephony)#ephone-dn 1

r1(config-ephone-dn)#number 5555

r1(config-ephone-dn)#

Now configure switch:


Switch>enable

Switch#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#int range fa0/1-5

Switch(config-if-range)#switchport mode access

Switch(config-if-range)#switchport voice vlan 1

Now lets go and check inside the phone menu:

voip lab

Explanation of above diagram:


You can clearly see in above diagram that the ip phone number is 5555 and from there i am dialing ip phone which nuber is 6666.You can see in output ring out option which means phone is ringing.Now lets go to other phone and receive the call and see what happens after receiving this dial number.


voip

Explanation of above image:

You can clearly see when i received the call coming from ip phone 5555,my phone showing Connected option  on screen.


AND IF YOU ARE NOT ABLE TO CONFIGURE THIS LAB WATCH THIS


Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.