Simulasi VoIP TKJ SMK Darut Taqwa - SMK Darut Taqwa Purwosari

SMK Darut Taqwa Purwosari

DPIB - TKR - TSM - TJKT - DKV - BD
linktr.ee/smkdt

Home Top Ad

Responsive Ads Here

26 January 2022

Simulasi VoIP TKJ SMK Darut Taqwa

 Simulasi VoIP TKJ SMK Darut Taqwa


Router > enable
Router # conf
Router (config) hostname CME

CME (config) # interface fa0/0.10
CME (config-subif) # encap dot1q 10
CME (config-subif) # ip add 192.168.0.1 255.255.255.0
CME (config) # interface fa0/0.20
CME (config-subif) # encap dot1q 20
CME (config-subif) # ip add 192.168.1.1 255.255.255.0
CME (config-subif) # exit

CME (config) # ip dhcp pool data
CME (dhcp-config) # net 192.168.0.0 255.255.255.0
CME (dhcp-config) # def 192.168.0.1
CME (dhcp-config) # exit

CME (config) # ip dhcp pool voice
CME (dhcp-config) # net 192.168.1.0 255.255.255.0
CME (dhcp-config) # def 192.168.1.1
CME (dhcp-config) # option 150 ip 192.168.1.1
CME (dhcp-config) # exit

CME (config) # ip dhcp excluded-address 192.168.0.1
CME (config) # ip dhcp excluded-address 192.168.1.1

CME (config) # telephony-service
CME (config-telephony) # max-ephone 2
CME (config-telephony) # max-dn 2
CME (config-telephony) # auto assign 1 to 2
 
CME (config-telephony) # ip source 192.168.1.1 port 3000
CME (config-telephony) # ephone-dn 1
CME (config-ephone-dn) # number 111
CME (config-ephone-dn) # ephone-dn 2
CME (config-ephone-dn) # number 112
CME (config-ephone-dn) # do wr

Switch> enable
Switch# conf
Switch(config)# host SW

SW(config)# vlan 10
SW(config-vlan)# name data
SW(config-vlan)# vlan 20
SW(config-vlan)# name voice
SW(config-vlan)# exit

SW(config)# interface range fa0/2-5
SW(config-if-range)# switchport  mode  access
SW(config-if-range)# switchport  voice  vlan 20

SW(config-if-range)# interface range fa0/4
SW(config-if)# switchport  mode  access
SW(config-if)# switchport  access vlan 10
SW(config-if)# exit

SW(config)# interface range fa0/1
SW(config-if)# switchport  mode  trunk
SW(config-if)# switchport  trunk allowed vlan 1,10,20

SW(config-if)# do wr



No comments:

Post a Comment