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
|
|
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
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
|
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
|
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 |