Hai gaesss kali ini gw akan memberitahu ke kalian cara men-Konfigurasi VoIP Menggunakan Vlan
- TOPOLOGI
1. Karena ip Phonenya masih berwarna merah maka kita harus aktifkan ip Phone nya terlebih dahulu, carannya kalian geser atau kalian tarik adaptornya ke power chord ip Phone
2. Jika sudah kalian hubungkan adapternya kalian klik switch dan kalian pilih tab CLI
3. Lalu kalian ikuti script di bawah ini :
Switch#configure terminal
Switch(config) # vlan 10
Switch(config-vlan) # name voice
Switch(config-vlan) # exit
Switch(config) # vlan 20
Switch(config-vlan) # name pc
Switch(config-vlan) # exit
Switch(config) # vlan 30
Switch(config-vlan) # name management
Switch(config-vlan) # exit
Switch(config) # int vlan 30
Switch(config-if) # ip add 30.30.30.1 255.255.255.0
Switch(config-if) # no shutdown
Switch(config-if) # exit
Switch(config) # ip default-gateway 10.10.10.1`
Switch(config) # int fa0/1
Switch(config-if) # sw mode trunk
Switch(config-if) # sw trunk native vlan 30
Switch(config-if) # exit
Switch(config) # int ra fa0/2-4
Switch(config-if-range) # sw acc vlan 20
Switch(config-if-range) # sw voice vlan 10
Switch(config-if-range) # exit
4. Selanjutnya kalian masuk ke router, carannya sama seperti masuk ke switch yaitu klik routernya lalu pilih tab CLI
5. Lalu kalian ikuti ikuti script di bawah ini :
Router>enable
Router # configure terminal
Router(config) # int fa0/0
Router(config-if) # no shutdown
Router(config-if) # exit
Router(config-) # int fa0/0.20
Router(config-subif) # enca dot1q 20
Router(config-subif) # ip add 20.20.20.1 255.255.255.0
Router(config-subif) # ex
Router(config) # int fa0/0.10
Router(config-subif) # enca dot1q 10
Router(config-subif) # ip add 10.10.10.1 255.255.255.0
Router(config-subif) # ex
Router(config) # int fa0/0.30
Router(config-subif) # enca dot1q 30 native
Router(config-subif) # ip add 30.30.30.30.1 255.255.255.0
Router(config-subif) # ex
Router(config) # ip dhcp pool pc
Router(Dhcp-config) # network 20.20.20.0 255.255.255.0
Router(Dhcp-config) # default-router 20.20.20.1
Router(Dhcp-config) # ex
Router(config) # ip dhcp excluded-add 20.20.20.1
Router(config) # ex
Router # conf terminal
Router(config) # ip dhcp pool voice
Router(Dhcp-config) # network 10.10.10.0 255.255.255.0
Router(Dhcp-config) # default-router 10.10.10.1
Router(Dhcp-config) # option 150 ip 10.10.10.1
Router(Dhcp-config) # exit
Router(config) # ip dhcp excluded-add 10.10.10.1
Router(config) # exit
Router # configure terminal
Router(config) # int fa0/0
Router(config-if) # no shutdown
Router(config-if) # exit
Router(config-) # int fa0/0.20
Router(config-subif) # enca dot1q 20
Router(config-subif) # ip add 20.20.20.1 255.255.255.0
Router(config-subif) # ex
Router(config) # int fa0/0.10
Router(config-subif) # enca dot1q 10
Router(config-subif) # ip add 10.10.10.1 255.255.255.0
Router(config-subif) # ex
Router(config) # int fa0/0.30
Router(config-subif) # enca dot1q 30 native
Router(config-subif) # ip add 30.30.30.30.1 255.255.255.0
Router(config-subif) # ex
Router(config) # ip dhcp pool pc
Router(Dhcp-config) # network 20.20.20.0 255.255.255.0
Router(Dhcp-config) # default-router 20.20.20.1
Router(Dhcp-config) # ex
Router(config) # ip dhcp excluded-add 20.20.20.1
Router(config) # ex
Router # conf terminal
Router(config) # ip dhcp pool voice
Router(Dhcp-config) # network 10.10.10.0 255.255.255.0
Router(Dhcp-config) # default-router 10.10.10.1
Router(Dhcp-config) # option 150 ip 10.10.10.1
Router(Dhcp-config) # exit
Router(config) # ip dhcp excluded-add 10.10.10.1
Router(config) # exit
Router # configure terminal
Router(config) # telephony-service
Router(config-telephony) # max-ephone 3
Router(config-telephony) # max-dn 3
Router(config-telephony) # ip source-add 10.10.10.1 port 2000
Router(config-telephony) # exit
Router(config) # telephony-service
Router(config-telephony) # max-ephone 3
Router(config-telephony) # max-dn 3
Router(config-telephony) # ip source-add 10.10.10.1 port 2000
Router(config-telephony) # exit
Router(config-ephone-dn) # number 111
Router(config-ephone-dn) # ex
Router(config) # ephone-dn 2
Router(config-ephone-dn) # number 222
Router(config-ephone-dn) # ex
Router(config) # ephone-dn 3
Router(config-ephone-dn) # number 333
Router(config-ephone-dn) # ex
Router(config) # ephone 1
Router(config-ephone) # type 7960
Router(config-ephone) # button 1:1
Router(config-ephone) # ex
Router(config)#ephone 2
Router(config-ephone) # type 7960
Router(config-ephone) # button 1:2
Router(config-ephone) # ex
Router(config) # ephone 3
Router(config-ephone) # type 7960
Router(config-ephone) # button 1:3
Router(config-ephone) # ex
Router(config-ephone-dn) # ex
Router(config) # ephone-dn 2
Router(config-ephone-dn) # number 222
Router(config-ephone-dn) # ex
Router(config) # ephone-dn 3
Router(config-ephone-dn) # number 333
Router(config-ephone-dn) # ex
Router(config) # ephone 1
Router(config-ephone) # type 7960
Router(config-ephone) # button 1:1
Router(config-ephone) # ex
Router(config)#ephone 2
Router(config-ephone) # type 7960
Router(config-ephone) # button 1:2
Router(config-ephone) # ex
Router(config) # ephone 3
Router(config-ephone) # type 7960
Router(config-ephone) # button 1:3
Router(config-ephone) # ex
6. Jika sudah kalian pergi ke pc kalian lalu pilih ip configuration
7. Jika sudah kalian klik DHCPnya, jika ketika kalian mengkliknya muncul IP maka Dhcp kalian sudah berhasil.
8. Jika kalian sudah melakukan konfigurasi, kalian cek pada IP Phone apakah sudah tertera Nomornya atau belum, caranya kalian klik IP Phone lalu kalian pilih GUI. kalian lihat apakah sudah tertera nomor atau belum, jika sudah ada maka kalian sudah bisa menelepon dari antar IP Phone.
9. Langkah selanjutnya kalian coba menephone dari antar IP Phone, caranya :
- masuk ke IP phone 0 lalu kalian klik gagang telephone, jika sudah kalian ketikan nomor IP Phone 1 dan akan ada tulisan ring out.
- Nah coba kalian buka juga IP Phone 1 dan kalian bisa lihat bahwa gagang telephonenya akan berkedap kedip.
10. jika kita angkat makan di kedua Ip Phone ada tulisan Connection, dan kedua IP Phone pun sudah tersambung satu sama lain.
No comments:
Write comments