0% found this document useful (0 votes)
15 views4 pages

Notes Hari Ke 2

Uploaded by

adistia helvy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views4 pages

Notes Hari Ke 2

Uploaded by

adistia helvy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

notepad.

pw/CCNA-23042024
OSI Layer
7 Layer
Layer 1 Physical
Hub,kabel jaringan internet (Fiber Optik,UTP,STP,Coaxial)
Wireless Card
Layer 2 Data Link
MAC Address
Switch
Switch Manage
Switch Unmanage
MAC Address Table
Layer 3 Network
IP Address
Router,MultiLayer Switch
Routing Table
Layer 4 Transport
Port
Protocol
Segmentasi data
Layer 5 Session
Layer 6 Presentation
Layer 7 Application
Enable password = type 7
Enable secret = type 5
SSH vs Telnet? SSH!!
VLAN Access
Disetting ke end device (user)
VLAN Trunk
Disetting antar Network Device yang support fitur VLAN

VLAN 10 = 192.168.1.0/24 (192.168.1.1 - 192.168.1.254)


VLAN 20 = 192.168.2.0/24 (192.168.2.1 - 192.168.2.254)
Sub-interface = suatu cara yang digunakan untuk ngebuat VLAN di Router
Sub-interface sifatnya virtual.Numpang interface fisik
Jadi ketika interface fisik nyala,dia otomatis nyala.
Ketika interface fisik mati,dia otomatis mati.

Cara buat
int g0/0.x -> x disini biasanya diisi nomor VLAN yang kita punya
int g0/0.10
int g0/0.20
Konfig Sub-interface

int g0/0
no shutdown
int g0/0.10
encapsulation dot1q 10
ip address 192.168.1.1 255.255.255.0
exit
int g0/0.20
encapsulation dot1q 20
ip address 192.168.2.1 255.255.255.0
exit

Verifikasi
show ip interface brief

Trunk di Sw2
en
conf t
int g0/2
switchport mode trunk

DHCP (Dynamic Host Configuration Protocol)


Agar dapat IP secara otomatis

VLAN 10 = 192.168.1.0/24 (192.168.1.1 - 192.168.1.254)


IP Gateway = 192.168.1.1
VLAN 20 = 192.168.2.0/24 (192.168.2.1 - 192.168.2.254)
IP Gateway = 192.168.2.1
DHCP VLAN 10 (192.168.1.2 - 192.168.1.254)
DHCP VLAN 20 (192.168.2.2 - 192.168.2.254)

Konfig DHCP di Router


en
conf t
ip dhcp pool vlan10
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns 8.8.8.8
exit
ip dhcp pool vlan20
network 192.168.2.0 255.255.255.0
default-router 192.168.2.1
dns 8.8.8.8
exit

Konfig MLS
en
conf t
int range fa0/1-2
switchport mode access
switchport access vlan 10
exit
int range fa0/3-4
switchport mode access
switchport access vlan 20
exit
do show vlan brief

Tambah IP di VLAN MLS


int vlan 10
ip address 192.168.1.1 255.255.255.0
exit
int vlan 20
ip address 192.168.2.1 255.255.255.0
exit
ip dhcp pool vlan10
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns 8.8.8.8
exit
ip dhcp pool vlan20
network 192.168.2.0 255.255.255.0
default-router 192.168.2.1
dns 8.8.8.8
exit
ip routing

Recovery Port Security vio Shutdown


1.Pastikan Port sudah tercolok di PC yang benar (Asli)
2.Masukkan command berikut di MLS :
en
conf t
int fa0/1
shutdown
no shutdown

Spanning Tree
1.Root Bridge
Switch yang menjadi ketua.
Bertugas melewatkan semua traffic data
Pemilihan :
-Nilai priority terkecil.Default 32768.
-MAC Address terkecil.
2.Root Port
Interface yang mendekati Root Bridge (Ketua)
Total nilai cost terkecil

3.Designated Port
Interface yang menjauhi Root Bridge (Ketua)
Total nilai cost terbesar
Ketika suatu switch menjadi Root Bride (Ketua),maka semua interfacenya akan
menjadi Designated
4.Alternate/Blocking Port
Terjadi ketika Designated<>Designated

Portfast interface nomor 10-20


ACC-1
en
conf t
interface range fa0/10-20
spanning-tree portfast

Protocol Link Aggregate


1.LACP (Link Aggregation Control Protocol)
Open standart.Multivendor.
Mode :
- Active
- Passive
Active<>Active v
Active<>Passive v
Passive<>Passive x

2.PAgP (Port Aggregation Protocol)


Cisco Propietary.
Mode :
- Desirable
- Auto
Desirable<>Desirable v
Desirable<>Auto v
Auto<>Auto x

3.Etherchannel
Mode = ON
Static Routing
Routing yang ditambahkan manual kedalam routing table (otak router untuk menentukan
jalur)
Dst-address = Mau kemana?
Gateway = Lewat mana?
Pastikan dst-address dan gateway berada didalam routing table agar router bisa
menuju ke suatu tujuan

Best Path Selection


1.longest prefix
Destination = 192.168.1.100
Routing Table
192.168.1.0/24 via 1.1.1.1
192.168.1.0/28 via 2.2.2.2
192.168.1.0/29 via 3.3.3.3

2.Distance
Destination = 192.168.1.40
Routing Table
192.168.1.0/24 via 1.1.1.1 [90]
192.168.1.0/29 via 2.2.2.2 [120]
192.168.1.0/24 via 3.3.3.3 [110]

Nilai distance hanya dilihat ketika dst-address dan prefixnya sama

R1
Dst = 10.23.23.0/24 dan 103.1.1.0/24
Gw = 10.12.12.2

Command routing statik


ip route <dst-address> <subnetmask> <gateway>
ip route 10.23.23.0 255.255.255.0 10.12.12.2
ip route 103.1.1.0 255.255.255.0 10.12.12.2
do show ip route

R2
Dst = 103.1.1.0/24
Gw = 10.23.23.3

Dst = 192.168.1.0/24 dan 192.168.2.0/24


Gw = 10.12.12.1
ip route 103.1.1.0 255.255.255.0 10.23.23.3
ip route 192.168.1.0 255.255.255.0 10.12.12.1
ip route 192.168.2.0 255.255.255.0 10.12.12.1
do show ip route

R3
Dst = 192.168.1.0/24 , 192.168.2.0/24 , dan 10.12.12.0/24
Gw = 10.23.23.2
ip route 10.12.12.0 255.255.255.0 10.23.23.2
ip route 192.168.1.0 255.255.255.0 10.23.23.2
ip route 192.168.2.0 255.255.255.0 10.23.23.2
do show ip route

You might also like