Anda di halaman 1dari 4

Nama : Agung Setiadi

Kelas : XII TKJ A


No.Abs : 02

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

2. Konfigurasi interface fao/o


- Konfigurasi ip address
R1-K2(config)#interface fa0/0
R1-K2(config-if)#ip add 192.168.10.1 255.255.255.0
R1-K2(config-if)#no shutdown

R1-K2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0,


changed state to up

3. Konfigurasi interface pada fa0/1


- Konfigurasi ip address
R1-K2(config-if)#int fa0/1
R1-K2(config-if)#ex
R1-K2(config)#int fa0/1
R1-K2(config-if)#ip add 10.11.12.5 255.255.255.252
R1-K2(config-if)#no shut

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

00:07:41: %OSPF-5-ADJCHG: Process 4, Nbr 192.168.14.1 on FastEthernet0/1


from LOADING to FULL, Loading Done

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

2. Konfigurasi interface fao/o


- Konfigurasi ip address
R2-K2(config)#interface fa0/0
R2-K2(config-if)#ip add 10.11.12.6 255.255.255.252
R2-K2(config-if)#no shut

R2-K2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

3. Konfigurasi interface pada fa0/1


- Konfigurasi ip address
R2-K2(config)#interface fa0/1
R2-K2(config-if)#ip add 192.168.14.1 255.255.255.0
R2-K2(config-if)#no shut

R2-K2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1,


changed state to up
4. Konfigurasi router ospf 4
R2-K2(config)#router ospf 4
R2-K2(config-router)#network 10.11.12.4 0.0.0.3 area 0
R2-K2(config-router)#network 10.11.12.4 0.0.0.245 area 0
00:07:36: %OSPF-5-ADJCHG: Process 4, Nbr 192.168.10.1 on FastEthernet0/0
router ospf 4
R2-K2(config-router)#network 192.168.14.0 0.0.0.255 area 0
R2-K2(config-router)#ex
R2-K2(config)#ex
R2-K2#
%SYS-5-CONFIG_I: Configured from console by console

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

%LINEPROTO-5-UPDOWN: Line protocol on 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

- Merubah nama mesin (switch)


Switch(config)#hostname S2
- Membuat nama domain
Switch(config)#ip domain-name www.keamanan.com

- Membuat encrypsi data


S2(config)#crypto key generate rsa
The name for the keys will be: S2.www.keamanan.com
Choose the size of the key modulus in the range of 360 to 2048 for your
General Purpose Keys. Choosing a key modulus greater than 512 may take
a few minutes.

How many bits in the modulus [512]: 1025


% Generating 1025 bit RSA keys, keys will be non-exportable...[OK]

- Membuat user password


S2(config)#user myuser password ssh
*Mar 1 0:11:53.956: %SSH-5-ENABLED: SSH 1.99 has been enabled

- Membuat password untuk switch


S2(config)#enable secret ccna

Anda mungkin juga menyukai