Konfigurasi Cisco Router : Basic Config
1. User Mode
2. Privilage Mode
3. Global Configuration Mode
Step By Step Konfigurasi Dasar Cisco Router
Router>en
Router#sh
Router#show s
Router#show startup-config
startup-config is not present
Router#
Router#sh
Router#show run
Router#show running-config
Building configuration...
Current configuration : 553 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
1.Memberi Nama Router, gunakan perintah hostname [nama_router]
Router#en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ho
Router(config)#hostname BpnLabs-R0
BpnLabs-R0(config)#
2. Meberikan Password
2.1. Set Password Untuk Akses Ke Privilege Mode
BpnLabs-R0>en
BpnLabs-R0#conf t
Enter configuration commands, one per line. End with CNTL/Z.
BpnLabs-R0(config)#en
BpnLabs-R0(config)#ena
BpnLabs-R0(config)#enable pas
BpnLabs-R0(config)#enable password cisco12345
BpnLabs-R0(config)#ena
BpnLabs-R0(config)#enable sec
BpnLabs-R0(config)#enable secret cisco12345
The enable secret you have chosen is the same as your enable password.
This is not recommended. Re-enter the enable secret.
BpnLabs-R0(config)#
2.3 Set Password Virtual Terminal
BpnLabs-R0(config)#lin
BpnLabs-R0(config)#line vty 0 4
BpnLabs-R0(config-line)#pas
BpnLabs-R0(config-line)#password cisco12345
BpnLabs-R0(config-line)#exec
BpnLabs-R0(config-line)#exec-timeout 10
BpnLabs-R0(config-line)#log
BpnLabs-R0(config-line)#login
BpnLabs-R0(config-line)#
2.4 Set Password Auxiliary
BpnLabs-R0(config)#line aux 0
BpnLabs-R0(config-line)#pas
BpnLabs-R0(config-line)#password cisco12345
BpnLabs-R0(config-line)#ex
BpnLabs-R0(config-line)#exe
BpnLabs-R0(config-line)#exec-timeout 10
BpnLabs-R0(config-line)#login
3. Set IP Address
BpnLabs-R0(config)#interface fastEthernet 0/0
BpnLabs-R0(config-if)#ip add 192.168.2.1 255.255.255.0
BpnLabs-R0(config-if)#no sh
BpnLabs-R0(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
BpnLabs-R0(config-if)#exit
BpnLabs-R0(config)#in
BpnLabs-R0(config)#interface fas
BpnLabs-R0(config)#interface fastEthernet 0/1
BpnLabs-R0(config-if)#ip add 10.0.0.1 255.255.255.0
BpnLabs-R0(config-if)#no sh
BpnLabs-R0(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
BpnLabs-R0#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 = 0/3/5 ms
BpnLabs-R0#ping 10.0.0.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms
4. Save Configurasi
BpnLabs-R0#write
Building configuration...
[OK]
BpnLabs-R0#copy run
BpnLabs-R0#copy running-config st
BpnLabs-R0#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Terakhir kita cek konfigurasi dasar cisco router yang telah kita buat dan kita simpan dengan perintah show startup-config berikut:
BpnLabs-R0#show startup-config
Using 705 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname BpnLabs-R0
!
!
!
enable secret 5 $1$mERr$WvpW0n5HghRrqnrwXCUUl.
enable password cisco12345
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.2.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 10.0.0.1 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
password cisco12345
login
!
line vty 0 4
password cisco12345
login
!
!
!
end
5. Menghapus Konfigurasi
BpnLabs-R0#erase st
BpnLabs-R0#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
BpnLabs-R0#sh
BpnLabs-R0#show star
BpnLabs-R0#show startup-config
startup-config is not present
Gimana mudah tidak selamat mencoba!

