Popular Post

Popular Posts

Posted by : Unknown Selasa, 23 Agustus 2016

TELNET
TOPOLOGI  :

Device
Interface
IP Address
PC-0
Fa0
192.168.10.10/24
Router1
Fa0/0
192.168.10.1/24 


Pasang IP address di router interface fa0/0

Router>enable
Router#conf terminal
Router(config)#int fa0/0
Router(config-if)#ip address 192.168.10.1 255.255.255.0
Router(config-if)#no sh

Setting authentication di line telnet, jika ada PC yan hendak telnet ke router maka akan diminta password authentication :

Router(config-if)#line vty 0 4
Router(config-line)#password 123
Router(config-line)#login
  

Outputnya akan seperti ini :

PC>telnet 192.168.10.1
Trying 192.168.10.1 ...Open
User Access Verification
Password:
Router>en
% No password set.
Router>




Router(config)#enable password 123
Artinya kita bisa masuk ke router tetapi tidak bisa masuk ke mode privilege , nah agar kita bisa masuk ke privilege mode maka kita harus setting router nya sbb :


Jika sudah maka kita bisa masuk ke privilege mode
Router#telnet 192.168.10.1
Trying 192.168.10.1 ...Open
User Access Verification
Password:
Router>en
Password:
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#
  

Dari PC 0

Router(config)#do sh run
Settingan yang tadi kita buat masih ada kelemahan yaitu password yang kita buat masih bisa dibaca saat menampilkan “show run “, lebih baiknya dienkripsi terlebih dahulu.
 


Hasilnya password dapat dilihat

Building configuration...
Current configuration : 539 bytes
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
hostname Router
enable password 123

Agar password tidak kelihatan maka kita perlu masukan script :
Router(config)#service password-encryption
   
Dan hasilnya seperti ini setelah di ketik  do sh run



Router(config)#service password-encryption
Router(config)#do sh run
Building configuration...
Current configuration : 550 bytes
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
hostname Router
enable password 7 08701E1D
 




Leave a Reply

Subscribe to Posts | Subscribe to Comments

- Copyright © Newbie TKJ - Devil Survivor 2 - Powered by Blogger - Designed by Johanes Djogan -