Konfigurasi 2 Switch di Cisco Paket Tracer Terbaru 2024
Switch 1
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 50
Switch(config-vlan)#name
%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
% Incomplete command.
Switch(config-vlan)#name Oni (Bisa diganti sesuai dengan selera Anda)
Switch(config-vlan)#ex
Switch(config)#int fa0/1 (Sesuaikan port dengan gambar diatas)
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 50
Switch(config-if)#ex
Switch(config)#int fa0/2 (Sesuaikan port dengan gambar diatas)
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 50
Switch(config-if)#ex
Switch(config)#vlan 60
Switch(config-vlan)#name Afid (Bisa diganti sesuai dengan selera Anda)
Switch(config-vlan)#ex
Switch(config)#int fa0/3 (Sesuaikan port dengan gambar diatas)
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 60
Switch(config-if)#ex
Switch(config)#int fa0/4 (Sesuaikan port dengan gambar diatas)
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 60
Switch(config-if)#ex
Switch(config)#int fa0/5 (Sesuaikan port dengan gambar diatas)
Switch(config-if)#switchport mode trunk
Switch(config-if)#ex
Switch 2
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 50
Switch(config-vlan)#name Oni (Bisa diganti sesuai dengan selera Anda)
Switch(config-vlan)#ex
Switch(config)#int fa0/1 (Sesuaikan port dengan gambar diatas)
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 50
Switch(config-if)#ex
Switch(config)#int fa0/2 (Sesuaikan port dengan gambar diatas)
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 50
Switch(config-if)#ex
Switch(config)#vlan 60
Switch(config-vlan)#name Afid (Bisa diganti sesuai dengan selera Anda)
Switch(config-vlan)#ex
Switch(config)#int fa0/3 (Sesuaikan port dengan gambar diatas)
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 60
Switch(config-if)#ex
Switch(config)#int fa0/4 (Sesuaikan port dengan gambar diatas)
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 60
Switch(config-if)#ex
Switch(config)#int fa0/5 (Sesuaikan port dengan gambar diatas)
Switch(config-if)#switchport mode trunk
Switch(config-if)#ex
Switch(config)#int fa0/6 (Sesuaikan port dengan gambar diatas)
Router
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int gig0/1 (Sesuaikan port dengan gambar diatas)
Router(config-if)#ip add 192.168.10.6 255.255.255.252
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up
Router(config-if)#int gig0/0 (Sesuaikan port dengan gambar diatas)
Router(config-if)#ip add 192.168.20.3 255.255.255.0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
Router(config-if)#ex
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int gig0/1.50 (Sesuaikan port dengan gambar diatas)
Router(config-subif)#encapsulation dot1Q 50
Router(config-subif)#ip add 192.168.50.135 255.255.255.128
Router(config-subif)#no sh
Router(config-subif)#ex
Router(config)#int gig0/1.60 (Sesuaikan port dengan gambar diatas)
Router(config-subif)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1.60, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1.60, changed state to up
Router(config-subif)#encapsulation dot1Q 60
Router(config-subif)#ip add 192.168.60.70 255.255.255.192
Router(config-subif)#no sh
Router(config-subif)#ex
Router(config)#
0 komentar:
Post a Comment