Konfigurasi Router
13-Dec-16 2
Topics
Cisco Internetwork Operating System (IOS).
Mode IOS
Struktur Perintah Dasar IOS
File Konfigurasi
Pengetesan Konektivitas Jaringan
13-Dec-16 3
S Ward Abingdon and Witney College CCNA Exploration Semester 1
IOS (Internetwork Operating System)
Semua perangkat Cisco menggunakan
Cisco IOS.
Detil mungkin berbeda beda tergantung
perangkat dan fiturnya
Akses normal melalui command line
IOS Disimpan di flash memory dan bisa
diupgrade.
Dijalankan dalam RAM.
13-Dec-16 4
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Akses ke interface
Console port melalui serial connection
Initial configuration
Telnet, SSH, Aux
Konfigurasi berikutnya melalui Telnet
IP address harus dikonfigurasi
Password harus dikonfigurasi
Secure shell memberikan keamanan tambahan
13-Dec-16 5
S Ward Abingdon and Witney College CCNA Exploration Semester 1
File Konfigurasi
Menyimpan perintah yang sudah
dikonfigurasi di router
Running configuration di RAM menyimpan
perintah yang sekarang dijalankan
Startup configuration di NVRAM menyimpan
saved commands.
13-Dec-16 6
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Router storage areas
ROM Flash
Permanen Menyimpan IOS image
POST, instruksi boot, System files
limited IOS
NVRAM RAM
Startup configuration Volatile
file runnning config, tables,
queues etc
13-Dec-16 7
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Mode IOS
Router(config-if)#
Specific Configuration modes and others
13-Dec-16 S Ward Abingdon and Witney College CCNA Exploration Semester
9 1
Router prompts
13-Dec-16 12
S Ward Abingdon and Witney College CCNA Exploration Semester 1
? Untuk mengeluarkan Help
Router#show runming-config
% Invalid input detected at ^ marker
^
13-Dec-16 17
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Show
show commands menghasilkan informasi
dari router dan operasinya
Show running-config menunjukkan file
konfigurasi yang ada di RAM
Show startup-config menunjukkan file
konfigurasi yang ada di NVRAM
Show version memberikan informasi tentang
IOS dan router
13-Dec-16 18
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Show
13-Dec-16 20
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Show interfaces
13-Dec-16 22
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Hostname
Router>enable
Router#config t
Router(config)#hostname Paris
Paris(config)#
13-Dec-16 23
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Console password
Paris(config)#line con 0
Paris(config-line)#password cisco
Paris(config-line)#login
Paris(config-line)#exit
13-Dec-16 24
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Vty password for Telnet
Paris(config)#line vty 0 4
Paris(config-line)#password cisco
Paris(config-line)#login
Paris(config-line)#exit
13-Dec-16 25
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Enable and enable secret
Paris(config)#enable password cisco
Tidak dienkripsi
13-Dec-16 26
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Message of the day
Paris(config)#banner motd # No
unauthorised access #
13-Dec-16 27
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Message of the day
13-Dec-16 29
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Back up ke TFTP server
Paris#copy running-config tftp
Remote host []? 172.16.1.1
Name of configuration file to write [Paris-
config]? Paris12Oct16
Write file Paris12Oct16 to 172.16.1.1?
[confirm] y
Writing Paris12Oct16 ! ! ! ! ! ! [OK]
13-Dec-16 30
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Restore file dari TFTP server
Router#copy tftp running-config
Anda akan diminta alamat IP address dan file
name.
Konfigurasi disalin ke RAM dan berlaku saat itu
juga.
Disimpan ke NVRAM.
13-Dec-16 31
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Putty text file
Putty adalah freeware Telnet client yang
paling populer
Bisa digunakan juga sebagai SSH client
Bisa melakukan capture text dan
menyimpannya di file.
13-Dec-16 32
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Menghapus startup configuration
Paris#erase NVRAM:startup-config
Paris#erase startup-config
Paris#erase start
Ketika reload berikutnya, router akan start up
dengan default konfigurasi. Tanpa passwords,
tanpa IP addresses.
13-Dec-16 34
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Konfigurasi router interface
Paris(config)#interface serial 0/0
Paris(config-if)#ip address 192.168.4.1
255.255.255.0
(Paris(config-if)#clock rate 64000)
Paris(config-if)#no shutdown
Paris(config-if)#exit DCE only
13-Dec-16 35
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Description
Paris(config)#interface fa0/0
Paris(config-if)#description Connects to
Paris central switch
13-Dec-16 36
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Switch interfaces
Switch physical interfaces tidak memiliki IP
addresses
Active secara default dan tidak
membutuhkan command no shutdown.
Bisa ditambahkan deskripsi.
13-Dec-16 37
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Switch IP address
switch IP address digunakan di virtual
interface, misalnya VLAN1.
SwA(config)#interface VLAN1
SwA(config-if)#ip address 172.16.255.1
255.255.0.0
SwA(config-if)#no shutdown
SwA(config-if)#exit
13-Dec-16 38
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Switch default gateway
SwA(config)#ip default gateway
172.16.255.254
13-Dec-16 39
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Interface show commands
show interfaces memberikan informasi
up/down, memberikan informasi protocol dan
statistics dari interface.
show ip interface memberikan informasi IP
addresses dan informasi tambahan lain.
show ip interface brief memberikan
informasi IP addresses dan up/down
13-Dec-16 40
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Interface show commands
13-Dec-16 42
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Ping step by step
Ping 127.0.0.1 (loopback, apakah TCP/IP
OK?)
Ping lokal IP address (apakah NIC hardware
dan driver bisa bekerja?)
Ping gateway
Ping intermediate routers
Ping hosts di remote networks
13-Dec-16 43
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Informasi tentang nodes
Ping digunakan melalui host, router/switch
menunjukkan tujuan bisa dikontak
Traceroute menunjukkan rute hop ke
tujuan
Arp -a di host menunjukkan list dari MAC
dan IP address
show mac-address-table - di switch
menunjukkan list dari MAC addresses dan
switch ports
13-Dec-16 44
S Ward Abingdon and Witney College CCNA Exploration Semester 1
Selesai
13-Dec-16 46
S Ward Abingdon and Witney College CCNA Exploration Semester 1