Selasa, 31 Maret 2015

Kumpulan Perintah - Perintah Cisco Packet Tracer

Kumpulan Perintah - Perintah Cisco Packet Tracer



Router Configuration atau meng-Konfigurasi Router

Router>
Router>enable
Router#configure terminal
Router(config)#

Router(config)#line console 0
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit

Router(config)#line vty 0 15
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit

Router(config)#line aux 0
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit

Router(config)#enable password class
Router(config)#enable secret class
Router(config)#service password-encryption

Router(config)#banner motd "Authorized Personnel Only"

Router(config)#interface gigabitEthernet 0/0
Router(config-if)#ip address 172.16.5.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#description S1 LAN
Router(config-if)#exit

Router(config)#interface gigabitEthernet 0/1
Router(config-if)#ip address 192.168.5.1 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#description S2 LAN
Router(config-if)#exit

Router(config)#exit
Router#copy running-config startup-config 


Switch Configuration alias meng-Konfigurasi Switch

Switch> 
Switch>enable
Switch#configure terminal
Switch(config)#

Switch(config)#hostname S1

S1(config)#line console 0  
S1(config-line)#password cisco  
S1(config-line)#login
S1(config-line)#exit

S1(config)#line vty 0 15
S1(config-line)#password cisco  
S1(config-line)#login
S1(config-line)#exit

S1(config)#enable password class  
S1(config)#enable secret class  
S1(config)#service password-encryption

S1(config)#banner motd "Authorized Personnel Only"

S1(config)#interface vlan 1  
S1(config-if)#ip address 172.16.5.2 255.255.255.0  
S1(config-if)#no shutdown
S1(config-if)#description S1 - Router LAN
S1(config-if)#exit

S1(config)#ip default-gateway 172.16.5.1 (ip default gateway di dapat dari IP jalur router yang mengarah ke switch, ada Gig0/0, Gig0/1)

S1(config)#exit  
S1#copy running-config startup-config


Untuk Switch ke-2

Switch> 
Switch>enable
Switch#configure terminal
Switch(config)#

Switch(config)#hostname S2

S2(config)#line console 0  
S2(config-line)#password cisco  
S2(config-line)#login
S2(config-line)#exit

S2(config)#line vty 0 15
S2(config-line)#password cisco  
S2(config-line)#login
S2(config-line)#exit

S2(config)#enable password class  
S2(config)#enable secret class  
S2(config)#service password-encryption

S2(config)#banner motd "Authorized Personnel Only"

S2(config)#interface vlan 1  
S2(config-if)#ip address 192.168.5.252 255.255.255.0  
S2(config-if)#no shutdown
S2(config-if)#description S2 - Router LAN  
S2(config-if)#exit

S2(config)#ip default-gateway 192.168.5.1 (ip default gateway di dapat dari IP jalur router yang mengarah ke switch, ada Gig0/0, Gig0/1)

S2(config)#exit  

S2#copy running-config startup-config

 

Untuk pengisian ip address, subnet mask dan ip default gateway pada PC, klik PC  > Desktop > IP Configuration > isilah sesuai dengan kolom-kolomnya.

Ok untuk sekarang, cukup sampai disini ajah dulu, nanti saya lanjutkan...,

Jangan lupa, tinggalkan komentar...., Terimakasih





6 komentar: