Basic router configuration
Tasks:
Turn on the equipment, then configure the devices as follows:
0) Configure the name of each router as shown in the diagram;
1) Configure the IP addresses as shown in the diagram;
2) Make sure the routers can ping each other (Check);
3) Activate a password “cisco”;
4) Encrypt password enabled;
5) Set a secret password “cisco123”;
6) Configure telnet on the router using the above password;
7) Make sure the telnet connection works from one device to the other;
8) Set up a password for the “cisco” console and test it.
Download the Lab file below:

Correction:
Configure the name of each router as shown in the diagram:
On router R1:
Router>enable Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R1 R1(config)#
R2 Router:
Router>enable Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R2 R2(config)#
1) Configure the IP addresses on the routers as shown in the diagram;
R1#configure terminal R1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R1(config)# R1(config)#interface gigabitEthernet 0/0 R1(config-if)#ip address 10.1.1.1 255.255.255.0 R1(config-if)#no shutdown R1(config-if)# %LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up R1(config-if)#
On R2 :
R2#configure terminal R2#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R2(config)# R2(config)#interface gigabitEthernet 0/0 R2(config-if)#ip address 10.1.1.2 255.255.255.0 R2(config-if)#no shutdown R2(config-if)# %LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up R2(config-if)#
2) Checking pings between routers:
R1#ping 10.1.1.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms R1#
R2#ping 10.1.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms R2#
3) Activation of the password “cisco”:
R1# R1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R1(config)#enable password cisco R1(config)#
R2# R2#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R2(config)#enable password cisco R2(config)#
4) Encrypt password enabled:
R1# R1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R1(config)#service password-encryption R1(config)#
R2# R2#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R2(config)#service password-encryption R2(config)#
5) Configuration of a secret password “cisco123
R1# R1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R1(config)#enable secret cisco123 R1(config)#
R2# R2#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R2(config)#enable secret cisco123 R2(config)#
6) Configure telnet on the router using the same password as before;
R1# R1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R1(config)#line vty 0 4 R1(config-line)#login % Login disabled on line 388, until 'password' is set % Login disabled on line 389, until 'password' is set % Login disabled on line 390, until 'password' is set % Login disabled on line 391, until 'password' is set % Login disabled on line 392, until 'password' is set R1(config-line)#password cisco123 R1(config-line)#
R2# R2#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R2(config)#line vty 0 4 R2(config-line)#login % Login disabled on line 388, until 'password' is set % Login disabled on line 389, until 'password' is set % Login disabled on line 390, until 'password' is set % Login disabled on line 391, until 'password' is set % Login disabled on line 392, until 'password' is set R2(config-line)#password cisco123 R2(config-line)#
7) Checking the telnet connection from one device to another
R1# R1#telnet 10.1.1.2 Trying 10.1.1.2 ...Open User Access Verification Password: R2>enable Password: R2#
R2# R2#telnet 10.1.1.1 Trying 10.1.1.1 ...Open User Access Verification Password: R1>enable Password: R1#
8) Configuration of the console password of “cisco” and test:
R1# R1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R1(config)#line console 0 R1(config-line)#login % Login disabled on line 0, until 'password' is set R1(config-line)#password cisco R1(config-line)#
R2# R2#configure terminal Enter configuration commands, one per line. End with CNTL/Z. R2(config)#line console 0 R2(config-line)#login % Login disabled on line 0, until 'password' is set R2(config-line)#password cisco R2(config-line)#
