Professional Documents
Culture Documents
XII TKJ 2
ROUTER
Router>ena
Router#ex
Router>ena
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lookup
Router(config)#host r1
r1(config)#int g0/0/0
r1(config-if)#des
r1(config-if)#no shut
r1(config-if)#
r1(config-if)#exit
r1(config)#
r1(config)#int g0/0/1
r1(config-if)#des
r1(config-if)#no shut
r1(config-if)#
r1(config-if)#exit
r1(config)#
r1(config)#enable sec
r1(config)#service pass
r1(config)#service password-encryption
r1(config)#security pass
r1>
r1>en
Password:
r1#conf t
r1(config)#line console 0
r1(config-line)#pass
r1(config-line)#password cisco12345
r1(config-line)#login
r1(config-line)#exit
r1(config)#
r1(config)#line vty 0 15
r1(config-line)#trans
r1(config-line)#login local
r1(config-line)#exit
r1(config)#
r1(config)#cryp
Choose the size of the key modulus in the range of 360 to 2048 for your
General Purpose Keys. Choosing a key modulus greater than 512 may take
a few minutes.
r1(config)#end
*Mar 1 2:38:36.214: RSA key size needs to be at least 768 bits for ssh version 2
r1#
r1#copy run
% Incomplete command.
r1#copy run
Building configuration...
[OK]
SWITCH
s1(config)#banner motd #unauthorized access to this device is prohibited#
s1(config)#int vlan1
s1(config-if)#des
s1(config-if)#description switch subnet A
s1(config-if)#IP ADD
% Incomplete command.
s1(config-if)#ip add
s1(config-if)#ip address 192.168.10 .2 255.255.255.128
^
% Invalid input detected at '^' marker.
s1(config-if)#ip address 192.168.10.2 255.255.255.128
s1(config-if)#no shut
s1(config-if)#
%LINK-5-CHANGED: Interface Vlan1, changed state to up
s1(config-if)#exit
s1(config)#
s1(config)#ip gate
s1(config)#ip default
s1(config)#ip default-gateway 192.168.10.1
s1(config)#ena secret cisco12345
s1(config)#service pass
s1(config)#service password-encryption
s1(config)#ip domain-name smktelkom2.net
s1(config)#usern
s1(config)#username netadmin secret cisco12345
s1(config)#line console 0
s1(config-line)#pass
s1(config-line)#password cisco12345
s1(config-line)#login
s1(config-line)#exit
s1(config)#line vty 0 15
s1(config-line)#trans
s1(config-line)#transport input ssh
s1(config-line)#login local
s1(config-line)#exit
s1(config)#
s1(config)#crypt
s1(config)#crypto key gener
s1(config)#crypto key generate rsa
The name for the keys will be: s1.smktelkom2.net
Choose the size of the key modulus in the range of 360 to 2048 for your
General Purpose Keys. Choosing a key modulus greater than 512 may take
a few minutes.
s1(config)#
*Mar 1 3:1:14.684: RSA key size needs to be at least 768 bits for ssh version 2
*Mar 1 3:1:14.684: %SSH-5-ENABLED: SSH 1.5 has been enabled
s1(config)#int rang f0/1-4, f0/7-24,g0/1-2
s1(config-if-range)#desc
s1(config-if-range)#description port yang tidak aktif
s1(config-if-range)#shut
s1#copy runn
s1#copy running-config start
s1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]