1.6.2-packet-tracer----configure-basic-router-settings---physical-mode
LANGKAH-LANGKAH:
> sambungkan Pc-A,S1,R1,Server seperti di topology atas menggunakan cable Copper Straight-through
> sambungkan R1 Console dengan Pc RS232 menggunakan cable Console
1. klik server >desktop >ip configuration
3. teriminal pc >ketikan perintah berikut:
Router>en
Router#conf t
Router(config) #h R1
R1(config)#ip domain-name ccna-lab.com
R1(config)#service password-encryption
R1(config)#enable secret $cisco! PRIV*
R1 (config)#username SSHadmin
R1(config) #enable secret password 55Hadm!n2020.
R1(config) #crypto key generate rsa
The name for the keys will be: R1.ccna-lab.com
Choose the size of the key modulus in the range of 360 to 4096 for your General Purpose Keys. Choosing a key modulus greater than 512 may take a few minutes.
How many bits in the modulus [512]: 1024
Generating 1024 bit RSA keys, keys will be non-exportable... [OK]
R1(config)#line console 0
R1(config-line)#login
R1(config-line)#password cisco
R1(config-line)#password. $cisco! PRIV*
R1(config-line)#password Scisco!!CON*
R1 (config-line)#password $cisco!! VTY*
R1(config-line)#banner motd #Unauthorized access is prohibited#
R1 (config)#line vty 0 15
R1(config-line)#password $cisco!! VTY*
R1(config-line)#line vty 0
R1(config-line)#password Scisco!! VTY*
R1(config-line)#exit
R1 (config)#security password min-length 12
R1(config) #username SSHadmin secret 55Hadm!n2020
R1 (config)#line con 0
R1(config-line)#password Scisco!!CON*
R1(config-line)#exec-timeout 40
R1(config-line)#login
R1(config-line)#exit
R1 (config)#line vty 0
R1(config-line)#transport input ssh
R1(config-line)#exec-timeout 40
R1(config-line)#login local
R1(config-line)#password $cisco!! VTY*
R1(config-line)#exit
R1(config)#ipv6 unicast-routing
R1(config)#line vty 1
R1 (config-line)#password $cisco!! VTY*
R1(config-line)#exec-timeout 4 0
R1(config-line)#trnasport input ssh
Invalid input detected at ^ marker.
R1(config-line)#transport input ssh
R1 (config-line)#line vty 2
R1 R1(config-line)#transport input ssh
(config-line)#password Scisco!! VTY*
R1(config-line)#line vty 3
R1(config-line)#transport input ssh
R1(config-line)#line vty 4
R1(config-line)#exit
R1 (config)#login block-for 120 attempts 3 within 60
R1(config)#exit
R1#clock set 11:24:00 5 sept 2024
R1#copy running-config startup-config
R1#conf t
R1 (config)#int g0/0/1
R1 (config-if)#ip address 192.168.1.1 255.255.255.0
R1 (config-if)#ipv6 address 2001:db8:acad:1::1/64
R1(config-if)#ipv6 address fe80::1 link-local
R1(config-if)#no sh
R1(config-if)#int g0/0/0
R1(config-if)#ip address 192.168.0.1 255.255.255.0
R1(config-if)#ipv6 address 2001:db8:acad:: 1/64
R1(config-if)#ipv6 address fe80::1 link-local
R1(config-if)#no sh
R1(config-if)#int loopback0
R1 (config-if)#ip address 10.0.0.1 255.255.255.0
R1(config-if)#ipv6 address 2001:db8:acad:2::1/64
R1(config-if)#ipv6 address fe80::1 link-local
R1 (config-if)#no sh
R1(config-if)#exit
R1(config)#int g0/0/0
R1(config-if)#description connection to sl
R1(config-if)#int g0/0/1
R1 (config-if)#description connection to s1
R1(config-if)#line vty 2
R1(config-line)#exec-timeout 40
R1(config-line)#line vty 3
R1(config-line)#exec-timeout 40
R1 (config-line)#line vty 4
R1(config-line)#exec-timeout 4 0
R1(config-line)#exit
4. klik server >desktop >ip ( yang sama seperti di atas )
Tidak ada komentar:
Posting Komentar