Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lookup
Router(config)#hostname JAKARTA
JAKARTA(config)#banner motd #
Enter TEXT message. End with the character '#'.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
SELAMAT BELAJAR
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
#
JAKARTA(config)#int g0/0
JAKARTA(config-if)#ip add 192.168.20.1 255.255.255.0
JAKARTA(config-if)#no sh
JAKARTA(config-if)#exit
JAKARTA(config)#ip domain-name test.id
JAKARTA(config)#crypto key generate rsa
The name for the keys will be: JAKARTA.test.id
How many bits in the modulus [512]: 2048
% Generating 2048 bit RSA keys, keys will be non-exportable...[OK]
JAKARTA(config)#username yoga secret belajar
JAKARTA(config)#line vty 0 4
JAKARTA(config-line)#login local
JAKARTA(config-line)#transport input ssh
JAKARTA(config-line)#exit
JAKARTA(config)#enable secret belajar
JAKARTA(config)#service password-encryption
JAKARTA(config)#exit
Pasang Ip leptop 192.168.20.2 dan defaut getway 192.168.20.1
hasil