Basic VoIP on Router Cisco Series 2811
This post about prototype VoIP for Small Office Home Office.
A. Topologi
B. Requirement :
- Router 2811
- Switch 2960
- IP Phone
- Laptop
- PC
- Voice Gateway (Home Voip) + Analog Phone
C. Configuration Router 2811
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R-VoIP
R-VoIP(config)#interface fastEthernet 0/0
R-VoIP(config-if)#ip address 172.16.10.1 255.255.255.0
R-VoIP(config-if)#no shutdown
R-VoIP(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
R-VoIP(config-if)#exit
R-VoIP(config)#ip dhcp pool voicelab
R-VoIP(dhcp-config)#network 172.16.10.0 255.255.255.0
R-VoIP(dhcp-config)#default-router 172.16.10.1
R-VoIP(dhcp-config)#option 150 ip 172.16.10.1
R-VoIP(dhcp-config)#exit
R-VoIP(config)#telephony-service
R-VoIP(config-telephony)#max-dn 25
R-VoIP(config-telephony)#max-ephones 25
R-VoIP(config-telephony)#ip source-address 172.16.10.1 port 2000
R-VoIP(config-telephony)#auto assign 1 to 25
R-VoIP(config-telephony)#exit
R-VoIP(config)#ephone-dn 1
R-VoIP(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 1.1, changed state to up
R-VoIP(config-ephone-dn)#number 6000
R-VoIP(config-ephone-dn)#exit
R-VoIP(config)#ephone-dn 2
R-VoIP(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 2.1, changed state to up
R-VoIP(config-ephone-dn)#number 7000
R-VoIP(config-ephone-dn)#exit
R-VoIP(config)#ephone-dn 3
R-VoIP(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 3.1, changed state to up
R-VoIP(config-ephone-dn)#number 8000
R-VoIP(config-ephone-dn)#exit
R-VoIP(config)#ephone-dn 4
R-VoIP(config-ephone-dn)#%LINK-4-UPDOWN: Interface ephone_dsp DN 4.1, changed state to up
R-VoIP(config-ephone-dn)#number 9000
R-VoIP(config-ephone-dn)#exit
R-VoIP(config)#do wr
D. Configuration Switch 2940
Switch>enable
Switch#hostname SW-VoIP
SW-VoIP#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW-VoIP(config)#interface range fastEthernet 0/1–25
SW-VoIP(config-if-range)#switchport mode access
SW-VoIP(config-if-range)#switchport voice vlan 1
SW-VoIP(config-if-range)#exit
Switch(config)#do wr
E. Extension Client (All Device Client).
- Check Extension Laptops
2. Check Extension IP Phone
3. Check Extension Phone Analog
4. Check Extension PC
F. Test Call All Extension
- Extension 6000 (Laptop) Call to Extension 7000 (IP Phone)
2. Extension 8000 (Voip Home x Phone Analog) Call to Extension 9000 (PC)
*And try call to other extension number for make sure all device running well.