Catatan Dan Sharing Information

Saturday, October 15, 2016

Konfigurasi Vlan 2 Switch - Cisco Packet Tracer



RBJ
Title
:
Konfigurasi Vlan 2 Switch
Issue Date
:
11 Oktober 2016
Prepare by
:
Agung Ma’ruf
Teacher
:
Suyatno, S.Kom



SMK AL-BAHRI KOTA BEKASI


VLAN TRUNK 

Cara Konfigurasi Vlan Trunk

Trunk berfungsi untuk melewatkan traffic VLAN dari switch yang berbeda, antara switch 1 ke switch 2 yang terhubung. Pc0, pc1, pc 2 dan  pc3 ini masuk VLAN 2. Pc 4, pc5, pc6, pc7 ini termasuk vlan 3.
Konfigurasi Switch0 :
Switch>enable
Switch#vlan database
Switch(vlan)#vlan 100 name Guru
VLAN 100 added:
    Name: Guru
Switch(vlan)#vlan 200 name Siswa
VLAN 200 added:
    Name: Siswa
Switch(vlan)#exit
APPLY completed.
Exiting....
Switch#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#interface fastEthernet0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 100
Switch(config-if)#no shutdown
Switch(config-if)# interface fastEthernet0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 100
Switch(config-if)#no shutdown
Switch(config-if)# interface fastEthernet0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 200
Switch(config-if)#no shutdown
Switch(config-if)# interface fastEthernet0/4
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 200
Switch(config-if)#no shutdown
Switch(config-if)# interface fastEthernet0/5
Switch(config-if)#switchport mode trunk
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up
Switch(config-if)#no shutdown
Switch(config-if)#do write
Building configuration..
[OK]

Konfigurasi Switch1 :

Switch>enable
Switch#vlan database
Switch(vlan)#vlan 100 name Guru
VLAN 100 added:
    Name: Guru
Switch(vlan)#vlan 200 name Siswa
VLAN 200 added:
    Name: Siswa
Switch(vlan)#exit
APPLY completed.
Exiting....
Switch#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#interface fastEthernet0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 100
Switch(config-if)#no shutdown
Switch(config-if)# interface fastEthernet0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 100
Switch(config-if)#no shutdown
Switch(config-if)# interface fastEthernet0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 200
Switch(config-if)#no shutdown
Switch(config-if)# interface fastEthernet0/4
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 200
Switch(config-if)#no shutdown
Switch(config-if)# interface fastEthernet0/5
Switch(config-if)#switchport mode trunk
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up
Switch(config-if)#no shutdown
Switch(config-if)#do write
Building configuration..
[OK]

Berikut hasil pingnya :