69
CCNA R&S Bootcamp Lab 1 Internetworking Lab Tulis 1 Pada sesi ini, anda akan menyelesaikan Lab dibawah ini untuk memastikan bahwa anda sudah benar-benar sudah mampu menerima informasi dan konsep yang telah di ajarkan oleh Instruktur: Lab 1.1: Pendefinisian Lapisan OSI dan Perangkat-perangkatnya Lab 1.2: Identifikasi Collision dan Broadcast Domain Lab 1.3: Konversi Biner/Desimal/Hexadesimal Lab Tulis 1.1: Pendefinisian Lapisan OSI dan Perangkat-perangkatnya Deskripsi Perangkat atau Lapisam OSI Perangkat ini mengirim dan menerima mengenai Lapisan Network Lapisan ini membuat sebuah virtual circuit sebelum mengirimkannya antar dua end station (perangkat akhir). Lapisan ini menggunakan layanan access point. Perangkat ini menggunakan hardware addresses (alamat fisik) untuk menyaring sebuah network. Ethernet didefinisikan pada lapisan ini. Lapisan ini mendukung flow control dan sequencing. Perangkat ini dapat menghitung jarak menuju sebuah remote network. Logical addressing (alamat logika) digunakan pada lapisan ini. Hardware addresses (alamat fisik) didefinisikan pada lapisan ini. Perangkat ini menciptakan sebuah collision domain yang besar dan satu broadcast domain yang besar pula. Perangkat ini menciptakan banyak collision domain yang lebih kecil, tetapi jaringan masih memiliki satu broadcast domain yang besar. Perangkat ini tidak pernah menjalankan koneksi full duplex. Perangkat ini memisahkan collision domain dan broadcast domains. Lab Tulis 1.2: Identifikasi Collision dan Broadcast Domain Gambar dibawah ini, coba identifikasi collision domain dan broadcast domain pada setiap perangkat spesifik dibawah ini: A. Hub B. Bridge C. Switch D. Router 1

CCNA Bootcamp

Embed Size (px)

DESCRIPTION

ccna

Citation preview

Page 1: CCNA Bootcamp

CCNA R&S Bootcamp

Lab 1Internetworking

Lab Tulis 1 Pada sesi ini, anda akan menyelesaikan Lab dibawah ini untuk memastikan bahwa anda sudah benar-benar sudah mampu menerima informasi dan konsep yang telah di ajarkan oleh Instruktur:

• Lab 1.1: Pendefinisian Lapisan OSI dan Perangkat-perangkatnya

• Lab 1.2: Identifikasi Collision dan Broadcast Domain

• Lab 1.3: Konversi Biner/Desimal/Hexadesimal

Lab Tulis 1.1: Pendefinisian Lapisan OSI dan Perangkat-perangkatnyaDeskripsi Perangkat atau Lapisam

OSIPerangkat ini mengirim dan menerima mengenai Lapisan NetworkLapisan ini membuat sebuah virtual circuit sebelum mengirimkannya antar dua end station (perangkat akhir).Lapisan ini menggunakan layanan access point.Perangkat ini menggunakan hardware addresses (alamat fisik) untuk menyaring sebuah network.Ethernet didefinisikan pada lapisan ini.Lapisan ini mendukung flow control dan sequencing.Perangkat ini dapat menghitung jarak menuju sebuah remote network.Logical addressing (alamat logika) digunakan pada lapisan ini.Hardware addresses (alamat fisik) didefinisikan pada lapisan ini.Perangkat ini menciptakan sebuah collision domain yang besar dan satu broadcast domain yang besar pula.Perangkat ini menciptakan banyak collision domain yang lebih kecil, tetapi jaringan masih memiliki satu broadcast domain yang besar.Perangkat ini tidak pernah menjalankan koneksi full duplex.Perangkat ini memisahkan collision domain dan broadcast domains.

Lab Tulis 1.2: Identifikasi Collision dan Broadcast DomainGambar dibawah ini, coba identifikasi collision domain dan broadcast domain pada setiap perangkat spesifik dibawah ini:

A. HubB. BridgeC. SwitchD. Router

1

Page 2: CCNA Bootcamp

CCNA R&S Bootcamp

Lab Tulis 1.3: Konversi Biner/Desimal/Hexadesimal1. Konversi dari decimal IP address ke format biner.

Lengkapi tabel dibawah ini untuk menunjukkan 192.168.10.15 dalam format biner.128 64 32 16 8 4 2 1 Biner

Lengkapi tabel dibawah ini untuk menunjukkan 172.16.20.55 dalam format biner.128 64 32 16 8 4 2 1 Biner

Lengkapi tabel dibwah ini untuk menunjukkan 10.11.12.99 dalam format biner.128 64 32 16 8 4 2 1 Biner

2. Konversi format biner dibawah ini ke format desimal IP address.Lengkapi tabel dibawah ini untuk menunjukkan 11001100.00110011.10101010.01010101 ke dalam format desimal IP address.

128 64 32 16 8 4 2 1 Desimal

2

Page 3: CCNA Bootcamp

CCNA R&S Bootcamp

Lengkapi tabel dibawah ini untuk menunjukkan 11000110.11010011.00111001.11010001 kedalam format desimal IP address.

128 64 32 16 8 4 2 1 Desimal

Lengkapi tabel dibawah ini untuk menunjukkan 10000100.11010010.10111000.10100110 kedalam format desimal IP address.

128 64 32 16 8 4 2 1 Desimal

3. Konversi format biner dibawah ini kedalam format hexadesimal.Lengkapi tabel dibawah ini untuk menunjukkan 11011000.00011011.00111101.01110110 kedalam format hexadesimal.

128 64 32 16 8 4 2 1 Hexadesimal

Lengkapi tabel dibawah ini untuk menunjukkan 11001010.11110101.10000011.11101011 kedalam format hexadesimal.

128 64 32 16 8 4 2 1 Hexadesimal

Lengkapi tabel dibawah ini untuk menunjukkan 10000100.11010010.01000011.10110011 kedalam format hexadesimal.

128 64 32 16 8 4 2 1 Hexadesimal

3

Page 4: CCNA Bootcamp

CCNA R&S Bootcamp

Lab 2Introduction to TCP/IP

Lab Tulis 2Jawablah pertanyaan dibawah ini tentang TCP/IP:

1. Sebutkan rentang Class C address dalam desimal dan biner?Jawab:

2. Lapisan apakah dalam DoD model setara dengan lapisan Transport dari OSI model?Jawab:

3. Sebutkan rentang alamat yang sah Class A network address?Jawab:

4. Digunakan untuk apakah alamat 127.0.0.1?Jawab:

5. Bagaimana cara anda menemukan network address dari sebuah daftar IP address?Jawab:

6. Bagaimana cara anda menemukan broadcast address dari sebuah daftar IP address?Jawab:

7. Sebutkan rentang Class A private IP address?Jawab:

8. Sebutkan Class B private IP address?Jawab:

9. Sebutkan Class C private IP address?Jawab:

10. Sebutkan semua karakter yang dapat anda gunakan dalam pengalamatan hexadecimal?Jawab:

4

Page 5: CCNA Bootcamp

CCNA R&S Bootcamp

Lab 3Subnetting, Variable Length Subnet Masks (VLSMs),

and Troubleshooting TCP/IP

Labs 3Pada sesi ini, anda akan menyelesaikan Lab dibawah ini untuk memastikan bahwa anda sudah benar-benar sudah mampu menerima informasi dan konsep yang telah di ajarkan oleh Instruktur:

• Lab 3.1: Latihan Subnet #1

• Lab 3.2: Latihan Subnet #2

• Lab 3.3: Latihan Subnet #3

Lab Tulis 3.1: Latihan Subnet #1Tuliskan subnet, broadcast address, dan rentang valid host utnuk pertanyaan 1 hingga 6:

1. 192.168.100.25/30Jawab:

2. 192.168.100.37/28Jawab:

3. 192.168.100.66/27Jawab:

4. 192.168.100.17/29Jawab:

5. 192.168.100.99/26Jawab:

6. 192.168.100.99/25Jawab:

7. Anda memiliki sebuah Class B network dan membutuhkan 29 subnet. Apa mask yang cocok?Jawab:

8. Apakah broadcast address dari 192.168.192.10/29?Jawab:

9. Berapa banyak host yang tersedia untuk sebuah Class C /29 mask?Jawab:

5

Page 6: CCNA Bootcamp

CCNA R&S Bootcamp

10. Apakah subnet untuk host ID 10.16.3.65/23?Jawab:

Lab Tulis 3.2: Latihan SubnetDiberikan sebuah Class B network dan identifikasi bit jaringan (CIDR), Lengkapi tabel dibawah ini untuk mengidentifikasi subnet mask dan jumlah host address yang mungkin untuk tiap mask.

Classful Address Subnet Mask Jumlah host per Subnet (2x – 2)/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30

Lab Tulis 3.3: Latihan SubnetDesimal IP Address Address

ClassJumlah dari Subnetdan Host Bit

Jumlah dariSubnet (2x)

Jumlah dari Host(2x – 2)

10.25.66.154/23172.31.254.12/24192.168.20.123/2863.24.89.21/18128.1.1.254/20208.100.54.209/30

6

Page 7: CCNA Bootcamp

CCNA R&S Bootcamp

Lab 4Cisco’s Internetworking Operating System (IOS)

and Security Device Manager (SDM)

Hands-on LabPada sesi ini, anda akan melakukan command (perintah) pada sebuah Cisco router yang akan membantu anda memahami apa yang anda pelajari pada Bab ini.

Perangkat (Hostname

)IOS Version Interface IP Address

R1 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.1.1/24FastEthernet0/1 -Serial0/0 192.168.2.1/30

R2 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.3.1/24FastEthernet0/1 -Serial0/0 192.168.2.2/30Serial0/1 192.168.4.1/30

R3 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.5.1/24

7

Page 8: CCNA Bootcamp

CCNA R&S Bootcamp

FastEthernet0/1 -Serial0/0 192.168.4.2/30

SW1 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -SW2 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -SW3 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -PC1 FastEthernet0 192.168.1.254/24PC2 FastEthernet0 192.168.3.254/24PC3 FastEthernet0 192.168.5.254/24

Catatan:Perlu anda ketahui, setiap Platform memiliki fitur, nama interface, dan jumlah interface yang berbeda-beda. Mohon untuk melakukan verifikasi terlebih dahulu jika anda menggunakan Platform yang berbeda dari keterangan diatas agar konfigurasi anda dapat berhasil dilakukan.

Pada Hands-on Lab Bab ini terdapat beberapa lab yang harus anda selesaikan agar Initial Configuration (Konfigurasi Awal dapat berhasil dilakukan):

• Masuk ke sebuah Router

• Menghapus semua Konfigurasi Router (Factory Default)

• Menyesuaikan waktu dan Membuat Banner

• Membuat Passwordo Password standard Console, VTY untuk R1 dan R3o Kombinasi username password Console dan VTY untuk R2

• Membuat Hostname, Description, IP Address, dan Clock Rate

• Menyimpan Konfigurasi Router

• Test Konektifitas dan Verifikasi Konfigurasi

Pada Hands-on Lab Bab ini terdapat 6 lab yang harus anda selesaikan agar Initial Configuration (Konfigurasi Awal dapat berhasil dilakukan):

Konfigurasi Router R1(DTE) menggunakan CLI:--- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: no

Press RETURN to get started!

Router>enableRouter#config tRouter(config)#exitRouter#erase startup-configErasing the nvram filesystem will remove all configuration files! Continue? [confirm][OK]Erase of nvram: complete%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram

Router#reload Proceed with reload? [confirm]%SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.

--- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: no

8

Page 9: CCNA Bootcamp

CCNA R&S Bootcamp

Press RETURN to get started!

Router>enableRouter#clock set 09:00:00 01 jan 2012Router#config tRouter(config)#hostname R1R1(config)#banner motd #Enter TEXT message. End with the character '#'."Selamat Datang ke Router R1"#

R1(config)#enable secret ciscoR1(config)#line console 0R1(config-line)#password ciscoR1(config-line)#loginR1(config-line)#exit

R1(config)#line vty 0 4R1(config-line)#password ciscoR1(config-line)#loginR1(config-line)#exit

R1(config)#interface fa0/0R1(config-if)#description "terhubung ke SW1 fa0/24"R1(config-if)#ip address 192.168.1.1 255.255.255.0R1(config-if)#no shutR1(config-if)#exit

R1(config)#interface se0/0R1(config-if)#description "terhubung ke R2 se-0/0"R1(config-if)#ip address 192.168.2.1 255.255.255.252R1(config-if)#no shutR1(config-if)#exitR1(config)#exit

R1#copy run startDestination filename [startup-config]? Building configuration...[OK]R1#

Konfigurasi Router R2(DCE) menggunakan CLI:--- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: no

Press RETURN to get started!

Router>enableRouter#config tRouter(config)#exitRouter#erase startup-configErasing the nvram filesystem will remove all configuration files! Continue? [confirm][OK]Erase of nvram: complete%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram

Router#reload

9

Page 10: CCNA Bootcamp

CCNA R&S Bootcamp

Proceed with reload? [confirm]%SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.

--- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: no

Press RETURN to get started!

Router>enableRouter#clock set 09:00:00 1 jan 2012Router#config tRouter(config)#hostname R2R2(config)#banner motd #Enter TEXT message. End with the character '#'."Selamat Datang di Router R2"#

R2(config)#username admin privilege 15 password ciscoR2(config)#username user1 password ciscoR2(config)#line console 0R2(config-line)#login localR2(config-line)#exit

R2(config)#line vty 0 4R2(config-line)#login localR2(config-line)#exit

R2(config)#interface fa0/0R2(config-if)#description "terhubung ke SW1 fa0/24"R2(config-if)#ip address 192.168.3.1 255.255.255.0R2(config-if)#no shutR2(config-if)#exit

R2(config)#interface se0/0R2(config-if)#description "terhubung ke R1 se-0/0"R2(config-if)#ip address 192.168.2.2 255.255.255.252R2(config-if)#clock rate 64000R2(config-if)#no shutR2(config-if)#exit

R2(config)#int se0/1R2(config-if)#description "terhubung ke R3 se-0/0"R2(config-if)#ip add 192.168.4.1 255.255.255.252R2(config-if)#clock rate 64000R2(config-if)#no shutR2(config-if)#exitR2(config)#exit

R2#copy run startDestination filename [startup-config]? Building configuration...[OK]R2#

Konfigurasi Router R3(DTE) menggunakan CLI:--- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: no

10

Page 11: CCNA Bootcamp

CCNA R&S Bootcamp

Press RETURN to get started!

Router>enableRouter#config tRouter(config)#exitRouter#erase startup-configErasing the nvram filesystem will remove all configuration files! Continue? [confirm][OK]Erase of nvram: complete%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram

Router#reload Proceed with reload? [confirm]%SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.--- System Configuration Dialog ---

Continue with configuration dialog? [yes/no]: no

Press RETURN to get started!

Router>enableRouter#clock set 09:00:00 1 jan 2012Router#config tRouter(config)#hostname R3R3(config)#enable password ciscoR3(config)#service password-encryption R3(config)#line console 0R3(config-line)#password ciscoR3(config-line)#loginR3(config-line)#exit

R3(config)#line vty 0 4R3(config-line)#password cisoR3(config-line)#password ciscoR3(config-line)#loginR3(config-line)#exit

R3(config)#interface fa0/0R3(config-if)#description "terhubung ke SW1 fa0/24"R3(config-if)#ip address 192.168.5.1 255.255.255.0R3(config-if)#no shutR3(config-if)#exit

R3(config)#interface se0/0R3(config-if)#description "terhubung ke R2 se-0/1"R3(config-if)#ip address 192.168.4.2 255.255.255.252R3(config-if)#no shutR3(config-if)#exitR3(config)#exit

R3#writeBuilding configuration...[OK]R3#

Test Konektifitas dan Verifikasi Konfigurasi:R1#ping 192.168.2.2Type escape sequence to abort.

11

Page 12: CCNA Bootcamp

CCNA R&S Bootcamp

Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 16/25/32 msR1#

R1#show ip interface brief Interface IP-Address OK? Method Status Protocol FastEthernet0/0 192.168.1.1 YES manual up up FastEthernet0/1 unassigned YES unset administratively down down Serial0/0 192.168.2.1 YES manual up upR1#

R1#show running-config Building configuration...

Current configuration : 688 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname R1!enable secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0!interface FastEthernet0/0 description "terhubung ke SW1 fa0/24" ip address 192.168.1.1 255.255.255.0 duplex auto speed auto!interface FastEthernet0/1 no ip address duplex auto speed auto shutdown!interface Serial0/0 description "terhubung ke R2 se-0/0" ip address 192.168.2.1 255.255.255.252!ip classless!banner motd ^C"Selamat Datang ke Router R1"^C!line con 0 password cisco loginline vty 0 4 password cisco login!end

12

Page 13: CCNA Bootcamp

CCNA R&S Bootcamp

R1#

Catatan:Lakukan juga Test Konektifitas dan Verifikasi pada R2 dan R3

Lab 5Managing a Cisco

Internetwork

Hands-on LabUntuk menyelesaikan sesi lab berikut, Lakukan konfigurasi lanjutan dari Lab 4 dengan menyelesaikan point-point yang disebutkan dibawah ini.

Perangkat (Hostname

)IOS Version Interface IP Address

R1 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.1.1/24FastEthernet0/1 -Serial0/0 192.168.2.1/30

R2 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.3.1/24FastEthernet0/1 -Serial0/0 192.168.2.2/30Serial0/1 192.168.4.1/30

13

Page 14: CCNA Bootcamp

CCNA R&S Bootcamp

R3 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.5.1/24FastEthernet0/1 -Serial0/0 192.168.4.2/30

SW1 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -SW2 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -SW3 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -PC1 FastEthernet0 192.168.1.254/24PC2 FastEthernet0 192.168.3.254/24PC3 FastEthernet0 192.168.5.254/24

Berikut adalah Lab yang harus anda selesaikan pada Bab ini, Lab ini hanya dilakukan di Router R1 sebagai contoh. Jika anda menginginkannya, anda dapat melakukannya untuk Router lain:

• Melakukan Back-up IOS Router anda

• Melakukan Upgrade atau Restore IOS Router anda

• Melakunan Back-up dan Restore Konfigurasi Router anda

• Menggunakan Cisco Discovery Protocol (CDP) untuk Monitoring dan Manajemen

• Penggunaan Resolving Hostname

Melakukan Back-up IOS pada Router R1:R1#show flash:

System flash directory:File Length Name/status 3 5571584 c2600-i-mz.122-28.bin 2 28282 sigdef-category.xml 1 227537 sigdef-default.xml[5827403 bytes used, 58188981 available, 64016384 total]63488K bytes of processor board System flash (Read/Write)

R1#copy flash tftpSource filename []? c2600-i-mz.122-28.binAddress or name of remote host []? 192.168.1.2Destination filename [c2600-i-mz.122-28.bin]?

Writing c2600-i-mz.122 28.bin...!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![OK - 5571584 bytes]

5571584 bytes copied in 6.189 secs (900000 bytes/sec)R1#

Melakukan Upgrade atau Restore IOS pada Router R1:R1#copy tftp flashAddress or name of remote host []? 192.168.1.2Source filename []? c2600-advipservicesk9-mz.124-15.T1.binDestination filename [c2600-advipservicesk9-mz.124-15.T1.bin]?

Accessing tftp://192.168.1.2/c2600-advipservicesk9-mz.124-15.T1.bin...Loading c2600-advipservicesk9-mz.124-15.T1.bin from 192.168.1.2: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

14

Page 15: CCNA Bootcamp

CCNA R&S Bootcamp

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![OK - 33591768 bytes]

33591768 bytes copied in 36.892 secs (95603 bytes/sec)

R1#show flash

System flash directory:File Length Name/status 4 33591768 c2600-advipservicesk9-mz.124-15.T1.bin 3 5571584 c2600-i-mz.122-28.bin 2 28282 sigdef-category.xml 1 227537 sigdef-default.xml[39419171 bytes used, 24597213 available, 64016384 total]63488K bytes of processor board System flash (Read/Write)

R1#delete flash: Delete filename []?c2600-i-mz.122-28.binDelete flash:/c2600-i-mz.122-28.bin? [confirm]

R1#config tR1(config)#boot system flash c2600-advipservicesk9-mz.124-15.T1.binR1(config)#exit

R1#write Building configuration...[OK]R1#reload Proceed with reload? [confirm]%SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.

R1#show version Cisco IOS Software, 2600 Software (C2600-ADVIPSERVICESK9-M), Version 12.4(15)T1, RELEASE SOFTWARE (fc2)Technical Support: http://www.cisco.com/techsupportCopyright (c) 1986-2007 by Cisco Systems, Inc.Compiled Wed 18-Jul-07 06:21 by pt_rel_team

ROM: System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)Copyright (c) 2000 by cisco Systems, Inc.

System returned to ROM by power-onSystem image file is "c2600-advipservicesk9-mz.124-15.T1.bin"

This product contains cryptographic features and is subject to UnitedStates and local country laws governing import, export, transfer anduse. Delivery of Cisco cryptographic products does not implythird-party authority to import, export, distribute or use encryption.Importers, exporters, distributors and users are responsible forcompliance with U.S. and local country laws. By using this product youagree to comply with applicable laws and regulations. If you are unableto comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

15

Page 16: CCNA Bootcamp

CCNA R&S Bootcamp

If you require further assistance please contact us by sending email [email protected].

cisco 2621 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memoryProcessor board ID JAD05190MTZ (4292891495)M860 processor: part number 0, mask 492 FastEthernet/IEEE 802.3 interface(s)1 Low-speed serial(sync/async) network interface(s)32K bytes of NVRAM.16384K bytes of processor board System flash (Read/Write)

Configuration register is 0x2102R1#

Melakukan Back-up dan Restore Konfigurasi pada Router R1:R1#copy run tftpAddress or name of remote host []? 192.168.1.2Destination filename [R1-confg]?

Writing running-config....!![OK - 745 bytes]

745 bytes copied in 3.141 secs (0 bytes/sec)R1#

R1#copy tftp runAddress or name of remote host []? 192.168.1.2Source filename []? R1-confgDestination filename [running-config]?

Accessing tftp://192.168.1.2/R1-confg...Loading R1-confg from 192.168.1.2: ![OK - 745 bytes]

745 bytes copied in 0.063 secs (11825 bytes/sec)R1#%SYS-5-CONFIG_I: Configured from console by console

R1#

Menggunakan Cisco Discovery Protocol (CDP) untuk Monitoring & Manajemen pada Router R1:R1(config)#cdp runR1(config)#exit

R1#show cdp neighborsCapability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - PhoneDevice ID Local Intrfce Holdtme Capability Platform Port IDSwitch Fas 0/0 124 S 2950 Fas 0/24R2 Ser 0/0 124 R C2600 Ser 0/0

R1#show cdp entry *

Device ID: SwitchEntry address(es):

16

Page 17: CCNA Bootcamp

CCNA R&S Bootcamp

Platform: cisco 2950, Capabilities: SwitchInterface: FastEthernet0/0, Port ID (outgoing port): FastEthernet0/24Holdtime: 138

Version :Cisco Internetwork Operating System SoftwareIOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA4, RELEASE SOFTWARE(fc1)Copyright (c) 1986-2005 by cisco Systems, Inc.Compiled Wed 18-May-05 22:31 by jharirba

advertisement version: 2Duplex: full---------------------------

Device ID: R2Entry address(es): IP address : 192.168.2.2Platform: cisco C2600, Capabilities: RouterInterface: Serial0/0, Port ID (outgoing port): Serial0/0Holdtime: 138

Version :Cisco Internetwork Operating System SoftwareIOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)Technical Support: http://www.cisco.com/techsupportCopyright (c) 1986-2005 by cisco Systems, Inc.Compiled Wed 27-Apr-04 19:01 by miwang

advertisement version: 2Duplex: full

R1# show cdp interfaceFastEthernet0/0 is up, line protocol is up Sending CDP packets every 60 seconds Holdtime is 180 secondsFastEthernet0/1 is administratively down, line protocol is down Sending CDP packets every 60 seconds Holdtime is 180 secondsSerial0/0 is up, line protocol is up Sending CDP packets every 60 seconds Holdtime is 180 secondsR1#

Penggunaan Resolving Hostname pada Router R1:R1# config tR1(config)#ip host R2 192.168.2.2R1(config)#exit

R1#ping 192.168.2.2Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 17/31/46 ms

R1#ping R2Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:!!!!!

17

Page 18: CCNA Bootcamp

CCNA R&S Bootcamp

Success rate is 100 percent (5/5), round-trip min/avg/max = 31/31/32 ms

R1#telnet R2Trying 192.168.2.2 ...Open"Selamat Datang di Router R2"

User Access Verification

Username: adminPassword: R2#

Lab 6IP Routing

Hands-on LabsPada hands-on lab ini, lakukan konfigurasi sesuai topologi dibawah ini.

Berikut adalah Lab yang harus anda selesaikan pada Bab ini:

• Konfigurasi Static Route pada R1,R2,R3

• Verifikasi Static Route pada R1, R2, R3

• Konfigurasi RIP pada R1, R2, R3

• Verifikasi RIP pada R1, R2, R3

Perangkat (Hostname

IOS Version Interface IP Address

18

Page 19: CCNA Bootcamp

CCNA R&S Bootcamp

)R1 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.1.1/24

FastEthernet0/1 -Serial0/0 192.168.2.1/30

R2 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.3.1/24FastEthernet0/1 -Serial0/0 192.168.2.2/30Serial0/1 192.168.4.1/30

R3 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.5.1/24FastEthernet0/1 -Serial0/0 192.168.4.2/30

