Thursday, April 26, 2012

Configuration VLAN

Tags

Tutorial Configurasi Vlan



 1. Langkah pertama Pasang password pada switch.

          Switch>ena
          Switch#conf t
          Enter configuration commands, one per line. End with CNTL/Z.
          Switch(config)#hostname switch1
          switch1(config)#enable pass cisco
          switch1(config)#line console 0
          switch1(config-line)#pass cisco
          switch1(config-line)#login
          switch1(config-line)#exit
          switch1(config)#line vty 0 15
          switch1(config-line)#pass cisco
          switch1(config-line)#login
          switch1(config-line)#exit
          switch1(config)#ex
%SYS-5-CONFIG_I: Configured from console by console

2. langkah ke 2 Membuat Vlan pada swicth     
   
 switch1#vlan database
% Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated. Please consult user
documentation for configuring VTP/VLAN in config mode.


         
          switch1(vlan)#vlan 20 name dosen
                                    VLAN 20 added:
                                    Name: dosen
          switch1(vlan)#vlan 10 name mahasiswa
                                    VLAN 10 added:
                                    Name: mahasiswa
          switch1(vlan)#exit
APPLY completed. 
Exiting....
 3.Langkah ke 3 Setting kabel ethernat



          switch1#ena
          switch1#conf t
          Enter configuration commands, one per line. End with CNTL/Z.
          switch1(config)#int fa 0/24
          switch1(config-if)#switchport mode trunk
          switch1(config-if)#exit
          switch1(config)#int fa0/1
          switch1(config-if)#switchport mode access
          switch1(config-if)#switchport access vlan 20
          switch1(config-if)#exit
          switch1(config)#int fa 0/2
          switch1(config-if)#switchport mode access
          switch1(config-if)#switchport access vlan 10
          switch1(config-if)#exit
switch1(config)#exit


%SYS-5-CONFIG_I: Configured from console by console
switch1#^Z (tekan CTRL Z)
switch1#wr


Building configuration...
[OK]

keterangan :
1. Huruf berwarna hijau ubah lah sesuai dengan yang anda ingin kan..
2. Angka berwarna merah angka nya harus sama..

 Trimakasih Smoga Berbanfaat untuk anda ^_^

Artikel Terkait


EmoticonEmoticon