About

Blogger templates

Rabu, 26 September 2018

Configuration VoIP Menggunakan VLAN

Assalammualaikum...........




Pertama-tama membuat topologi seperti ini terlebih dahulu




Lalu klik2x pada "Switch" Lalu pilih GUI untuk melakuan configurationseperti yang dibawah


Selanjutnya melakukan konfigurasi,caranya ikuti script dibawah ini

enable
config terminal
hostname SW1
Vlan 20
name Voice
Vlan 10
name Data
Vlan 30
name Management
exit
interface vlan 30
ip address 192.168.30.2 255.255.255.0
no shutdown
exit
ip default-gateway 192.168.30.1
interface fa0/1
switchport mode trunk
switchport trunk native vlan 30
no shutdown
exit
interface range fa0/2-4
switchport mode access
switchport access vlan 10
switchport voice vlan 20
no shutdown
exit

 "fungsi native Vlan ini di gunakan agar
mengganti Vlan 10 atau default Vlan yang dapat
mendukung perangkat yang tidak mengenal tag dot1Q.




JIka sudah selesai mengkonfigurasi Switch, Sekarang kita masuk ke Router caranya klik2x pada Router lalu ke GUI untuk melakukan configuration seperti yang dibawah


Script yang dibawah ini adalah untuk Mengkonfigurasi interface pada masing-masing Vlan dan Mengkonfigurasi DHCP

enable
config terminal
hostname "R1"
interface fa0/0
no shutdown
exit
interface fa0/0.10
encapsulation dot1Q 10
ip address 192.168.10.1 255.255.255.0
no shutdown
exit
interface fa0/0.20
encapsulation dot1Q 20
ip address 192.168.20.1 255.255.255.0
no shutdown
exit
interface fa0/0.30
encapsulation dot1Q 30 native
ip address 192.168.30.1 255.255.255.0
no shutdown
exit
ip dhcp pool Data
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
exit
ip dhcp excluded-address 192.168.10.1
ip dhcp pool Voice
network 192.168.20.0 255.255.255.0
default-router 192.168.20.1
option 150 ip 192.168.20.1
exit
ip dhcp excluded-address 192.168.20.1
exit



config terminal
telephony-service
max-ephones 3
max-dn 3
ip source-address 192.168.20.1 port 2000
exit
            "konfigurasi dial number"
ephone-dn 1
number 111
exit
ephone-dn 2
number 112
exit
ephone-dn 3
number 113
exit



"Dikarnakan kita membuat dhcp pool nya kita bisa liat dhcp
di pc tersebut,dan berhasil mendaptkan ip dhcp nya"
kita bisa lihat juga di ip phone nya nah disini terliat ip addressnya




Melihat konfigurasi Ini lah hasil konfigurasi yang tadi, Cara ingin melihat konfigurasi ketik "Show Run" 




Konfigurasi pada masing-masing ephone dan type ephone.

Melihat konfigurasi

R1#
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#ephone 1
R1(config-ephone)#type ?
  7960  Cisco IP Phone 7960
  CIPC  Cisco IP Phone CIPC
  ata   ATA  phone emulation for analog phone
R1(config-ephone)#type 7960
R1(config-ephone)#button 1:1
R1(config-ephone)#
%IPPHONE-6-REGISTER: ephone-1 IP:192.168.20.2 Socket:2 DeviceType:Phone has registered.

R1(config-ephone)#ephone 2
R1(config-ephone)#type 7960
R1(config-ephone)#button 1:2
R1(config-ephone)#
%IPPHONE-6-REGISTER: ephone-2 IP:192.168.20.4 Socket:2 DeviceType:Phone has registered.

R1(config-ephone)#ephone 3
R1(config-ephone)#type 7960
R1(config-ephone)#button 1:3
R1(config-ephone)#
%IPPHONE-6-REGISTER: ephone-3 IP:192.168.20.3 Socket:2 DeviceType:Phone has registered.

R1(config-ephone)#
R1(config-ephone)#


 Jika semua konfigurasi telah selesai IP Phone0 bisa menelpon pada IP Phone2 seperti pada gambar di bawah.




Bukan hanya IP Phone0 dan IP Phone2 saja yg terhubung tapi PC.0 dan PC.2 terhubung dengan cara ping IP nya contoh:ping 192.168.10.3



                                                                                                                                            


                                                                                                                                      TerimaKasih........

0 komentar:

Posting Komentar

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Affiliate Network Reviews