SW1 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -SW2 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -SW3 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -PC1 FastEthernet0 192.168.1.254/24PC2 FastEthernet0 192.168.3.254/24PC3 FastEthernet0 192.168.5.254/24

Konfigurasi Static Route pada R1,R2,R3R1#config tR1(config)#ip route 192.168.3.0 255.255.255.0 192.168.2.2R1(config)#ip route 192.168.4.0 255.255.255.252 192.168.2.2R1(config)#ip route 192.168.5.0 255.255.255.0 192.168.2.2R1(config)#exitR1#

R2#config tR2(config)#ip route 192.168.1.0 255.255.255.0 192.168.2.1R2(config)#ip route 192.168.5.0 255.255.255.0 192.168.4.2R2(config)#exitR2#

R3#config tR3(config)#ip route 192.168.1.0 255.255.255.0 192.168.4.1R3(config)#ip route 192.168.2.0 255.255.255.252 192.168.4.1R3(config)#ip route 192.168.3.0 255.255.255.0 192.168.4.1R3(config)#exitR3#

Verifikasi Static Route pada R1, lakukan sendiri untuk R2 dan R3:R1#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route

Gateway of last resort is not set

C 192.168.1.0/24 is directly connected, FastEthernet0/0 192.168.2.0/30 is subnetted, 1 subnetsC 192.168.2.0 is directly connected, Serial0/0S 192.168.3.0/24 [1/0] via 192.168.2.2 192.168.4.0/30 is subnetted, 1 subnetsS 192.168.4.0 [1/0] via 192.168.2.2S 192.168.5.0/24 [1/0] via 192.168.2.2

19

Page 20: CCNA Bootcamp

CCNA R&S Bootcamp

R1#ping 192.168.3.254Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.3.254, timeout is 2 seconds:.!!!!Success rate is 80 percent (4/5), round-trip min/avg/max = 80/90/94 ms

R1#ping 192.168.5.254Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.5.254, timeout is 2 seconds:.!!!!Success rate is 80 percent (4/5), round-trip min/avg/max = 80/109/125 ms

R1#

Konfigurasi RIP pada R1, R2, R3R1#config tR1(config)#no ip route 192.168.3.0 255.255.255.0 192.168.2.2 R1(config)#no ip route 192.168.4.0 255.255.255.252 192.168.2.2 R1(config)#no ip route 192.168.5.0 255.255.255.0 192.168.2.2

R1(config)#router ripR1(config-router)#network 192.168.1.0R1(config-router)#network 192.168.2.0R1(config-router)#exitR1(config)#exit

R1#write Building configuration...[OK]R1#

R2#config tR2(config)#no ip route 192.168.1.0 255.255.255.0 192.168.2.1 R2(config)#no ip route 192.168.5.0 255.255.255.0 192.168.4.2R2(config)#router ripR2(config-router)#network 192.168.2.0R2(config-router)#network 192.168.3.0R2(config-router)#network 192.168.4.0R2(config-router)#exitR2(config)#exit

R2#write Building configuration...[OK]R2#

R3#config tR3(config)#no ip route 192.168.1.0 255.255.255.0 192.168.4.1 R3(config)#no ip route 192.168.2.0 255.255.255.252 192.168.4.1 R3(config)#no ip route 192.168.3.0 255.255.255.0 192.168.4.1 R3(config)#router ripR3(config-router)#network 192.168.4.0R3(config-router)#network 192.168.5.0R3(config-router)#exitR3(config)#exit

20

Page 21: CCNA Bootcamp

CCNA R&S Bootcamp

R3#write Building configuration...[OK]R3#

Verifikasi RIP pada R1, lakukan sendiri untuk R2 dan R3:R1#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route

Gateway of last resort is not set

C 192.168.1.0/24 is directly connected, FastEthernet0/0 192.168.2.0/30 is subnetted, 1 subnetsC 192.168.2.0 is directly connected, Serial0/0R 192.168.3.0/24 [120/1] via 192.168.2.2, 00:00:23, Serial0/0R 192.168.4.0/24 [120/1] via 192.168.2.2, 00:00:23, Serial0/0R 192.168.5.0/24 [120/2] via 192.168.2.2, 00:00:23, Serial0/0

R1#show ip rip database 192.168.1.0/24 directly connected, FastEthernet0/0192.168.2.0/30 directly connected, Serial0/0192.168.3.0/24 [1] via 192.168.2.2, 00:00:01, Serial0/0192.168.4.0/24 [1] via 192.168.2.2, 00:00:01, Serial0/0192.168.5.0/24 [2] via 192.168.2.2, 00:00:01, Serial0/0

R1#ping 192.168.3.254Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.3.254, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 78/85/94 ms

R1#ping 192.168.5.254Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.5.254, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 94/114/125 ms

R1#

21

Page 22: CCNA Bootcamp

CCNA R&S Bootcamp

Lab 7Enhanced IGRP (EIGRP) and

Open Shortest Path First (OSPF)

Hands-on LabsPada hands-on lab ini, lakukan konfigurasi sesuai topologi dibawah ini.

Berikut adalah Lab yang harus anda selesaikan pada Bab ini:

• Konfigurasi EIGRP dengan AS Number 10

• Verifikasi EIGRP

• Konfigurasi OSPF dengan Process-ID 10 dan menggunakan Backbone Area 0

• Verifikasi OSPF

• Konfigurasi OSPF pada BMA (Broadcast Multi-Access) Networko Telusuri Proses pemilihan OSPF DR dan DBRo Menjadikan Router R3 sebagai DR dengan Router-ID paling Tinggio Menjadikan Router R2 interface fa0/0 menjadi DR dengan Priority 255

22

Page 23: CCNA Bootcamp

CCNA R&S Bootcamp

Perangkat (Hostname

)IOS Version Interface IP Address

R1 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.1.1/24FastEthernet0/1 -Serial0/0 192.168.2.1/30

R2 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.3.1/24FastEthernet0/1 -Serial0/0 192.168.2.2/30Serial0/1 192.168.4.1/30

R3 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.5.1/24FastEthernet0/1 -Serial0/0 192.168.4.2/30

SW1 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -SW2 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -SW3 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -PC1 FastEthernet0 192.168.1.254/24PC2 FastEthernet0 192.168.3.254/24PC3 FastEthernet0 192.168.5.254/24

Konfigurasi EIGRP dengan AS Number 10 pada R1, R2, dan R3:R1#config tR1(config)#router eigrp 10R1(config-router)#network 192.168.1.0R1(config-router)#network 192.168.2.0R1(config-router)#exitR1(config)#exit

R1#write Building configuration...[OK]R1#

R2#config tR2(config)#router eigrp 10R2(config-router)#network 192.168.2.0

23

Page 24: CCNA Bootcamp

CCNA R&S Bootcamp

R2(config-router)#network 192.168.3.0R2(config-router)#network 192.168.4.0R2(config-router)#exitR2(config)#exit

R2#write Building configuration...[OK]R2#

R3#config tR3(config)#router eigrp 10R3(config-router)#network 192.168.4.0R3(config-router)#network 192.168.5.0R3(config-router)#exitR3(config)#exitR3#

R3#write Building configuration...[OK]R3#

Verifikasi EIGRP pada Router R1, lakukan hal yang sama pada Router R2 dan R3:R1#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route

Gateway of last resort is not set

C 192.168.1.0/24 is directly connected, FastEthernet0/0 192.168.2.0/24 is variably subnetted, 2 subnets, 2 masksD 192.168.2.0/24 is a summary, 00:05:04, Null0C 192.168.2.0/30 is directly connected, Serial0/0D 192.168.3.0/24 [90/20514560] via 192.168.2.2, 00:03:40, Serial0/0D 192.168.4.0/24 [90/21024000] via 192.168.2.2, 00:03:35, Serial0/0D 192.168.5.0/24 [90/21026560] via 192.168.2.2, 00:02:04, Serial0/0

R1#show ip eigrp neighbors IP-EIGRP neighbors for process 10H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num0 192.168.2.2 Se0/0 13 00:03:50 40 1000 0 11

R1#show ip eigrp traffic IP-EIGRP Traffic Statistics for process 10 Hellos sent/received: 140/52 Updates sent/received: 4/5 Queries sent/received: 0/0 Replies sent/received: 0/0 Acks sent/received: 5/4 Input queue high water mark 1, 0 drops SIA-Queries sent/received: 0/0 SIA-Replies sent/received: 0/0

24

Page 25: CCNA Bootcamp

CCNA R&S Bootcamp

R1#show ip eigrp topology IP-EIGRP Topology Table for AS 10

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply, r - Reply status

P 192.168.1.0/24, 1 successors, FD is 28160 via Connected, FastEthernet0/0P 192.168.2.0/30, 1 successors, FD is 20512000 via Connected, Serial0/0P 192.168.2.0/24, 1 successors, FD is 20512000 via Summary (20512000/0), Null0P 192.168.3.0/24, 1 successors, FD is 20514560 via 192.168.2.2 (20514560/28160), Serial0/0P 192.168.4.0/24, 1 successors, FD is 21024000 via 192.168.2.2 (21024000/20512000), Serial0/0P 192.168.5.0/24, 1 successors, FD is 21026560 via 192.168.2.2 (21026560/20514560), Serial0/0

R1#show ip eigrp interfaces IP-EIGRP interfaces for process 10

Xmit Queue Mean Pacing Time Multicast PendingInterface Peers Un/Reliable SRTT Un/Reliable Flow Timer RoutesFa0/0 0 0/0 1236 0/10 0 0Se0/0 1 0/0 1236 0/10 0 0R1#

Konfigurasi OSPF dengan Process-ID 10 Area 0 pada R1, R2, dan R3:R1#config tR1(config)#no router eigrp 10R1(config)#router ospf 10R1(config-router)#network 192.168.1.0 0.0.0.255 area 0R1(config-router)#network 192.168.2.0 0.0.0.3 area 0R1(config-router)#exitR1(config)#exit

R1#write Building configuration...[OK]R1#

R2#config tR2(config)#no router eigrp 10R2(config)#router ospf 10R2(config-router)#network 192.168.2.0 0.0.0.3 area 0R2(config-router)#network 192.168.3.0 0.0.0.255 area 0R2(config-router)#network 192.168.4.0 0.0.0.3 area 0R2(config-router)#exitR2(config)#exit

R2#write Building configuration...[OK]R2#

R3#config tR3(config)#no router eigrp 10

25

Page 26: CCNA Bootcamp

CCNA R&S Bootcamp

R3(config)#router ospf 10R3(config-router)#network 192.168.4.0 0.0.0.3 area 0R3(config-router)#network 192.168.5.0 0.0.0.255 area 0R3(config-router)#exitR3(config)#exit

R3#write Building configuration...[OK]R3#

Verifikasi OSPF pada Router R1, lakukan hal yang sama pada Router R2 dan R3:R1#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route

Gateway of last resort is not set

C 192.168.1.0/24 is directly connected, FastEthernet0/0 192.168.2.0/30 is subnetted, 1 subnetsC 192.168.2.0 is directly connected, Serial0/0O 192.168.3.0/24 [110/782] via 192.168.2.2, 00:03:53, Serial0/0 192.168.4.0/24 is variably subnetted, 2 subnets, 2 masksR 192.168.4.0/24 [120/1] via 192.168.2.2, 00:00:22, Serial0/0O 192.168.4.0/30 [110/1562] via 192.168.2.2, 00:03:41, Serial0/0O 192.168.5.0/24 [110/1563] via 192.168.2.2, 00:01:51, Serial0/0

R1#show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface192.168.4.1 0 FULL/ - 00:00:33 192.168.2.2 Serial0/0

R1#show ip ospf database OSPF Router with ID (192.168.2.1) (Process ID 10)

Router Link States (Area 0)

Link ID ADV Router Age Seq# Checksum Link count192.168.2.1 192.168.2.1 250 0x80000003 0x00731a 3192.168.4.1 192.168.4.1 138 0x80000005 0x009a65 5192.168.5.1 192.168.5.1 126 0x80000003 0x0095e8 3

R1#show ip ospf interface FastEthernet0/0 is up, line protocol is up Internet address is 192.168.1.1/24, Area 0 Process ID 10, Router ID 192.168.2.1, Network Type BROADCAST, Cost: 1 Transmit Delay is 1 sec, State DR, Priority 1 Designated Router (ID) 192.168.2.1, Interface address 192.168.1.1 No backup designated router on this network Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:03 Index 1/1, flood queue length 0 Next 0x0(0)/0x0(0)

26

Page 27: CCNA Bootcamp

CCNA R&S Bootcamp

Last flood scan length is 1, maximum is 1 Last flood scan time is 0 msec, maximum is 0 msec Neighbor Count is 0, Adjacent neighbor count is 0 Suppress hello for 0 neighbor(s)Serial0/0 is up, line protocol is up Internet address is 192.168.2.1/30, Area 0 Process ID 10, Router ID 192.168.2.1, Network Type POINT-TO-POINT, Cost: 781 Transmit Delay is 1 sec, State POINT-TO-POINT, Priority 0 No designated router on this network No backup designated router on this network Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:02 Index 2/2, flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 1, maximum is 1 Last flood scan time is 0 msec, maximum is 0 msec Neighbor Count is 1 , Adjacent neighbor count is 1 Adjacent with neighbor 192.168.4.1 Suppress hello for 0 neighbor(s)R1#

