Device
|
Interface
|
IP Address
|
PC-0
|
Fa0
|
192.168.10.10/24
|
Router 0
|
Fa0/0
|
192.168.10.1/24
|
Pasang IP address di router interface fa0/0
Router(config)#int fa0/0
Router(config-if)#ip add
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 yang hendak tlnet ke router mka akan diminta password authentication :
Router(config-if)#line vty 0 4
Router(config-line)#pass
Router(config-line)#password ccie
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>
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
routernya sbb :
Router(config)#enable password ccie
Jika sudah maka kita bisa masuk ke privilege mode sbb :
PC>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)#
Settingan
yang tadi kita buat masih ada kelemahan yaitu password yang kita buat
masih bisa dibaca pada saat menampilkan “show run” lebih baiknya
dienkripsi terlebih dahulu.
Router(config)#do sh run
Hasilnya passwordnya dapat dilihat
Building configuration...
Current configuration : 541 bytes
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
hostname Router
enable password ccie
Agar passwordnya tidak kelihatan maka kita perlu masukkan scrip ini :
PC>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)#ser
Router(config)#service pa
Router(config)#service password-encryption
Router(config)#do sh run
Building configuration...
Current configuration : 554 bytes
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
hostname Router
enable password 7 08224F470C
0 Response to "Konfigurasi Telnet"
Post a Comment