Pencarian

Rabu, 17 September 2008

Konfigurasi Membuat VLAN

Mungkin ini judul pernah gw posting di alamat ini (http://chudil.blog.friendster.com/), ya gpp dah yang penting saya bisa berbagi ilmu kepada semua teman yang mengunjungi blog saya ini. adapun di sin saya masih belajar dan masih banyak terima kritikan yang DAN INI KONFIGURASI UNTUK VLAN

Menkonfigurasi switch untuk membuat VLAN

Switch>
Switch#config terminal
Switch(Config)#hostname Switch_A
Switch_A(Config)#line con 0
Switch_A(Config_Line)#password cisco
Switch_A(Config_Line)#login
Switch_A(Config_Line)#line vty 0 15
Switch_A(Config_Line)#password cisco
Switch_A(Config_Line)#login
Switch_A(Config_Line)#exit

Switch_A(Config)#enable password cisco
Switch_A(Config)#enable secret class

Switch_A(Config)#interface VLAN 1
Switch_A(Config_if)#ip address 192.168.1.2 255.255.255.0 ///ip address yang digunakan Switch_A
Switch_A(Config_if)#exit ///dan subnet nya

Switch_A(Config)#ip default-gateway 192.168.1.1
Switch_A(Config)#exit
Switch_A#sh run

Konfigurasi dan membuat vlan

Switch_A#vlan database
Switch_A(vlan)#vlan 2 name Accounting
Switch_A(vlan)#vlan 3 name Marketing
Switch_A(vlan)#exit
Switch_A#

Insert port yang akan digunakan pada setiap vlan

Accounting
Switch_A#configure terminal
Switch_A(config)# interface fastethernet 0/2 ////insert port 2
Switch_A(config_if)#switchport mode access
Switch_A(config_if)#switchport access vlan Accounting ///pada vlan Accounting
Switch_A(config_if)#end

Marketing
Switch_A#configure terminal
Switch_A(config)# interface fastethernet 0/3 ///insert port 3
Switch_A(config_if)#switchport mode access
Switch_A(config_if)#switchport access vlan Marketing ///pada vlan Marketing
Switch_A(config_if)#end

Konfigurai Trunking untuk VLAN

Switch_A#configure terminal
Switch_A(config)#interface fastethernet 0/1
Switch_A(config-if)#switchport mode trunk
Switch_A(config-if)#end
Switch_A#

Konfigurasi router untuk VLAN

Router>
Router>enable
Router#
Router#configure terminal
Router(config)#

Router(config)#hostname Lab_A
Lab_A (config)#
Lab_A (config)#enable secret class
Lab_A (config)#enable password cisco

Lab_A (config)#line console 0
Lab_A (config-line)#login
Lab_A (config-line)#password cisco
Lab_A (config-line)#line vty 0 4
Lab_A (config-line)#login
Lab_A (config-line)#password cisco
Lab_A (config-line)#exit

Lab_A (config)#
Lab_A (config)#interface fastethernet 0/0
Lab_A (config-if)#ip address 192.168.0.254 255.255.255.0
Lab_A (config-if)#no shut
Lab_A (config-if)#exit
Lab_A (config)#
Lab_A (config)#interface fastethernet 0/1
Lab_A (config-if)#ip address 172.27.0.254 255.255.0.0

Lab_A (config-if)#no shut
Lab_A (config-if)#exit
Lab_A (config)#
Lab_A (config)#router rip

Lab_A (config-router)#
Lab_A (config-router)#network 192.168.0.254
Lab_A (config-router)#network 172.27.0.254
Lab_A (config-router)#exit
Lab_A (config)#
Lab_A (config)# exit

Lab_A#
Lab_A#copy running-config startup-config
Lab_A#show protocol
Lab_A#show run


2 komentar:

5usp3ct3d mengatakan...

nih dia, posting yang bermanfaat. trus kembangkan lagi. berikan semua yang bermanfaat...

Anonim mengatakan...

Oke cuy