Konfigurasi OSPF pada BMA (Broadcast Multi-Access) Network:

R1#config t

27

Page 28: CCNA Bootcamp

CCNA R&S Bootcamp

R1(config)#interface fa0/0R1(config-if)#no descriptionR1(config-if)#description "terhubung ke SW-BMA fa0/1"R1(config-if)#exitR1(config)#exit

R1#write Building configuration...[OK]R1#

R2#config tR2(config)#int fa0/0R2(config-if)#no ip addressR2(config-if)#ip add 192.168.1.2 255.255.255.0R2(config-if)#no descriptionR2(config-if)#description "terhubung ke SW-BMA fa0/2"R2(config-if)#exit

R2(config)#router ospf 10R2(config-router)#no network 192.168.3.0 0.0.0.255 area 0R2(config-router)#network 192.168.1.0 0.0.0.255 area 0R2(config-router)#exitR2(config)#exit

R2#writeBuilding configuration...[OK]R2#

R3#config tR3(config)#int fa0/0R3(config-if)#no ip addR3(config-if)#no descriptionR3(config-if)#ip add 192.168.1.3 255.255.255.0R3(config-if)#description "terhubung ke SW-BMA fa0/3"R3(config-if)#exitR3(config)#router ospf 10R3(config-router)#no network 192.168.5.0 0.0.0.255 area 0R3(config-router)#network 192.168.1.0 0.0.0.255 area 0R3(config-router)#exitR3(config)#exit

R3#write Building configuration...[OK]R3#

Telusuri Proses pemilihan OSPF DR dan DBR:R1#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface192.168.4.1 1 FULL/BDR 00:00:38 192.168.1.2 FastEthernet0/0192.168.5.1 1 FULL/DROTHER 00:00:34 192.168.1.3 FastEthernet0/0192.168.4.1 0 FULL/ - 00:00:30 192.168.2.2 Serial0/0R1#R1#

R2#show ip ospf neighbor

28

Page 29: CCNA Bootcamp

CCNA R&S Bootcamp

Neighbor ID Pri State Dead Time Address Interface192.168.2.1 1 FULL/DR 00:00:38 192.168.1.1 FastEthernet0/0192.168.5.1 1 FULL/DROTHER 00:00:34 192.168.1.3 FastEthernet0/0192.168.2.1 0 FULL/ - 00:00:30 192.168.2.1 Serial0/0192.168.5.1 0 FULL/ - 00:00:35 192.168.4.2 Serial0/1R2#

R3#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface192.168.2.1 1 FULL/DR 00:00:31 192.168.1.1 FastEthernet0/0192.168.4.1 1 FULL/BDR 00:00:32 192.168.1.2 FastEthernet0/0192.168.4.1 0 FULL/ - 00:00:37 192.168.4.1 Serial0/0R3#

Menjadikan Router R3 sebagai DR dengan Router-ID paling Tinggi:Perangkat

(Hostname)Router-ID

R1 10.10.1.1R2 10.10.2.1R3 10.10.3.1

R1#config tR1(config)#router ospf 10R1(config-router)#rouR1(config-router)#router-id 10.10.1.1R1(config-router)#exitR1(config)#exit

R1#write Building configuration...[OK]R1#

R2#config tEnter configuration commands, one per line. End with CNTL/Z.R2(config)#router ospf 10R2(config-router)#router-id 10.10.2.1R2(config-router)#exitR2(config)#exit

R2#write Building configuration...[OK]R2#

R3#config tR3(config)#router ospf 10R3(config-router)#router-id 10.10.3.1R3(config-router)#exitR3(config)#exit

R3#write Building configuration...[OK]R3#

R1#show ip ospf neighbor

29

Page 30: CCNA Bootcamp

CCNA R&S Bootcamp

Neighbor ID Pri State Dead Time Address Interface10.10.2.1 1 FULL/BDR 00:00:39 192.168.1.2 FastEthernet0/010.10.3.1 1 FULL/DR 00:00:32 192.168.1.3 FastEthernet0/010.10.2.1 0 FULL/ - 00:00:37 192.168.2.2 Serial0/0R1#

R2#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface10.10.3.1 1 FULL/DR 00:00:38 192.168.1.3 FastEthernet0/010.10.1.1 1 FULL/DROTHER 00:00:32 192.168.1.1 FastEthernet0/010.10.1.1 0 FULL/ - 00:00:33 192.168.2.1 Serial0/010.10.3.1 0 FULL/ - 00:00:37 192.168.4.2 Serial0/1R2#

R3#sh ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface10.10.1.1 1 FULL/DROTHER 00:00:33 192.168.1.1 FastEthernet0/010.10.2.1 1 FULL/BDR 00:00:36 192.168.1.2 FastEthernet0/010.10.2.1 0 FULL/ - 00:00:39 192.168.4.1 Serial0/0R3#

Menjadikan Router R2 interface fa0/0 menjadi DR dengan Priority 255:R2#config tR2(config)#interface fa0/0R2(config-if)#ip ospf priority 255R2(config-if)#exitR2(config)#exitR2#

R1#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface10.10.3.1 1 FULL/BDR 00:00:31 192.168.1.3 FastEthernet0/010.10.2.1 255 FULL/DR 00:00:31 192.168.1.2 FastEthernet0/010.10.2.1 0 FULL/ - 00:00:35 192.168.2.2 Serial0/0R1#

R2#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface10.10.3.1 1 FULL/BDR 00:00:32 192.168.1.3 FastEthernet0/010.10.1.1 1 FULL/DROTHER 00:00:32 192.168.1.1 FastEthernet0/010.10.1.1 0 FULL/ - 00:00:36 192.168.2.1 Serial0/010.10.3.1 0 FULL/ - 00:00:30 192.168.4.2 Serial0/1R2#

R3#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface10.10.1.1 1 FULL/DROTHER 00:00:33 192.168.1.1 FastEthernet0/010.10.2.1 255 FULL/DR 00:00:33 192.168.1.2 FastEthernet0/010.10.2.1 0 FULL/ - 00:00:32 192.168.4.1 Serial0/0R3#

30

Page 31: CCNA Bootcamp

CCNA R&S Bootcamp

Lab 8 & Lab 9Layer 2 Switching and

Spanning Tree Protocol (STP) & VLAN

Hands-on LabPada Lab untuk Bab ini, anda akan melakukan beberapa konfigurasi dibawah ini:

• Konfigurasi Dasar dari Switcho Konfigurasi VTPo Konfigurasi Port Trunko Konfigurasi Port Akses

• Konfigurasi R1 sebagai Inter-VLAN Routing menggunakan protocol 802.1q

• Verifikasi Konektifitas

• Konfigurasi dan Verifikasi Spanning Tree Protocolo Optimisasi STPo Configure PVST Rapid Spanning Tree Protocol

• Mengelola the MAC Address Table & Konfigurasi Port Security

31

Page 32: CCNA Bootcamp

CCNA R&S Bootcamp

• Mengelola Sistem Operasi Switch dan File Konfigurasio Backup dan Restore the Cisco IOS File ke Switch dari TFTP Servero Backup dan Restore Konfigurasi File dari TFTP Servero Recover Passwords on the Catalyst 2950

Perangkat (Hostname

)IOS Version Interface IP Address

Default Gateway

R1 c2600-i-mz.122-28.bin FastEthernet0/0 - -FastEthernet0/1.10 172.17.10.1/24 -FastEthernet0/1.20 172.17.20.1/24 -FastEthernet0/1.30 172.17.30.1/24 -FastEthernet0/1.99 172.17.99.1 /24 -

Serial0/0 -SW1 c2950-i6q4l2-mz.121-22.EA4.bin VLAN 99 172.17.99.11/24 172.17.99.1SW2 c2950-i6q4l2-mz.121-22.EA4.bin VLAN 99 172.17.99.12/24 172.17.99.1SW3 c2950-i6q4l2-mz.121-22.EA4.bin VLAN 99 172.17.99.13/24 172.17.99.1PC1 FastEthernet0 172.17.10.21/24 172.17.10.1PC2 FastEthernet0 172.17.20.22/24 172.17.20.1PC3 FastEthernet0 172.17.30.23/24 172.17.30.1

Perangkat (Hostname

)Port Fungsi Network

SW1 Fa0/1 – 0/4 802.1q Trunks (Native VLAN 99) 172.17.99.0 /24SW2 Fa0/1 – 0/4 802.1q Trunks (Native VLAN 99) 172.17.99.0 /24

Fa0/11 VLAN 10 – Faculty/Staff 172.17.10.0 /24Fa0/18 VLAN 20 – Students 172.17.20.0 /24Fa0/6 VLAN 30 – Guest (Default) 172.17.30.0 /24

SW3 Fa0/1 – 0/4 802.1q Trunks (Native VLAN 99) 172.17.99.0 /24PC1 FastEthernet0 172.17.10.21/24 172.17.10.1PC2 FastEthernet0 172.17.20.22/24 172.17.20.1

32

Page 33: CCNA Bootcamp

CCNA R&S Bootcamp

PC3 FastEthernet0 172.17.30.23/24 172.17.30.1

Perangkat (Hostname

)VTP Mode Operasi VTP Domain VTP Password

SW1 Server Lab ciscoSW2 Client Lab ciscoSW3 Client Lab cisco

VLAN VLAN NameVLAN 99 managementVLAN 10 faculty-staffVLAN 20 studentsVLAN 30 guest

Konfigurasi SW1:Switch>enableSwitch#erase startErasing the nvram filesystem will remove all configuration files! Continue? [confirm][OK]Erase of nvram: complete%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvramSwitch#reloadProceed with reload? [confirm]

Switch>enableSwitch#config tSwitch(config)#hostname SW1SW1(config)#enable secret ciscoSW1(config)#line console 0SW1(config-line)#password ciscoSW1(config-line)#loginSW1(config-line)#exit

SW1(config)#line vty 0 4SW1(config-line)#password ciscoSW1(config-line)#loginSW1(config-line)#exit

SW1(config)#no ip domain lookupSW1(config)#ip default-gateway 172.17.99.1SW1(config)#exit

SW1#write Building configuration...[OK]SW1#

SW1#config tEnter configuration commands, one per line. End with CNTL/Z.SW1(config)#interface range fa0/1-24SW1(config-if-range)#shutdownSW1(config-if-range)#exitSW1(config)#vtp mode serverDevice mode already VTP SERVER.SW1(config)#vtp domain LabChanging VTP domain name from NULL to LabSW1(config)#vtp password cisco

33

Page 34: CCNA Bootcamp

CCNA R&S Bootcamp

Setting device VLAN database password to ciscoSW1(config)#interface range fa0/1-5SW1(config-if-range)#switchport mode trunkSW1(config-if-range)#switchport trunk native vlan 99SW1(config-if-range)#no shutdownSW1(config-if-range)#exit

SW1(config)#vlan 99SW1(config-vlan)#name managementSW1(config-vlan)#exit

SW1(config)#vlan 10SW1(config-vlan)#name faculty-staffSW1(config-vlan)#exit

SW1(config)#vlan 20SW1(config-vlan)#name studentsSW1(config-vlan)#exit

SW1(config)#vlan 30SW1(config-vlan)#name guestSW1(config-vlan)#exit

SW1(config)#interfac vlan 99SW1(config-if)#ip address 172.17.99.11 255.255.255.0SW1(config-if)#no shutdownSW1(config-if)#exitSW1(config)#

SW1#show vlan brief

VLAN Name Status Ports---- -------------------------------- --------- -------------------------------1 default active Fa0/1, Fa0/2, Fa0/5, Fa0/6 Fa0/7, Fa0/8, Fa0/9, Fa0/10 Fa0/11, Fa0/12, Fa0/13, Fa0/14 Fa0/15, Fa0/16, Fa0/17, Fa0/18 Fa0/19, Fa0/20, Fa0/21, Fa0/22 Fa0/23, Fa0/2410 faculty-staff active 20 students active 30 guest active 99 management active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active SW1#

Konfigurasi SW2:Switch>enableSwitch#erase startErasing the nvram filesystem will remove all configuration files! Continue? [confirm][OK]Erase of nvram: complete%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvramSwitch#reloadProceed with reload? [confirm]

34

Page 35: CCNA Bootcamp

CCNA R&S Bootcamp

Switch>enableSwitch#config tSwitch(config)#hostname SW2SW2(config)#enable secret ciscoSW2(config)#line console 0SW2(config-line)#password ciscoSW2(config-line)#loginSW2(config-line)#exit

SW2(config)#line vty 0 4SW2(config-line)#password ciscoSW2(config-line)#loginSW2(config-line)#exit

SW2(config)#no ip domain lookupSW2(config)#ip default-gateway 172.17.99.1SW2(config)#exit

