LAPORAN
KONFIGURASI SWITCH CISCO
A. Konfigurasi pada R1
1. Merubah nama hostname
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1-K2
R1-K2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
R1-K2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
R1-K2(config-if)#ex
R1-K2(config)#ex
R1-K2#
%SYS-5-CONFIG_I: Configured from console by console
4. Konfigurasi router ospf 4
R1-K2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1-K2(config)#router ospf 4
R1-K2(config-router)#network 192.168.10.0 0.0.0.255
% Incomplete command.
R1-K2(config-router)#network 192.168.10.0 0.0.0.255 area 0
R1-K2(config-router)#network 10.11.12.4 0.0.0.3 area 0
R1-K2(config-router)#ex
R1-K2(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1,
changed state to up
B. Konfigurasi pada R2
1. Merubah nama hostname
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2-K2
R2-K2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
R2-K2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
C. Konfigurasi pada S1
1. Konfigurasi ip address pada vlan1
Switch>enable
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface vlan 1
Switch(config-if)#ip add 192.168.14.10 255.255.255.0
Switch(config-if)#no shut
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan1, changed state to up
2. Memberi gateway
Switch(config-if)#ip default-gateway 192.168.14.1
3. Konfigurasi telnet
Switch(config)#line vty 0 1
Switch(config-line)#password cisco
Switch(config-line)#login
4. Konfigurasi ssh
- Membuat password encryption
Switch(config)#service password-encryption