Posted by : Unknown
Selasa, 30 Agustus 2016
VLAN TRUNK
TRUNK berfungsi untuk melewatkan traffic VLAN dari switch yang berbeda, antara switch 1 ke switch ke 2 yang terhubung, PC0,PC1,PC4,PC5 ini masuk VLAN 100. PC2,PC3,PC6,PC7 ini masuk VLAN 200.
Konfigurasi Switch Nya :
Switch Pertama
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 100
Switch(config-vlan)#name Guru
Switch(config-vlan)#exit
Switch(config)#vlan 200
Switch(config-vlan)#name Siswa
Switch(config-vlan)#exit
Switch(config)#interface FastEthernet0/1
Switch(config-if)# switchport mode access
Switch(config-if)#switchport access vlan 100
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/2
Switch(config-if)# switchport mode access
Switch(config-if)#switchport access vlan 100
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/3
Switch(config-if)# switchport mode access
Switch(config-if)#switchport access vlan 200
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/4
Switch(config-if)# switchport mode access
Switch(config-if)#switchport access vlan 200
Switch(config-if)#exit
Switch(config)#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)#exit
Switch(config)#do wr
Building configuration...
[OK]
Switch(config)#
Switch kedua
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 100
Switch(config-vlan)#name Guru
Switch(config-vlan)#exit
Switch(config)#vlan 200
Switch(config-vlan)#name Siswa
Switch(config-vlan)#exit
Switch(config)#interface FastEthernet0/1
Switch(config-if)# switchport mode access
Switch(config-if)#switchport access vlan 100
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/2
Switch(config-if)# switchport mode access
Switch(config-if)#switchport access vlan 100
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/3
Switch(config-if)# switchport mode access
Switch(config-if)#switchport access vlan 200
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/4
Switch(config-if)# switchport mode access
Switch(config-if)#switchport access vlan 200
Switch(config-if)#exit
Switch(config)#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)#exit
Switch(config)#do wr
Building configuration...
[OK]
Switch(config)#
Hasil Konfigurasi :
Test Ping dari PC0 ke PC1 , PC4, & PC5
Test Ping dari PC2 ke PC3,PC6, & PC7