SW2#write Building configuration...

SW2#config tSW2(config)#interface range fa0/1-24SW2(config-if-range)#shutdownSW2(config-if-range)#exit

SW2(config)#vtp mode clientSetting device to VTP CLIENT mode.SW2(config)#vtp domain LabDomain name already set to Lab.SW2(config)#vtp password ciscoSetting device VLAN database password to cisco

SW2(config)#interface range fa0/1-4SW2(config-if-range)#switchport mode trunkSW2(config-if-range)#switchport trunk native vlan 99SW2(config-if-range)#no shutdownSW2(config-if-range)#exit

SW2(config)#interface fa0/11SW2(config-if)#switchport access vlan 10SW2(config-if)#no shutdownSW2(config-if)#exit

SW2(config)#interface fa0/18SW2(config-if)#switchport access vlan 20SW2(config-if)#no shutdownSW2(config-if)#exit

SW2(config)#interface fa0/6SW2(config-if)#switchport access vlan 30SW2(config-if)#no shutdownSW2(config-if)#exit

SW2(config)#interface vlan 99SW2(config-if)#ip address 172.17.99.12 255.255.255.0SW2(config-if)#no shutdownSW2(config-if)#exit

35

Page 36: CCNA Bootcamp

CCNA R&S Bootcamp

SW2(config)#exit

SW2#write Building configuration...[OK]SW2#

SW2#show vlan brief

VLAN Name Status Ports---- -------------------------------- --------- -------------------------------1 default active Fa0/5, Fa0/7, Fa0/8, Fa0/9 Fa0/10, Fa0/12, Fa0/13, Fa0/14 Fa0/15, Fa0/16, Fa0/17, Fa0/19 Fa0/20, Fa0/21, Fa0/22, Fa0/23 Fa0/2410 faculty-staff active Fa0/1120 students active Fa0/1830 guest active Fa0/699 management active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active SW2#

Konfigurasi SW3:Switch>enableSwitch#erase startErasing the nvram filesystem will remove all configuration files! Continue? [confirm][OK]Erase of nvram: complete%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvramSwitch#reloadProceed with reload? [confirm]

Switch>enableSwitch#config tSwitch(config)#hostname SW3SW3(config)#enable secret ciscoSW3(config)#line console 0SW3(config-line)#password ciscoSW3(config-line)#loginSW3(config-line)#exit

SW3(config)#line vty 0 4SW3(config-line)#password ciscoSW3(config-line)#loginSW3(config-line)#exit

SW3(config)#no ip domain lookupSW3(config)#ip default-gateway 172.17.99.1SW3(config)#exit

SW3#write Building configuration...

SW3#config t

36

Page 37: CCNA Bootcamp

CCNA R&S Bootcamp

SW3(config)#interface range fa0/1-24SW3(config-if-range)#shutdownSW3(config-if-range)#exit

SW3(config)#vtp mode clientSetting device to VTP CLIENT mode.SW3(config)#vtp domain LabDomain name already set to Lab.SW3(config)#vtp password ciscoSetting device VLAN database password to cisco

SW3(config)#interface range fa0/1-4SW3(config-if-range)#switchport mode trunkSW3(config-if-range)#switchport trunk native vlan 99SW3(config-if-range)#no shutdownSW3(config-if-range)#exit

SW3(config)#interface vlan 99SW3(config-if)#ip address 172.17.99.13 255.255.255.0SW3(config-if)#no shutdownSW3(config-if)#exitSW3(config)#exit

SW3#write Building configuration...[OK]SW3#

SW3#show vlan brief

VLAN Name Status Ports---- -------------------------------- --------- -------------------------------1 default active Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/2410 faculty-staff active 20 students active 30 guest active 99 management active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active SW3#

Konfigurasi R1 sebagai Inter-VLAN Routing menggunakan protocol 802.1q:R1#erase startup-config Erasing the nvram filesystem will remove all configuration files! Continue? [confirm][OK]Erase of nvram: complete%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram

R1#reload Proceed with reload? [confirm]

Router>enable

37

Page 38: CCNA Bootcamp

CCNA R&S Bootcamp

Router#config tRouter(config)#hostname R1R1(config)#enable secret ciscoR1(config)#line console 0R1(config-line)#password ciscoR1(config-line)#login

R1(config-line)#exitR1(config)#line vty 0 4R1(config-line)#password ciscoR1(config-line)#login

R1(config-line)#exitR1(config)#interface fa0/1R1(config-if)#no ip addressR1(config-if)#no shutdownR1(config-if)#exit

R1(config)#interface fa0/1.10R1(config-subif)#encapsulation dot1Q 10R1(config-subif)#ip address 172.17.10.1 255.255.255.0R1(config-subif)#exit

R1(config)#interface fa0/1.20R1(config-subif)#encapsulation dot1Q 20R1(config-subif)#ip address 172.17.20.1 255.255.255.0R1(config-subif)#exit

R1(config)#interface fa0/1.30R1(config-subif)#encapsulation dot1Q 30R1(config-subif)#ip address 172.17.30.1 255.255.255.0R1(config-subif)#exit

R1(config)#interface fa0/1.99R1(config-subif)#encapsulation dot1Q 99 native R1(config-subif)#ip address 172.17.99.1 255.255.255.0R1(config-subif)#exit

R1(config)#interface fa0/0R1(config-if)#description "terhubung ke web/tftp server"R1(config-if)#ip address 172.17.50.1 255.255.255.0R1(config-if)#no shutdownR1(config-if)#exit

R1(config)#ip route 0.0.0.0 0.0.0.0 172.17.50.254R1(config)#exit

R1#write Building configuration...[OK]R1#

Verifikasi Konektifitas PC1 dan SW1, lakukan sendiri untuk perangkat yang lain:PC1>ping 172.17.10.1

Pinging 172.17.10.1 with 32 bytes of data:

Reply from 172.17.10.1: bytes=32 time=204ms TTL=255Reply from 172.17.10.1: bytes=32 time=110ms TTL=255

38

Page 39: CCNA Bootcamp

CCNA R&S Bootcamp

Reply from 172.17.10.1: bytes=32 time=80ms TTL=255Reply from 172.17.10.1: bytes=32 time=80ms TTL=255

Ping statistics for 172.17.10.1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 80ms, Maximum = 204ms, Average = 118ms

PC1>ping 172.17.20.22

Pinging 172.17.20.22 with 32 bytes of data:

Reply from 172.17.20.22: bytes=32 time=188ms TTL=127Reply from 172.17.20.22: bytes=32 time=188ms TTL=127Reply from 172.17.20.22: bytes=32 time=172ms TTL=127Reply from 172.17.20.22: bytes=32 time=156ms TTL=127

Ping statistics for 172.17.20.22: Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),Approximate round trip times in milli-seconds: Minimum = 156ms, Maximum = 188ms, Average = 172ms

PC1>ping 172.17.30.23

Pinging 172.17.30.23 with 32 bytes of data:

Reply from 172.17.30.23: bytes=32 time=172ms TTL=127Reply from 172.17.30.23: bytes=32 time=172ms TTL=127Reply from 172.17.30.23: bytes=32 time=188ms TTL=127Reply from 172.17.30.23: bytes=32 time=125ms TTL=127

Ping statistics for 172.17.30.23: Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),Approximate round trip times in milli-seconds: Minimum = 125ms, Maximum = 188ms, Average = 161ms

PC1>ping 172.17.50.254

Pinging 172.17.50.254 with 32 bytes of data:

Reply from 172.17.50.254: bytes=32 time=156ms TTL=127Reply from 172.17.50.254: bytes=32 time=125ms TTL=127Reply from 172.17.50.254: bytes=32 time=110ms TTL=127Reply from 172.17.50.254: bytes=32 time=109ms TTL=127

Ping statistics for 172.17.50.254: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 109ms, Maximum = 156ms, Average = 125ms

PC1>

SW1#ping 172.17.99.1

Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 172.17.99.1, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 31/34/47 ms

39

Page 40: CCNA Bootcamp

CCNA R&S Bootcamp

SW1#ping 172.17.50.254

Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 172.17.50.254, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 35/57/63 ms

SW1#

Konfigurasi dan Verifikasi Spanning Tree Protocol:SW1#show spanning-tree vlan 10VLAN0010 Spanning tree enabled protocol ieee Root ID Priority 32778 Address 0000.0C76.1D62 This bridge is the root Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 32778 (priority 32768 sys-id-ext 10) Address 0000.0C76.1D62 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 20

Interface Role Sts Cost Prio.Nbr Type---------------- ---- --- --------- -------- --------------------------------Fa0/1 Desg FWD 19 128.1 P2pFa0/2 Desg FWD 19 128.2 P2pFa0/3 Desg FWD 19 128.3 P2pFa0/4 Desg FWD 19 128.4 P2pFa0/5 Desg FWD 19 128.5 P2p

SW1#show spanning-tree vlan 20VLAN0020 Spanning tree enabled protocol ieee Root ID Priority 32788 Address 0000.0C76.1D62 This bridge is the root Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 32788 (priority 32768 sys-id-ext 20) Address 0000.0C76.1D62 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 20

Interface Role Sts Cost Prio.Nbr Type---------------- ---- --- --------- -------- --------------------------------Fa0/1 Desg FWD 19 128.1 P2pFa0/2 Desg FWD 19 128.2 P2pFa0/3 Desg FWD 19 128.3 P2pFa0/4 Desg FWD 19 128.4 P2pFa0/5 Desg FWD 19 128.5 P2p

SW1#show spanning-tree vlan 30VLAN0030 Spanning tree enabled protocol ieee Root ID Priority 32798 Address 0000.0C76.1D62 This bridge is the root Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

40

Page 41: CCNA Bootcamp

CCNA R&S Bootcamp

Bridge ID Priority 32798 (priority 32768 sys-id-ext 30) Address 0000.0C76.1D62 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 20

Interface Role Sts Cost Prio.Nbr Type---------------- ---- --- --------- -------- --------------------------------Fa0/1 Desg FWD 19 128.1 P2pFa0/2 Desg FWD 19 128.2 P2pFa0/3 Desg FWD 19 128.3 P2pFa0/4 Desg FWD 19 128.4 P2pFa0/5 Desg FWD 19 128.5 P2p

SW1#show spanning-tree vlan 99VLAN0099 Spanning tree enabled protocol ieee Root ID Priority 32867 Address 0000.0C76.1D62 This bridge is the root Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 32867 (priority 32768 sys-id-ext 99) Address 0000.0C76.1D62 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 20

Interface Role Sts Cost Prio.Nbr Type---------------- ---- --- --------- -------- --------------------------------Fa0/1 Desg FWD 19 128.1 P2pFa0/2 Desg FWD 19 128.2 P2pFa0/3 Desg FWD 19 128.3 P2pFa0/4 Desg FWD 19 128.4 P2pFa0/5 Desg FWD 19 128.5 P2p

SW1#

Optimisasi STP, dengan Memilih SW1 sebagai Root Bridge/Switch secara manual:Karena terdapat instance STP yang terpisah pada setiap VLAN yang aktif, maka pemilihan Root Bridge/Switch hanya terjadi pada VLAN tertentu saja. Secara default switch akan melakukan pemilihan bedasarkan kombinasi Priority dan MAC Address terkecil, dimana secara default Switch memiliki Priority adalah 32768. Sehingga penting sekali anda melakukan pemilihan Root secara manual karena beberapa alasan berikut:

• Karena Root Bridge/Switch bertanggung jawab men-generate (menghasilkan) BPDU pada STP 802.1D sehingga Root Switch/Bridge harus memiliki kemampuan untuk menangani Processing Load tambahan tersebut

• Penempatan Root Bridge/Switch biasanya ditempat yang bisa dijangkau secara optimal oleh switch yang lain. Biasanya pada Switch Distribution

SW1#config tSW1(config)#spanning-SW1(config)#spanning-tree vlSW1(config)#spanning-tree vlan 10 priSW1(config)#spanning-tree vlan 10 priority ? <0-61440> bridge priority in increments of 4096SW1(config)#spanning-tree vlan 10 priority 4096SW1(config)#spanning-tree vlan 20 priority 4096

41

Page 42: CCNA Bootcamp

CCNA R&S Bootcamp

SW1(config)#spanning-tree vlan 30 priority 4096SW1(config)#spanning-tree vlan 99 priority 4096SW1(config)#exit

SW1#show spanning-tree vlan 10 VLAN0010 Spanning tree enabled protocol ieee Root ID Priority 4106 Address 0000.0C76.1D62 This bridge is the root Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Bridge ID Priority 4106 (priority 4096 sys-id-ext 10) Address 0000.0C76.1D62 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 20

Interface Role Sts Cost Prio.Nbr Type---------------- ---- --- --------- -------- --------------------------------Fa0/1 Desg FWD 19 128.1 P2pFa0/2 Desg FWD 19 128.2 P2pFa0/3 Desg FWD 19 128.3 P2pFa0/4 Desg FWD 19 128.4 P2pFa0/5 Desg FWD 19 128.5 P2p

