Sunday, September 1, 2019

Konfigurasi Cloud dan Voip

Pada kesempatan kali ini saya akan sharing / memberikan cara konfigurasi Cloud Voip.tanpa perlu menunggu lagi mari kita simak untuk langkah-langkahnya dibawah ini :

  1. Buatlah topologi nya seperti gambar dibawah ini

2.Konfigurasi Switch 0,1

Switch>en
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#int range fa0/1-24
Switch(config-if-range)#sw mode acc
Switch(config-if-range)#sw voice vlan 1
Switch(config-if-range)#ex

Switch(config)#

3.Konfigurasi R0
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ip dhcp pool voice
Router(dhcp-config)#net 192.168.10.0 255.255.255.128
Router(dhcp-config)#default-router 192.168.10.1
Router(dhcp-config)#option 150 ip 192.168.10.1
Router(dhcp-config)#dns-server 8.8.8.8
Router(dhcp-config)#ex
Router(config)#ip dhcp excluded-add 192.168.10.1
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.10.1 255.255.255.128
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#ex
Router(config)#telephony-service
Router(config-telephony)#max-ephone 5
Router(config-telephony)#max-dn 5
Router(config-telephony)#ip source-add 192.168.10.1 port 2000
Router(config-telephony)#auto assign 4 to 6
Router(config-telephony)#auto assign 1 to 5
Router(config-telephony)#ex
Router(config)#ephone-dn 1
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 1.1, changed state to up

Router(config-ephone-dn)#number 1000
Router(config-ephone-dn)#ephone-dn 2
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 2.1, changed state to up

Router(config-ephone-dn)#number 1001
Router(config-ephone-dn)#
%IPPHONE-6-REGISTER: ephone-1 IP:192.168.10.2 Socket:2 DeviceType:Phone has registered.

%IPPHONE-6-REGISTER: ephone-2 IP:192.168.10.5 Socket:2 DeviceType:Phone has registered.

Router(config-ephone-dn)#ephone-dn 3
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 3.1, changed state to up

Router(config-ephone-dn)#number 1002
Router(config-ephone-dn)#ephone-dn 4
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 4.1, changed state to up

Router(config-ephone-dn)#number 1003
Router(config-ephone-dn)#
%IPPHONE-6-REGISTER: ephone-3 IP:192.168.10.3 Socket:2 DeviceType:Phone has registered.

Router(config-ephone-dn)#ephone-dn 5
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 5.1, changed state to up

Router(config-ephone-dn)#number 1004
Router(config-ephone-dn)#ex
Router(config)#int se0/0/0
Router(config-if)#encapsulation frame-relay ietf
Router(config-if)#frame-relay LMI-type ansi
Router(config-if)#clock rate 56000
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up

Router(config-if)#int se0/0/0 point-to-point
Router(config-if)#ip add 192.168.100.1 255.255.255.192
Router(config-if)#frame-relay interface-dlci 101
Router(config-if)#ex
Router(config)#route eigrp 1
Router(config-router)#net 192.168.10.0
Router(config-router)#net 192.168.100.0
Router(config-router)#no auto-summary
Router(config-router)#ex
Router(config)#route rip
Router(config-router)#version 2
Router(config-router)#no auto-summary
Router(config-router)#net 192.168.10.0
Router(config-router)#net 192.168.100.0
Router(config-router)#ex
Router(config)#dial-peer voice 1 voip
Router(config-dial-peer)#destination-pattern 2...
Router(config-dial-peer)#session target ipv4:192.168.100.2
Router(config-dial-peer)#ex
Router(config)#

4.Konfigurasi R1
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ip dhcp pool voice
Router(dhcp-config)#net 192.168.20.0 255.255.255.240
Router(dhcp-config)#default-router 192.168.20.1
Router(dhcp-config)#option 150 ip 192.168.20.1
Router(dhcp-config)#dns-server 8.8.8.8
Router(dhcp-config)#ex
Router(config)#ip dhcp excluded-add 192.168.20.1
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.20.1 255.255.255.240
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#ex
Router(config)#telephony-service
Router(config-telephony)#max-ephone 5
Router(config-telephony)#max-dn 5
Router(config-telephony)#ip source-add 192.168.20.1 port 2000
Router(config-telephony)#auto assign 4 to 6
Router(config-telephony)#auto assign 1 to 5
Router(config-telephony)#ex
Router(config)#ephone-dn 1
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 1.1, changed state to up

Router(config-ephone-dn)#number 2000
Router(config-ephone-dn)#ephone-dn 2
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 2.1, changed state to up

Router(config-ephone-dn)#number 2001
Router(config-ephone-dn)#
%IPPHONE-6-REGISTER: ephone-1 IP:192.168.20.2 Socket:2 DeviceType:Phone has registered.

%IPPHONE-6-REGISTER: ephone-2 IP:192.168.20.3 Socket:2 DeviceType:Phone has registered.

Router(config-ephone-dn)#ephone-dn 3
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 3.1, changed state to up

Router(config-ephone-dn)#number 2002
Router(config-ephone-dn)#ephone-dn 4
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 4.1, changed state to up

Router(config-ephone-dn)#number 2003
Router(config-ephone-dn)#ephone-dn 5
Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 5.1, changed state to up

Router(config-ephone-dn)#number 2004
Router(config-ephone-dn)#ex
Router(config)#int se0/0/0
Router(config-if)#encapsulation frame-relay ietf
Router(config-if)#frame-relay LMI-type ansi
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up

Router(config-if)#int se0/0/0 point-to-point
Router(config-if)#ip add 192.168.100.2 255.255.255.224
Router(config-if)#frame-relay interface-dlci 101
Router(config-if)#ex
Router(config)#route eigrp 1
Router(config-router)#net 192.168.20.0
Router(config-router)#net 192.168.100.0
Router(config-router)#no auto-summary
Router(config-router)#ex
Router(config)#route rip
Router(config-router)#version 2
Router(config-router)#no auto-summary
Router(config-router)#net 192.168.20.0
Router(config-router)#net 192.168.100.0
Router(config-router)#ex
Router(config)#dial-peer voice 1 voip
Router(config-dial-peer)#destination-pattern 1...
Router(config-dial-peer)#session target ipv4:192.168.100.1
Router(config-dial-peer)#ex
Router(config)#
%IPPHONE-6-REGISTER: ephone-3 IP:192.168.20.4 Socket:2 DeviceType:Phone has registered.

%IPPHONE-6-REGISTER: ephone-4 IP:192.168.20.5 Socket:2 DeviceType:Phone has registered.

%IPPHONE-6-REGISTER: ephone-5 IP:192.168.20.6 Socket:2 DeviceType:Phone has registered.

5.Setting Cloud
  • Serial 0 > isi dlci dengan "101" dan name nya bebas "bekasi" > di bagian LMI ubah type nya menjadi "ANSI".
  • serial 1 > isi dlci dengan "101" dan name nya bebas "karawang" > di bagian LMI ubah type nya menjadi "ANSI".
  • Frame relay > di bagian kiri pilih serial 0 dan bagian kanan pilih serial 1.


0 comments:

Post a Comment