TELNET
|
Device
|
Interface
|
Ip address
|
|
Pc-0
|
Fa0
|
192.168.10.2/24
|
|
R1
|
Fa0
|
192.168.10.1/24
|
Pasang IP
address di router interface fa0/0
|
Router>en
Router#conf t
Enter configuration commands, one per line.
End with CNTL/Z.
Router(config)#hostname R1
R1(config)#int fa0/0
R1(config-if)#ip address 192.168.10.1
255.255.255.0
R1(config-if)#no sh
|
Setting authentication di line telnet, jika ada PC yang
hendak telnet ke router maka akan diminta password authentication.
|
R1(config)#line vty
0 4
R1(config-line)#pass
R1(config-line)#password
ccie
R1(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>en
|
Jika settingan masuk ke mode privilege belum di setting maka
yang lewat jalur telnet tidak bisa masuk.Kita harus setting password privilege
mode terlebih dahulu agar yang bisa masuk lewat jalur telnet bisa masuk.
|
R1(config-line)#enable password ccie
|
Jika sudah di setting maka sudah bisa masuk ke mode
privilege :
|
R1#enable
R1#conf t
Enter configuration
commands, one per line. End with CNTL/Z.
R1(config)#
|
|
Dari PC O
|
|
R1(config)#do sh run
|
Hasilnya password dapat dilihat
|
Building
configuration...
Current
configuration : 599 bytes
!
version 12.4
no service
timestamps log datetime msec
no service timestamps
debug datetime msec
no service
password-encryption
!
hostname R1
!
!
!
enable password ccie
!
!
!
!
!
!
ip cef
no ipv6 cef
--More--
|
Agar password tidak kelihatan maka kita perlu masukan skrip
ini :
|
R1(config)#service password-encryption
|