SW1#

Configure PVST Rapid Spanning Tree Protocol:SW1#config tSW1(config)#spanning-tree mode ? pvst Per-Vlan spanning tree mode rapid-pvst Per-Vlan rapid spanning tree mode

SW1(config)#spanning-tree mode rapid-pvstSW1(config)#exit

SW1#write Building configuration...[OK]SW1#

SW2#config tSW2(config)#spanning-tree mode ? pvst Per-Vlan spanning tree mode rapid-pvst Per-Vlan rapid spanning tree mode

SW2(config)#spanning-tree mode rapid-pvstSW2(config)#exit

SW2#write Building configuration...[OK]SW2#

SW3#config tSW3(config)#spanning-tree mode ? pvst Per-Vlan spanning tree mode rapid-pvst Per-Vlan rapid spanning tree mode

42

Page 43: CCNA Bootcamp

CCNA R&S Bootcamp

SW3(config)#spanning-tree mode rapid-pvstSW3(config)#exit

SW3#write Building configuration...[OK]SW3#

Mengelola the MAC Address Table & Konfigurasi Port Security:SW2#show mac-address-table Mac Address Table-------------------------------------------

Vlan Mac Address Type Ports---- ----------- -------- -----

1 0003.e4bc.7c01 DYNAMIC Fa0/2 10 0003.e4bc.7c02 DYNAMIC Fa0/1 20 0003.e4bc.7c01 DYNAMIC Fa0/2 30 0003.e4bc.7c01 DYNAMIC Fa0/2 99 0003.e4bc.7c01 DYNAMIC Fa0/2

SW2#config tSW2(config)#interface fa0/11SW2(config-if)#switchport port-security ? mac-address Secure mac address maximum Max secure addresses violation Security violation mode <cr>SW2(config-if)#switchport port-security maximum 2SW2(config-if)#switchport port-security mac-address ? H.H.H 48 bit mac address sticky Configure dynamic secure addresses as stickySW2(config-if)#switchport port-security mac-address stiSW2(config-if)#switchport port-security mac-address sticky SW2(config-if)#switchport port-security violation protect SW2(config-if)#exitSW2(config)#exit

SW2#write Building configuration...[OK]SW2#

Backup dan Restore the Cisco IOS File ke Switch dari TFTP Server:SW1#show flashDirectory of flash:/

1 -rw- 3058048 <no date> c2950-i6q4l2-mz.121-22.EA4.bin 2 -rw- 796 <no date> vlan.dat

64016384 bytes total (60957540 bytes free)

SW1#copy flash tftpSource filename []? c2950-i6q4l2-mz.121-22.EA4.binAddress or name of remote host []? 172.17.50.254Destination filename [c2950-i6q4l2-mz.121-22.EA4.bin]?

Writing c2950-i6q4l2-mz.121-

43

Page 44: CCNA Bootcamp

CCNA R&S Bootcamp

22.EA4.bin...!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![OK - 3058048 bytes]

3058048 bytes copied in 3.39 secs (902000 bytes/sec)SW1#

SW1#copy tftp flashAddress or name of remote host []? 172.17.50.254Source filename []? c2950-i6q4l2-mz.121-22.EA8.binDestination filename [c2950-i6q4l2-mz.121-22.EA8.bin]?

Accessing tftp://172.17.50.254/c2950-i6q4l2-mz.121-22.EA8.bin...Loading c2950-i6q4l2-mz.121-22.EA8.bin from 172.17.50.254: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![OK - 3117390 bytes]

3117390 bytes copied in 3.516 secs (886629 bytes/sec)

SW1#show flash: Directory of flash:/

1 -rw- 3058048 <no date> c2950-i6q4l2-mz.121-22.EA4.bin 3 -rw- 3117390 <no date> c2950-i6q4l2-mz.121-22.EA8.bin 2 -rw- 796 <no date> vlan.dat

64016384 bytes total (57840150 bytes free)

SW1#delete flash: Delete filename []?c2950-i6q4l2-mz.121-22.EA4.binDelete flash:/c2950-i6q4l2-mz.121-22.EA4.bin? [confirm]

SW1#config tSW1(config)#boot system ? WORD pathlist of boot file(s) ... file1;file2;...SW1(config)#boot system 2950-i6q4l2-mz.121-22.EA8.binSW1(config)#exit

SW1#write Building configuration...[OK]

SW1#reload Proceed with reload? [confirm]

Recover Passwords on the Catalyst 2950:1. Pastikan PC anda terhubung menggunakan Kabel Console ke Console port pada Switch, dan jangan lupa

aktifkan Hyperterminal sesuai dengan standar konfigurasi.2. Matikan Switch, kemudian nyalakan disaat bersamaan tekan tombol MODE dan tahan hingga SYS LED

(lampu SYS) berhenti berkedip dan nyala3. Saat itu anda akan menemukan di Hyperterminal anda tulisan dibawah ini

The system has been interrupted prior to initializing the flash filessystem. The following commands will initialize the flash files system,and finish loading the operating system software:flash_initload_helperboot

4. Setelah loading selesai, lakukan perintah dibawah ini, dan perhatian jangan lupa mengetik titik dua (:) setelah

44

Page 45: CCNA Bootcamp

CCNA R&S Bootcamp

perintah dir flash:switch:flash_initswitch:load_helperswitch:dir flash:

5. Kemudian ketik perintah dibawah ini agar mengganti nama file konfigurasi lama yang berisi password dengan nama lain:

rename flash:config.text flash:config.old

6. Restart sistem dengan perintah Boot7. Setelah masuk ke Switch lakukan perintah berikut ini:

Switch#rename flash:config.old flash:config.textSwitch#copy flash:config.text system:running-configSource filename [config.text]?[enter]Destination filename [running-config][enter]

The configuration file is now reloaded. Change the old unknown passwords as follows:ALSwitch#configure terminalALSwitch(config)#no enable secretALSwitch(config)#enable secret classALSwitch(config)#line console 0ALSwitch(config-line)#password ciscoALSwitch(config-line)#exitALSwitch(config)#line vty 0 15ALSwitch(config-line)#password ciscoALSwitch(config-line)#endALSwitch#copy running-config startup-configDestination filename [startup-config]?[enter] Building configuration...[OK]ALSwitch#

Lab 10Security

Hands-on LabsPada sesi ini, anda akan menyelesaikan dua lab yaitu Standard Access List dan Extended Accesslist dengan skenario masing-masing. Pastikan Anda konfigurasi jaringan anda menggunakan OSPF 10 area 10.

• Standard IP Access Listo Scenario: PC1 tidak bisa akses ke PC3

• Extended IP Access Listo Skenario-1: PC3 tidak bisa PING ke Server1 tetapi bisa Web Browsingo Skenario-2: PC2 bisa PING ke Server1 tetapi tidak bisa Web Browsing

45

Page 46: CCNA Bootcamp

CCNA R&S Bootcamp

Perangkat (Hostname

)IOS Version Interface IP Address

R1 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.1.1/24FastEthernet0/1 -Serial0/0 192.168.2.1/30

R2 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.3.1/24FastEthernet0/1 -Serial0/0 192.168.2.2/30Serial0/1 192.168.4.1/30

R3 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.5.1/24FastEthernet0/1 -Serial0/0 192.168.4.2/30

SW1 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -SW2 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -SW3 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -PC1 FastEthernet0 192.168.1.254/24PC2 FastEthernet0 192.168.3.254/24PC3 FastEthernet0 192.168.5.254/24

Standard Access List (Best Practice: Letakkan ACL dekat dengan Destination):R3#config tR3(config)#access-list 1 deny host 192.168.1.254 R3(config)#access-list 1 permit anyR3(config)#int se0/0R3(config-if)#ip access-group 1 inR3(config-if)#exitR3(config)#exit

R3#write Building configuration...[OK]R3#

PC1>ping 192.168.5.254

46

Page 47: CCNA Bootcamp

CCNA R&S Bootcamp

Pinging 192.168.5.254 with 32 bytes of data:

Request timed out.Request timed out.Request timed out.Request timed out.

Ping statistics for 192.168.5.254: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

PC1>

Extended Access List (Best Practice: Letakkan ACL dekat dengan Source):R1#config tR1(config)#access-list 100 deny icmp host 192.168.5.254 host 192.168.1.2R1(config)#access-list 100 deny tcp host 192.168.3.254 host 192.168.1.2 eq 80R1(config)#access-list 100 permit ip any anyR1(config)#exit

R1(config)#interface se0/0R1(config-if)#ip access-group 100 inR1(config-if)#exitR1(config)#exit

R1#write Building configuration...[OK]R1#

PC3>ping 192.168.1.2

Pinging 192.168.1.2 with 32 bytes of data:

Request timed out.Request timed out.Request timed out.Request timed out.

Ping statistics for 192.168.1.2: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

PC3>

47

Page 48: CCNA Bootcamp

CCNA R&S Bootcamp

PC2>ping 192.168.1.2

Pinging 192.168.1.2 with 32 bytes of data:

Reply from 192.168.1.2: bytes=32 time=111ms TTL=126Reply from 192.168.1.2: bytes=32 time=154ms TTL=126Reply from 192.168.1.2: bytes=32 time=141ms TTL=126Reply from 192.168.1.2: bytes=32 time=141ms TTL=126

Ping statistics for 192.168.1.2: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 111ms, Maximum = 154ms, Average = 136ms

PC2>

48

Page 49: CCNA Bootcamp

CCNA R&S Bootcamp

49

Page 50: CCNA Bootcamp

CCNA R&S Bootcamp

Lab 11Network Address Translation (NAT)

Hands-on LabPada Hands-on Lab Bab ini anda kan mencoba melakukan konfigurasi PAT (Port Address Translation) sesuai dengan Topologi dibawah ini, dimana R1 bertindak sebagai ISP yang akan mentranslasikan Network 192.168.3.0/24, 192.168.4.0/24, dan 192.168.5.0/24. Anda konfigurasi jaringan anda menggunakan OSPF 10 area 10 (LAB-7).

Perangkat (Hostname

)IOS Version Interface IP Address

R1 (ISP) c2600-i-mz.122-28.bin FastEthernet0/0 192.168.1.1/24FastEthernet0/1 -Serial0/0 192.168.2.1/30

R2 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.3.1/24FastEthernet0/1 -Serial0/0 192.168.2.2/30Serial0/1 192.168.4.1/30

R3 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.5.1/24FastEthernet0/1 -Serial0/0 192.168.4.2/30

SW1 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -SW2 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -SW3 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -PC1 FastEthernet0 192.168.1.254/24PC2 FastEthernet0 192.168.3.254/24PC3 FastEthernet0 192.168.5.254/24

50

Page 51: CCNA Bootcamp

CCNA R&S Bootcamp

Hands-on Lab 11.1: Preparing for NATR1#config tR1(config)#interface fa0/0R1(config-if)#ip nat outR1(config-if)#ip nat outside R1(config-if)#exit

R1(config)#interface se0/0R1(config-if)#ip nat insideR1(config-if)#exit

R1(config)#access-list 1 permit 192.168.3.0 0.0.0.255R1(config)#access-list 1 permit 192.168.4.0 0.0.0.255R1(config)#access-list 1 permit 192.168.5.0 0.0.0.255R1(config)#ip nat pool internet 192.168.1.1 192.168.1.1 netmask 255.255.255.0R1(config)#ip nat inside source list 1 pool internet overloadR1(config)#exit

R1#write Building configuration...[OK]R1#

PC>ping 192.168.1.2

Pinging 192.168.1.2 with 32 bytes of data:

Reply from 192.168.1.2: bytes=32 time=156ms TTL=126Reply from 192.168.1.2: bytes=32 time=125ms TTL=126Reply from 192.168.1.2: bytes=32 time=125ms TTL=126Reply from 192.168.1.2: bytes=32 time=136ms TTL=126

Ping statistics for 192.168.1.2: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 125ms, Maximum = 156ms, Average = 135ms

PC>

R1#show ip nat translations Pro Inside global Inside local Outside local Outside globalicmp 192.168.1.1:10 192.168.3.254:10 192.168.1.2:10 192.168.1.2:10icmp 192.168.1.1:11 192.168.3.254:11 192.168.1.2:11 192.168.1.2:11icmp 192.168.1.1:12 192.168.3.254:12 192.168.1.2:12 192.168.1.2:12icmp 192.168.1.1:9 192.168.3.254:9 192.168.1.2:9 192.168.1.2:9tcp 192.168.1.1:1028 192.168.5.254:1028 192.168.1.2:80 192.168.1.2:80tcp 192.168.1.1:1029 192.168.5.254:1029 192.168.1.2:80 192.168.1.2:80

R1#

51

Page 52: CCNA Bootcamp

CCNA R&S Bootcamp

Lab 12Cisco’s Wireless Technologies

Hands-on LabsPada Hands-on Lab berikut, anda akan melakukan konfigurasi Wireless Router Cisco sesuai dengan topologi dibawah ini (LAB-7):

Perangkat (Hostname

)IOS Version Interface IP Address

