1. Router > enable
  2. Router # conf
  3. Router (config) hostname CME
  4. CME (config) # interface fa0/0.10
  5. CME (config-subif) # encap dot1q 10
  6. CME (config-subif) # ip add 192.168.0.1 255.255.255.0
  7. CME (config) # interface fa0/0.20
  8. CME (config-subif) # encap dot1q 20
  9. CME (config-subif) # ip add 192.168.1.1 255.255.255.0
  10. CME (config-subif) # exit
  11. CME (config) # ip dhcp pool data
  12. CME (dhcp-config) # net 192.168.0.0 255.255.255.0
  13. CME (dhcp-config) # def 192.168.0.1
  14. CME (dhcp-config) # exit
  15. CME (config) # ip dhcp pool voice
  16. CME (dhcp-config) # net 192.168.1.0 255.255.255.0
  17. CME (dhcp-config) # def 192.168.1.1
  18. CME (dhcp-config) # option 150 ip 192.168.1.1
  19. CME (dhcp-config) # exit
  20. CME (config) # ip dhcp excluded-address 192.168.0.1
  21. CME (config) # ip dhcp excluded-address 192.168.1.1
  22. CME (config) # telephony-service
  23. CME (config-telephony) # max-ephone 2
  24. CME (config-telephony) # max-dn 2
  25. CME (config-telephony) # auto assign 1 to 2
  26. CME (config-telephony) # ip source 192.168.1.1 port 3000
  27. CME (config-telephony) # ephone-dn 1
  28. CME (config-ephone-dn) # number 111
  29. CME (config-ephone-dn) # ephone-dn 2
  30. CME (config-ephone-dn) # number 112
  31. CME (config-ephone-dn) # do wr
  32. Switch> enable
  33. Switch# conf
  34. Switch(config)# host SW
  35. SW(config)# vlan 10
  36. SW(config-vlan)# name data
  37. SW(config-vlan)# vlan 20
  38. SW(config-vlan)# name voice
  39. SW(config-vlan)# exit
  40. SW(config)# interface range fa0/2-5
  41. SW(config-if-range)# switchport mode access
  42. SW(config-if-range)# switchport voice vlan 20
  43. SW(config-if-range)# interface range fa0/4
  44. SW(config-if)# switchport mode access
  45. SW(config-if)# switchport access vlan 10
  46. SW(config-if)# exit
  47. SW(config)# interface range fa0/1
  48. SW(config-if)# switchport mode trunk
  49. SW(config-if)# switchport trunk allowed vlan 1,10,20
  50. SW(config-if)# do wr

Search

About

SMK Darut Taqwa Purwosari

SMK Pusat Keunggulan Berbasis Pesantren dan School Religious Culture

Gallery