Setiap jaringan komputer membutuhkan yang namanya konsentrator baik HUB maupun Switch. Ada dua macam switch, yaitu Manageable dan UnManageable. Switch manageable jauh lebih smart dibandingkan switch unmanageable. Switch Manageable dapat kita konfigurasi sesuai dengan design jaringan kita agar lebih efesien dan maksimal, karena switch ini memiliki sistem operasi sendiri layaknya komputer.
Kemampuan Switch Manageable antara lain:
- Penyempitan broadcast jaringan dengan VLAN sehingga akses dapat lebih cepat.
- Pengaturan akses user dengan access-list untuk menjaga keamanan jaringan.
- Pengaturan port
- Mempermudah monitoring traffic dan maintanance network
Beberapa merk swicth manageable antara lain : Cisco, 3COM, Dlink.
Berikut contoh implementasi penggunaan Cisco Switch :
- Pasang kabel consele cisco ke port serial (com) Komputer
- Nyalakan Switch, setelah proses booting selesai akan muncul prompt "Switch>", ketik "enable", prompt akan berubah menjadi "Switch#"
- Konfigurasi Ciscco Switch :
- Setting nama perangkat (hostname)
- ketik : config terminal (enter) , prompt akan berubah menjadi Swtich(config)#
- ketik : hostname SWTICH_01, prompt akan berubah menjadi SWITCH_01(config)#
- Setting banner, user dan password untuk proteksi switch pada saat user akan masuk ke switch via console dan telnet
- masih pada prompt SWITCH_01(config)# , ketik : banner "Latihan Cisco Switch" (enter)
- Untuk setting user dan priveledge password:
- SWITCH_01(config)#username cisco pasword latihan
- SWITCH_01(config)#enable password latihan
- SWITCH_01(config)#line console 0
- SWITCH_01(config-line)#login local
- SWITCH_01(config-line)#exit
- SWITCH_01(config)#line vty 0 4
- SWITCH_01(config-line)#login local
- SWITCH_01(config-line)#exit
- SWITCH_01(config)exit
- SWITCH_01#write memory
- SWITCH_01(config)#username cisco pasword latihan
- Konfigurasi VLAN
- VLAN 100 : SERVER
- VLAN 200 : DIREKSI
- VLAN 300 : ACCOUNTING
- VLAN 400 : TEKNIK
- VLAN 500 : STAFF
- Untuk melakukan konfigurasi VLAN, ikuti langkah-langkah berikut :
- SWITCH_01#vlan database
- SWITCH_01(vlan)#vlan 100 name SERVER
- SWITCH_01(vlan)#vlan 200 name DIREKSI
- SWITCH_01(vlan)#vlan 300 name ACCOUNTING
- SWITCH_01(vlan)#vlan 400 name STAFF
- SWITCH_01(vlan)#exit
- SWITCH_01#config terminal
- SWITCH_01(config)#interface vlan 1
- SWITCH_01(config-if)#no management
- SWITCH_01(config-if)#no shutdown
- SWITCH_01(config-if)#exit
- SWITCH_01(config)#interface vlan 100
- SWITCH_01(config-subif)#descreption VLAN SERVER
- SWITCH_01(config-subif)#ip address 192.168.0.1 255.255.255.0
- SWITCH_01(config-subif)#no shutdown
- SWITCH_01(config-subid)#exit
- SWITCH_01(config)interface vlan 200
- SWITCH_01(config-subif)#descreption VLAN DIREKTUR
- SWITCH_01(config-subif)#no shutdown
- SWITCH_01(config-subid)#exit
- SWITCH_01(config)interface vlan 300
- SWITCH_01(config-subif)#descreption VLAN ACCOUNTING
- SWITCH_01(config-subif)#no shutdown
- SWITCH_01(config-subid)#exit
- SWITCH_01(config)interface vlan 400
- SWITCH_01(config-subif)#descreption VLAN TEKNIK
- SWITCH_01(config-subif)#ip address 192.168.0.100 255.255.255.0
- SWITCH_01(config-subif)#no shutdown
- SWITCH_01(config-subid)#exit
- SWITCH_01(config)interface vlan 500
- SWITCH_01(config-subif)#descreption VLAN STAFF
- SWITCH_01(config-subif)#no shutdown
- SWITCH_01(config-subid)#exit
- SWITCH_01#vlan database
- VLAN 100 : SERVER
- Setting mode interface swtich sebagai access atau trunk
- Interface FastEthernet 0/1 : Access VLAN 100
- Interface FastEthernet 0/2 : Access VLAN 200
- Interface FastEthernet 0/3 : Access VLAN 300
- Interface FastEthernet 0/4 : Access VLAN 400
- Interface FastEthernet 0/5 : Access VLAN 500
- Interface FastEthernet 0/24 : Trunk
- Untuk settingnya sebagai berikut :
- SWITCH_01#config terminal
- SWITCH_01(config)#interface fastethernet 0/1
- SWITCH_01(config-if)#switchport mode access
- SWITCH_01(config-if)#switchport access vlan 100
- SWITCH_01(config-if)#no shutdown
- SWITCH_01(config-if)#exit
- SWITCH_01(config)#interface fastethernet 0/2
- SWITCH_01(config-if)#switchport mode access
- SWITCH_01(config-if)switchport access vlan 200
- SWITCH_01(config-if)#no shutdown
- SWITCH_01(config-if)exit
- SWITCH_01(config)#interface fastethernet 0/3
- SWITCH_01(config-if)#switchport mode access
- SWITCH_01(config-if)#switchport access vlan 300
- SWITCH_01(config-if)#no shutdown
- SWITCH_01(config-if)#exit
- SWITCH_01(config)#interface fastethernet 0/4
- SWITCH_01(config-if)#swtichport mode access
- SWITCH_01(config-if)#switchport mode vlan 400
- SWITCH_01(config-if)#no shutdown
- SWITCH_01(config-if)exit
- SWITCH_01(config)#interface fastethernet 0/24
- SWITCH_01(config-if)#switchport mode trunk
- SWITCH_01(config-if)#switchport trunk encapsulation dot1q
- SWITCH_01(config-if)#switchport trunk allowed vlan all
- SWITCH_01(config-if)#no shutdown
- SWITCH_01(config-if)#exit
- SWITCH_01(config)#exit
- SWITCH_01#write memory
- SWITCH_01#config terminal
- Untuk melihat hasil konfigurasi vlan, ketik : show vlan
- Interface FastEthernet 0/1 : Access VLAN 100
- masih pada prompt SWITCH_01(config)# , ketik : banner "Latihan Cisco Switch" (enter)
1 comments
ijin copas ke blog bunga ya , makasi bang :)
Post a Comment