R1 (ISP) c2600-i-mz.122-28.bin FastEthernet0/0 192.168.1.1/24FastEthernet0/1 -Serial0/0 192.168.2.1/30

R2 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.3.1/24FastEthernet0/1 -Serial0/0 192.168.2.2/30Serial0/1 192.168.4.1/30

R3 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.5.1/24FastEthernet0/1 -Serial0/0 192.168.4.2/30

SW1 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -SW2 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -SW3 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -PC1 FastEthernet0 192.168.1.254/24PC2 FastEthernet0 192.168.3.254/24PC3 FastEthernet0 192.168.5.254/24

Wireless Router3

Internet0/0 192.168.1.2/24

Access Point LAN 192.168.0.1/24DHCP Range 192.168.0.2/24 s.d 192.168.0.254/24

52

Page 53: CCNA Bootcamp

CCNA R&S Bootcamp

Konfigurasi Wireless Router3 Menggunakan Web Utility:1. Akses melalui URL standar.

Arahkan browser anda ke http://192.168.1.1.

2. Masukkan informasi autentikasi.

3. Ganti alamat Internet0/0 menjadi alamat static

53

Page 54: CCNA Bootcamp

CCNA R&S Bootcamp

4. Set alamat IP untuk interface Internet0/0 menjadi 192.168.1.2/24 dan Default-Gateway 192.168.1.1

5. Aktifkan DHCP Server dengan range Valid pada Network 192.168.0.0/24, dan jangan lupa di simpan (save)

6. Periksa koneksi pada Laptop3PC>ping 192.168.1.2

Pinging 192.168.1.2 with 32 bytes of data:

Reply from 192.168.1.2: bytes=32 time=78ms TTL=255Reply from 192.168.1.2: bytes=32 time=93ms TTL=255Reply from 192.168.1.2: bytes=32 time=94ms TTL=255Reply from 192.168.1.2: bytes=32 time=94ms TTL=255

Ping statistics for 192.168.1.2: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds:

54

Page 55: CCNA Bootcamp

CCNA R&S Bootcamp

Minimum = 78ms, Maximum = 94ms, Average = 89ms

PC>

Lab 13Internet Protocol Version 6 (IPv6)

Hands-On LabPada Hands-on Lab berikut, anda akan melakukan konfigurasi IPv6 pada setiap Router sesuai dengan topologi dibawah ini:

• Konfigurasi RIPng

• Verifikasi RIPng

• Konfigurasi EIGRPv6 (AS:10)

• Verifikasi EIGRPv6

• Konfigurasi OSPFv3 (Process-ID: 10, Area 0)

• Verifikasi OSPFv3

Perangkat (Hostname

)IOS Version Interface IP Address

R1 c1841-advipservicesk9-mz.124-15.T1.bin FastEthernet0/0 2001:DB8:0:1::1/64FastEthernet0/1 -Serial0/0/0 FC00:0:0:1::1/64

R2 c1841-advipservicesk9-mz.124-15.T1.bin FastEthernet0/0 2001:DB8:0:2::1/64FastEthernet0/1 -Serial0/0/0 FC00:0:0:1::2/64Serial0/1/0 FC00:0:0:2::1/64

R3 c1841-advipservicesk9-mz.124-15.T1.bin FastEthernet0/0 2001:DB8:0:3::1/64FastEthernet0/1 -Serial0/0/0 FC00:0:0:2::2/64

SW1 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -SW2 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -SW3 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -

55

Page 56: CCNA Bootcamp

CCNA R&S Bootcamp

PC1 FastEthernet0 AutoconfigPC2 FastEthernet0 AutoconfigPC3 FastEthernet0 Autoconfig

Konfigurasi RIPng pada R1, R2, dan R3:Router>enableRouter#config tRouter(config)#hostname R1R1(config)#ipv6 unicast-routing R1(config)#interface fa0/0R1(config-if)#ipv6 enableR1(config-if)#ipv6 address 2001:DB8:0:1::1/64R1(config-if)#ipv6 rip 1 enableR1(config-if)#no shutR1(config-if)#exit

R1(config)#interface se0/0/0R1(config-if)#ipv6 enableR1(config-if)#ipv6 address FC00:0:0:1::1/64R1(config-if)#ipv6 rip 1 enableR1(config-if)#no shutR1(config-if)#exitR1(config)#exit

R1#write Building configuration...[OK]R1#

Router>enableRouter#config tRouter(config)#hostname R2R2(config)#ipv6 unicast-routing

R2(config)#int se0/0/0R2(config-if)#ipv6 enableR2(config-if)#ipv6 address FC00:0:0:1::2/64R2(config-if)#ipv6 rip 1 enableR2(config-if)#clock rate 64000R2(config-if)#no shutR2(config-if)#exit

R2(config)#interface se0/1/0R2(config-if)#ipv6 enableR2(config-if)#ipv6 address FC00:0:0:2::1/64R2(config-if)#ipv6 rip 1 enableR2(config-if)#clock rate 64000R2(config-if)#no shutR2(config-if)#exit

R2(config)#interface fa0/0R2(config-if)#ipv6 enableR2(config-if)#ipv6 address 2001:DB8:0:2::1/64R2(config-if)#ipv6 rip 1 enableR2(config-if)#no shutR2(config-if)#exit

56

Page 57: CCNA Bootcamp

CCNA R&S Bootcamp

R2(config)#exit

R2#write Building configuration...[OK]R2#

Router>enableRouter#config tRouter#hostname R3Router(config)#ipv6 unicast-routing R3(config)#int se0/0/0R3(config-if)#ipv6 enableR3(config-if)#ipv6 add FC00:0:0:2::2/64R3(config-if)#ipv6 rip 1 enableR3(config-if)#no shutR3(config-if)#exit

R3(config)#int fa0/0R3(config-if)#ipv6 enableR3(config-if)#ipR3(config-if)#ipv6 add 2001:DB8:0:3::1/64R3(config-if)#ipv6 rip 1 enableR3(config-if)#no shutR3(config-if)#exitR3(config)#exitR3#

R3#write Building configuration...[OK]R3#

Verifikasi RIPng pada R1 dan PC1. (lakukan sendiri untuk R2, R3, PC2 dan PC3):R1#show ipv6 route IPv6 Routing Table - 8 entriesCodes: C - Connected, L - Local, S - Static, R - RIP, B - BGP U - Per-user Static route, M - MIPv6 I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2 D - EIGRP, EX - EIGRP externalC 2001:DB8:0:1::/64 [0/0] via ::, FastEthernet0/0L 2001:DB8:0:1::1/128 [0/0] via ::, FastEthernet0/0R 2001:DB8:0:2::/64 [120/1] via FE80::206:2AFF:FE8E:BD6E, Serial0/0/0R 2001:DB8:0:3::/64 [120/2] via FE80::206:2AFF:FE8E:BD6E, Serial0/0/0C FC00:0:0:1::/64 [0/0] via ::, Serial0/0/0L FC00:0:0:1::1/128 [0/0] via ::, Serial0/0/0R FC00:0:0:2::/64 [120/1] via FE80::206:2AFF:FE8E:BD6E, Serial0/0/0L FF00::/8 [0/0] via ::, Null0

57

Page 58: CCNA Bootcamp

CCNA R&S Bootcamp

R1#show ipv6 rip database RIP process "1" local RIB 2001:DB8:0:2::/64, metric 1, installed Serial0/0/0/FE80::206:2AFF:FE8E:BD6E, expires in 169 sec 2001:DB8:0:3::/64, metric 2, installed Serial0/0/0/FE80::206:2AFF:FE8E:BD6E, expires in 169 sec FC00:0:0:2::/64, metric 1, installed Serial0/0/0/FE80::206:2AFF:FE8E:BD6E, expires in 169 secR1#

PC1>ping 2001:DB8:0:2:260:70FF:FED5:8002

Pinging 2001:DB8:0:2:260:70FF:FED5:8002 with 32 bytes of data:

Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=281ms TTL=126Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=140ms TTL=126Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=139ms TTL=126Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=143ms TTL=126

Ping statistics for 2001:DB8:0:2:260:70FF:FED5:8002: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 139ms, Maximum = 281ms, Average = 175ms

PC1>ping 2001:DB8:0:3:2E0:A3FF:FE79:8BEB

Pinging 2001:DB8:0:3:2E0:A3FF:FE79:8BEB with 32 bytes of data:

Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=297ms TTL=125Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=174ms TTL=125Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=188ms TTL=125Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=174ms TTL=125

Ping statistics for 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 174ms, Maximum = 297ms, Average = 208ms

PC1>

Konfigurasi EIGRPv6 (AS:10) pada R1, R2, dan R3:R1>enableR1#config tR1(config)#ipv6 router eigrp 10R1(config-rtr)#router-id 1.1.1.1R1(config-rtr)#no shutR1(config-if)#exit

R1(config)#interface fa0/0R1(config-if)#no ipv6 rip 1 enableR1(config-if)#ipv6 eigrp ? <1-65535> AS numberR1(config-if)#ipv6 eigrp 10R1(config-if)#exit

R1(config)#interface se0/0/0R1(config-if)#no ipv6 rip 1 enable

58

Page 59: CCNA Bootcamp

CCNA R&S Bootcamp

R1(config-if)#ipv6 eigrp 10R1(config-if)#exitR1(config)#exit

R1#write Building configuration...[OK]R1#

R2>enableR2#config tR2(config)#ipv6 router eigrp 10R2(config-rtr)#router-id 2.2.2.2R2(config-rtr)#no shutdownR2(config-rtr)#exit

R2(config)#int se0/0/0R2(config-if)#no ipv6 rip 1 enableR2(config-if)#ipv6 eigrp 10R2(config-if)#exit

R2(config)#int se0/1/0R2(config-if)#no ipv6 rip 1 enableR2(config-if)#ipv6 eigrp 10R2(config-if)#exit

R2(config)#int fa0/0R2(config-if)#no ipv6 rip 1 enableR2(config-if)#ipv6 eigrp 10R2(config-if)#exitR2(config)#exit

R2#write Building configuration...[OK]R2#

R3>enableR3#config tR3(config)#ipv6 router eigrp 10R3(config-rtr)#router-id 3.3.3.3R3(config-rtr)#no shutR3(config-rtr)#exit

R3(config)#int se0/0/0R3(config-if)#no ipv6 rip 1 enableR3(config-if)#ipv6 eigrp 10

R3(config-if)#exitR3(config)#int fa0/0R3(config-if)#no ipv6 rip 1 enableR3(config-if)#ipv6 eigrp 10R3(config-if)#exitR3(config)#exit

R3#write Building configuration...[OK]R3#

59

Page 60: CCNA Bootcamp

CCNA R&S Bootcamp

Verifikasi EIGRPv6 (AS:10) pada R1 dan PC1. (Lakukan sendiri untuk R2, R3, PC2 dan PC3):R1#show ipv6 route IPv6 Routing Table - 8 entriesCodes: C - Connected, L - Local, S - Static, R - RIP, B - BGP U - Per-user Static route, M - MIPv6 I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2 D - EIGRP, EX - EIGRP externalC 2001:DB8:0:1::/64 [0/0] via ::, FastEthernet0/0L 2001:DB8:0:1::1/128 [0/0] via ::, FastEthernet0/0D 2001:DB8:0:2::/64 [90/20514560] via FE80::206:2AFF:FE8E:BD6E, Serial0/0/0D 2001:DB8:0:3::/64 [90/21026560] via FE80::206:2AFF:FE8E:BD6E, Serial0/0/0C FC00:0:0:1::/64 [0/0] via ::, Serial0/0/0L FC00:0:0:1::1/128 [0/0] via ::, Serial0/0/0D FC00:0:0:2::/64 [90/21024000] via FE80::206:2AFF:FE8E:BD6E, Serial0/0/0L FF00::/8 [0/0] via ::, Null0

R1#show ipv6 eigrp neighbors IPv6-EIGRP neighbors for process 10H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num0 FE80::206:2AFF:FE8E:BD6ESe0/0/0 13 00:10:01 40 1000 0 5

R1#show ipv6 eigrp topology IPv6-EIGRP Topology Table for AS 10/ID(1.1.1.1)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply, r - Reply status

P 2001:DB8:0:1::/64, 1 successors, FD is 28160 via Connected, FastEthernet0/0P FC00:0:0:1::/64, 1 successors, FD is 20512000 via Connected, Serial0/0/0P FC00:0:0:2::/64, 1 successors, FD is 21024000 via FE80::206:2AFF:FE8E:BD6E (21024000/20512000), Serial0/0/0P 2001:DB8:0:2::/64, 1 successors, FD is 20514560 via FE80::206:2AFF:FE8E:BD6E (20514560/28160), Serial0/0/0P 2001:DB8:0:3::/64, 1 successors, FD is 21026560 via FE80::206:2AFF:FE8E:BD6E (21026560/20514560), Serial0/0/0R1#

PC1>ping 2001:DB8:0:2:260:70FF:FED5:8002

