Professional Documents
Culture Documents
Router
Router
Router#conf t
Router#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#ip dom
R1(config)#ip domain-name ccna-lab.com
R1(config)#serv
R1(config)#service pass
R1(config)#service password-encryption
R1(config)#secu
R1(config)#security password min
R1(config)#security password min-length 12
R1(config)#usern
R1(config)#username SSHadmin sec
R1(config)#username SSHadmin secret 55Hadm!n2020
R1(config)#encr
R1(config)#cry
R1(config)#crypto key g
R1(config)#crypto key generate rsa ge
R1(config)#crypto key generate rsa general-keys m
R1(config)#crypto key generate rsa general-keys modulus 1024
The name for the keys will be: R1.ccna-lab.com
R1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0/0, changed state to up
R1(config-if)#int g0/0/1
R1(config-if)#description connection to S1
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 shutdown
R1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0/1, changed state to up
R1(config-if)#description Loopback
R1(config-if)#ip ad
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)#exit
R1(config)#login boc
R1(config)#login bloc
R1(config)#login block-for 120 at
R1(config)#login block-for 120 attempts 3 within 60
R1(config)#
R1#clock set ?
hh:mm:ss Current Time
R1#clock set 12:37:00 ?
<1-31> Day of the month
MONTH Month of the year
R1#clock set 7:15:00 1 January 2023
R1#copy run
R1#copy running-config st
R1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
R1#
R1>