Topologi diatas terdiri dari VLAN10-VLAN40 yang IP addressnya berbeda akan tetapi dihubungkan agar bisa saling ping. Untuk itu ikutilah tutorial dibawah ini agar mudah belajarnya.
SwitchTalangKelapo
SWTalangKelapo>en
SWTalangKelapo#config t
SWTalangKelapo(config)#int fa0/1
SWTalangKelapo(config-if)#vlan 10
SWTalangKelapo(config-vlan)#name Dosen
SWTalangKelapo(config-vlan)#vlan 20
SWTalangKelapo(config-vlan)#name Mahasiswa
SWTalangKelapo(config-vlan)#Vlan 30
SWTalangKelapo(config-vlan)#name Marketing
SWTalangKelapo(config-vlan)#vlan 40
SWTalangKelapo(config-vlan)#name UPT
SwitchTalangKelapo
Memasukkan Port MenjadiKeanggotaan Pada VLAN
SWTalangKelapo>en
SWTalangKelapo#config t
Enter configuration commands, one per line. End with CNTL/Z.
SWTalangKelapo(config)#int fa0/1
SWTalangKelapo(config-if)#switchport mode access
SWTalangKelapo(config-if)#switchport access vlan 10
SWTalangKelapo(config-if)#int fa0/2
SWTalangKelapo(config-if)#switchport mode access
SWTalangKelapo(config-if)#switchport access vlan 20
SWTalangKelapo(config-if)#int fa0/3
SWTalangKelapo(config-if)#switchport mode access
SWTalangKelapo(config-if)#switchport access vlan 30
SWTalangKelapo(config-if)#int fa0/4
SWTalangKelapo(config-if)#switchport mode access
SWTalangKelapo(config-if)#switchport access vlan 40
Switch MODE TRUNK
SWTalangKelapo>en
SWTalangKelapo#config t
Enter configuration commands, one per line. End with CNTL/Z.
SWTalangKelapo(config)#int fa0/24
SWTalangKelapo(config-if)#switchport mode trunk
SWTalangKelapo(config-if)#exit
SWTalangKelapo(config)#exit
SWTalangKelapo#
SWTalangKelapo#sh int trunk
Switch>en
Switch#config t
Enter configuration commands, one per line.
End with CNTL/Z.
Switch(config)#hostname SwitchTalangBetutu
SwitchTalangBetutu(config)#int fa0/24
SwitchTalangBetutu(config-if)#switchport mode
trunk
SwitchTalangBetutu(config-if)#exit
SwitchTalangBetutu(config)#exit
SwitchTalangBetutu#
SwitchTalangBetutu#sh int trunk
SwitchTalangBetutu>en
SwitchTalangBetutu#config t
Enter configuration commands, one per line. End with CNTL/Z.
SwitchTalangBetutu(config)#vlan 10
SwitchTalangBetutu(config-vlan)#name Dosen
SwitchTalangBetutu(config-vlan)#vlan 20
SwitchTalangBetutu(config-vlan)#name Mahasiswa
SwitchTalangBetutu(config-vlan)#vlan 30
SwitchTalangBetutu(config-vlan)#name Marketing
SwitchTalangBetutu(config-vlan)#vlan 40
SwitchTalangBetutu(config-vlan)#name UPT
SwitchTalangBetutu(config-vlan)#exit
SwitchTalangBetutu(config)#exit
SwitchTalangBetutu#
%SYS-5-CONFIG_I: Configured from console by console
SwitchTalangBetutu#sh vlan
SwitchTalangBetutu>en
SwitchTalangBetutu#config t
Enter configuration commands, one per line. End with CNTL/Z.
SwitchTalangBetutu(config)#int fa0/1
SwitchTalangBetutu(config-if)#switchport mode access
SwitchTalangBetutu(config-if)#switchport access vlan 40
SwitchTalangBetutu(config-if)#int fa0/2
SwitchTalangBetutu(config-if)#switchport mode access
SwitchTalangBetutu(config-if)#switchport access vlan 30
SwitchTalangBetutu(config-if)#int fa0/3
SwitchTalangBetutu(config-if)#switchport mode access
SwitchTalangBetutu(config-if)#switchport access vlan 20
SwitchTalangBetutu(config-if)#int fa0/4
SwitchTalangBetutu(config-if)#switchport mode access
SwitchTalangBetutu(config-if)#switchport access vlan 10
SwitchTalangBetutu(config-if)#
Router
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int gig0/0.10
Router(config-subif)#encapsulation dot1q 10
Router(config-subif)#ip address 192.168.10.1 255.255.255.0
Router(config-subif)#no shut
Router(config-subif)#exit
Router(config)#int gig0/0.20
Router(config-subif)#encapsulation dot1q 20
Router(config-subif)#ip address 192.168.20.1 255.255.255.0
Router(config-subif)#no shut
Router(config-subif)#exit
Router(config)#int gig0/0.30
Router(config-subif)#encapsulation dot1q 30
Router(config-subif)#ip address 192.168.30.1 255.255.255.0
Router(config-subif)#no shut
Router(config-subif)#exit
Router(config)#int gig0/0.40
Router(config-subif)#encapsulation dot1q 40
Router(config-subif)#ip address 192.168.40.1 255.255.255.0
Router(config-subif)#no shut
SWTalangKelapo>en
SWTalangKelapo#config t
Enter configuration commands, one per line. End with CNTL/Z.
SWTalangKelapo(config)#int fa0/5
SWTalangKelapo(config-if)#switchport mode trunk
Kemudian lakukan tes saling ping antar PC