Pinging 2001:DB8:0:2:260:70FF:FED5:8002 with 32 bytes of data:

Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=141ms TTL=126Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=156ms TTL=126Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=125ms TTL=126

60

Page 61: CCNA Bootcamp

CCNA R&S Bootcamp

Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=141ms TTL=126

Ping statistics for 2001:DB8:0:2:260:70FF:FED5:8002: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 125ms, Maximum = 156ms, Average = 140ms

PC1>ping 2001:DB8:0:3:2E0:A3FF:FE79:8BEB

Pinging 2001:DB8:0:3:2E0:A3FF:FE79:8BEB with 32 bytes of data:

Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=172ms TTL=125Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=172ms TTL=125Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=172ms TTL=125Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=187ms TTL=125

Ping statistics for 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 172ms, Maximum = 187ms, Average = 175ms

PC1>

Konfigurasi OSPFv3 (Process-ID:10, Area:0) pada R1, R2, dan R3:R1#config tR1(config)#no ipv6 router eigrp 10R1(config)#ipv6 router ospf 10R1(config-rtr)#router-id 1.1.1.1R1(config-rtr)#exit

R1(config)#int fa0/0R1(config-if)#no ipv6 eigrp 10R1(config-if)#ipv6 ospf 10 area 0R1(config-if)#exit

R1(config)#int se0/0/0R1(config-if)#no ipv6 eigrp 10R1(config-if)#ipv6 ospf 10 area 0R1(config-if)#exitR1(config)#exit

R1#write Building configuration...[OK]R1#

R2>enableR2#config tR2(config)#no ipv6 router eigrp 10R2(config)#ipv6 router ospf 10R2(config-rtr)#router-id 2.2.2.2R2(config-rtr)#exit

R2(config)#int se0/0/0R2(config-if)#no ipv6 eigrp 10R2(config-if)#ipv6 ospf 10 area 0R2(config-if)#exit

R2(config)#int fa0/0

61

Page 62: CCNA Bootcamp

CCNA R&S Bootcamp

R2(config-if)#no ipv6 eigrp 10R2(config-if)#ipv6 ospf 10 area 0R2(config-if)#exit

R2(config)#int se0/1/0R2(config-if)#no ipv6 eigrp 10R2(config-if)#ipv6 ospf 10 area 0R2(config-if)#exitR2(config)#exit

R2#write Building configuration...[OK]R2#

R3>enableR3#config tR3(config)#no ipv6 router eigrp 10R3(config)#ipv6 router ospf 10R3(config-rtr)#router-id 3.3.3.3R3(config-rtr)#exit

R3(config)#int se0/0/0R3(config-if)#no ipv6 eigrp 10R3(config-if)#ipv6 ospf 10 area 0R3(config-if)#exit

R3(config)#int fa0/0R3(config-if)#no ipv6 eigrp 10R3(config-if)#ipv6 ospf 10 area 0R3(config-if)#exitR3(config)#exit

R3#write Building configuration...[OK]R3#

Verifikasi OSPFv3 (Process-ID:10, Area:0) pada R1 dan PC1, (lakukan sendiri pada R2, R3, PC2, dan PC3):R1#show ipv6 routeIPv6 Routing Table - 8 entriesCodes: C - Connected, L - Local, S - Static, R - RIP, B - BGP U - Per-user Static route, M - MIPv6 I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2 D - EIGRP, EX - EIGRP externalC 2001:DB8:0:1::/64 [0/0] via ::, FastEthernet0/0L 2001:DB8:0:1::1/128 [0/0] via ::, FastEthernet0/0O 2001:DB8:0:2::/64 [110/781] via FE80::206:2AFF:FE8E:BD6E, Serial0/0/0O 2001:DB8:0:3::/64 [110/1562] via FE80::206:2AFF:FE8E:BD6E, Serial0/0/0C FC00:0:0:1::/64 [0/0] via ::, Serial0/0/0L FC00:0:0:1::1/128 [0/0]

62

Page 63: CCNA Bootcamp

CCNA R&S Bootcamp

via ::, Serial0/0/0O FC00:0:0:2::/64 [110/781] via FE80::206:2AFF:FE8E:BD6E, Serial0/0/0L FF00::/8 [0/0] via ::, Null0

R1#show ipv6 ospf neighbor

Neighbor ID Pri State Dead Time Interface ID Interface2.2.2.2 0 FULL/ - 00:00:31 3 Serial0/0/0

R1#show ipv6 ospf database OSPF Router with ID (1.1.1.1) (Process ID 10)

Router Link States (Area 0)

ADV Router Age Seq# Link count Bits1.1.1.1 317 0x80000002 1 2.2.2.2 114 0x80000003 2 3.3.3.3 114 0x80000002 1

Link (Type-8) Link States (Area 0)ADV Router Age Seq# Link ID1.1.1.1 448 0x80000001 11.1.1.1 321 0x80000003 32.2.2.2 317 0x80000002 3

Intra Area Prefix Link States (Area 0)ADV Router Age Seq# Link ID Ref-lstype Ref-LSID1.1.1.1 426 0x80000002 2 0x2001 02.2.2.2 223 0x80000003 2 0x2001 03.3.3.3 92 0x80000002 2 0x2001 0R1#

PC1>ping 2001:DB8:0:2:260:70FF:FED5:8002

Pinging 2001:DB8:0:2:260:70FF:FED5:8002 with 32 bytes of data:

Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=94ms TTL=126Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=141ms TTL=126Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=141ms TTL=126Reply from 2001:DB8:0:2:260:70FF:FED5:8002: bytes=32 time=156ms TTL=126

Ping statistics for 2001:DB8:0:2:260:70FF:FED5:8002: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minimum = 94ms, Maximum = 156ms, Average = 133ms

PC>ping 2001:DB8:0:3:2E0:A3FF:FE79:8BEB

Pinging 2001:DB8:0:3:2E0:A3FF:FE79:8BEB with 32 bytes of data:

Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=156ms TTL=125Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=172ms TTL=125Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=188ms TTL=125Reply from 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: bytes=32 time=171ms TTL=125

Ping statistics for 2001:DB8:0:3:2E0:A3FF:FE79:8BEB: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

63

Page 64: CCNA Bootcamp

CCNA R&S Bootcamp

Approximate round trip times in milli-seconds: Minimum = 156ms, Maximum = 188ms, Average = 171ms

PC1>

Lab 14Wide Area Networks

Hands-on LabPada sesi ini, anda akan mengkonfigurasi beberapa poin dibawah ini

• Konfigurasi dan verifikasi Enkapsulasi PPP menggunakan Autentikasi CHAP

• Konfigurasi dan Verifikasi Frame Relay

Konfigurasi dan verifikasi Enkapsulasi PPP menggunakan Autentikasi CHAPPastikan anda telah melakukan konfigurasi OSPF (Process-ID: 10, Area:0)untuk topologi dibawah ini (gunakan step-by-step pada Hands-on Lab Bab 7):

Perangkat (Hostname

)IOS Version Interface IP Address

R1 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.1.1/24FastEthernet0/1 -Serial0/0 192.168.2.1/30

R2 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.3.1/24FastEthernet0/1 -Serial0/0 192.168.2.2/30Serial0/1 192.168.4.1/30

R3 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.5.1/24FastEthernet0/1 -Serial0/0 192.168.4.2/30

64

Page 65: CCNA Bootcamp

CCNA R&S Bootcamp

SW1 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -SW2 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -SW3 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -PC1 FastEthernet0 192.168.1.254/24PC2 FastEthernet0 192.168.3.254/24PC3 FastEthernet0 192.168.5.254/24

R1#config tR1(config)#username R2 password ciscoR1(config)#interface se0/0R1(config-if)#encapsulation pppR1(config-if)#ppp authentication chapR1(config-if)#exitR1(config)#exit

R1#write Building configuration...[OK]R1#

R2#config tR2(config)#username R1 password ciscoR2(config)#username R3 password ciscoR2(config)#interface se0/0R2(config-if)#encapsulation pppR2(config-if)#ppp authentication chapR2(config-if)#exitR2(config)#exit

R2#write Building configuration...[OK]R2#

R3#config tR3(config)#username R2 password ciscoR3(config)#interface se0/0R3(config-if)#encapsulation pppR3(config-if)#ppp authentication chapR3(config-if)#exitR3(config)#exit

R3#write Building configuration...[OK]R3#

Verifikasi pada R1, lakukan sendiri pada R2 dan R3:R1#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route

65

Page 66: CCNA Bootcamp

CCNA R&S Bootcamp

Gateway of last resort is not set

C 192.168.1.0/24 is directly connected, FastEthernet0/0 192.168.2.0/30 is subnetted, 1 subnetsC 192.168.2.0 is directly connected, Serial0/0O 192.168.3.0/24 [110/782] via 192.168.2.2, 00:07:28, Serial0/0 192.168.4.0/24 is variably subnetted, 2 subnets, 2 masksR 192.168.4.0/24 [120/1] via 192.168.2.2, 00:00:06, Serial0/0O 192.168.4.0/30 [110/1562] via 192.168.2.2, 00:06:34, Serial0/0O 192.168.5.0/24 [110/1563] via 192.168.2.2, 00:06:23, Serial0/0

R1#show interface se0/0Serial0/0 is up, line protocol is up (connected) Hardware is HD64570 Description: "terhubung ke R2 se-0/0" Internet address is 192.168.2.1/30 MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation PPP, loopback not set, keepalive set (10 sec) LCP Open Open: IPCP, CDPCP Last input never, output never, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0 (size/max/drops); Total output drops: 0 Queueing strategy: weighted fair Output queue: 0/1000/64/0 (size/max total/threshold/drops) Conversations 0/0/256 (active/max active/max total) Reserved Conversations 0/0 (allocated/max allocated) Available Bandwidth 96 kilobits/sec 5 minute input rate 30 bits/sec, 0 packets/sec 5 minute output rate 30 bits/sec, 0 packets/sec 26 packets input, 1820 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 22 packets output, 1404 bytes, 0 underruns 0 output errors, 0 collisions, 2 interface resets 0 output buffer failures, 0 output buffers swapped out 0 carrier transitions DCD=up DSR=up DTR=up RTS=up CTS=upR1#

66

Page 67: CCNA Bootcamp

CCNA R&S Bootcamp

Konfigurasi dan Verifikasi Frame RelayPastikan anda telah melakukan konfigurasi OSPF (Process-ID: 10, Area:0)untuk topologi dibawah ini (gunakan step-by-step pada Hands-on Lab Bab 7):

Perangkat (Hostname

)IOS Version Interface IP Address

R1 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.1.1/24FastEthernet0/1 -Serial0/0 (DLCI: 102) 192.168.2.1/30

R2 c2600-i-mz.122-28.bin FastEthernet0/0 -FastEthernet0/1 -Serial0/0 -Serial0/1 -

R3 c2600-i-mz.122-28.bin FastEthernet0/0 192.168.5.1/24FastEthernet0/1 -Serial0/0 (DLCI: 201) 192.168.2.2/30

SW1 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -SW2 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -SW3 c2950-i6q4l2-mz.121-22.EA4.bin FastEthernet0/1 – 24 -PC1 FastEthernet0 192.168.1.254/24PC2 FastEthernet0 192.168.3.254/24PC3 FastEthernet0 192.168.5.254/24

FR-Switch#config t

67

Page 68: CCNA Bootcamp

CCNA R&S Bootcamp

FR-Switch(config)#frame-relay switching FR-Switch(config)#interface serial 0/0 FR-Switch(config-if)#clock rate 64000 FR-Switch(config-if)#encapsulation frame-relay FR-Switch(config-if)#frame-relay intf-type dce FR-Switch(config-if)#frame-relay route 102 interface serial 0/1 201 FR-Switch(config-if)#no shutdownFR-Switch(config-if)#exit FR-Switch(config)#interface serial 0/1 FR-Switch(config-if)#clock rate 64000 FR-Switch(config-if)#encapsulation frame-relay FR-Switch(config-if)#frame-relay intf-type dce FR-Switch(config-if)#frame-relay route 201 interface serial 0/0 102 FR-Switch(config-if)#no shutdownFR-Switch(config-if)#exitFR-Switch(config)#exit

FR-Switch#writeBuilding configuration...[OK]FR-Switch#

R1#config tR1(config)#interface serial 0/0R1(config-if)#encapsulation frame-relay R1(config-if)#no frame-relay inverse-arp R1(config-if)#frame-relay map ip 192.168.2.2 102 broadcast R1(config-if)#no shutdown R1(config-if)#exitR1(config)#exit

R1#write Building configuration...[OK]R1#

R2#config tR2(config)#interface serial 0/0R2(config-if)#encapsulation frame-relay R2(config-if)#no frame-relay inverse-arp R2(config-if)#frame-relay map ip 192.168.2.1 201 broadcast R2(config-if)#no shutdown R2(config-if)#exitR2(config)#exit

R2#write Building configuration...[OK]R2#

R1#ping 192.168.2.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms

68

Page 69: CCNA Bootcamp

CCNA R&S Bootcamp

R2#ping 192.168.2.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms

69