lalu masukkan router 2811,switch 2960,ip phone
lalu gunakan kabel straight
lalu beri ip router dan nomor telephone(terserah kalian)
lalu klik telephon tsb!,lalu tancapkan konektor ke telepon
lalu setting cli pada router
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)#switchport voice vlan 1
Switch(config-if-range)#exit
Switch(config)#
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip dhcp pool voice
Router(dhcp-config)#network 192.168.1.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.1.4
Router(dhcp-config)#option 150 ip 192.168.1.4
Router(dhcp-config)#exit
Router(config)#ip dhcp excluded-address 192.168.1.4
Router(config)#int fa0/0
Router(config-if)#ip add 192.168.1.4 255.255.255.0
Router(config-if)#no shut
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)#exit
Router(config)#telephony-service
Router(config-telephony)#%DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged 192.168.1.3.
Router(config-telephony)#max-ephones 3
Router(config-telephony)#max-dn 3
Router(config-telephony)#ip source-address 192.168.1.4 port 2000
Router(config-telephony)#auto assign 4 to 6
Router(config-telephony)#auto assign 1 to 5
Router(config-telephony)#exit
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 991(nomor sesuai no telephone)
Router(config-ephone-dn)#
%IPPHONE-6-REGISTER: ephone-1 IP:192.168.1.2 Socket:2 DeviceType:Phone has registered.
Router(config-ephone-dn)#exit
Router(config)#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 093(nomor sesuai no telephone)
Router(config-ephone-dn)#
Router(config-ephone-dn)#
%IPPHONE-6-REGISTER: ephone-2 IP:192.168.1.1 Socket:2 DeviceType:Phone has registered.
Router(config-ephone-dn)#exit
Router(config)#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 11(nomor sesuai no telephone)
Router(config-ephone-dn)#
Router(config-ephone-dn)#
%IPPHONE-6-REGISTER: ephone-3 IP:192.168.1.3 Socket:2 DeviceType:Phone has registered.
lalu cek dan selesai
ConversionConversion EmoticonEmoticon