Objective: This lab will provide the understanding of how to login via the console port of a router view sub commands of user mode, privilege mode, global configuration mode, and the various sub modes. You will also configure the basic information needed to get a router ready for installation in a network.
Purpose: To observe the various sub commands available in each mode of Cisco router and have the ability to configure the basic info all Jr. network engineer need to have.
Topology:
Task 1: Use the proper cable to connect the ports as shown in the topology.
Login to the router in user mode.
Enter privileged mode and view the list of available sub commands.
Enter global configuration mode and view the list of available sub commands.
Enter interface configuration mode and view sub commands.
Enter line console mode and view sub commands.
Task 2: Configure host name as shown in the topology.
Take note of how your prompt has changed.
Task 3: Set the interface serial 0/1 ip address to 192.168.10.1 /24
Use the correct subnet mask as given from the CIDR notation.
Task 4: Set the password for console to cisco
test console password by logging out and back into console.
Task 5: View running and startup configurations.
Note the differences. Remember RAM stores the running configuration and is volatile memory that is erased at reload or power off and NVRAM stores startup configuration and is only affected by being overwritten or erased.
Copy running configuration to startup configuration
View startup configuration again and note how it has changed to reflect the running configuration.
Notes: You can also copy from startup configuration to running configuration but it generally only adds to the running configuration it does not delete running configuration when copied.
Other useful commands to know are how to copy stratup configuration to TFTP server and copy tftp server to running configuration
ANSWER:
Task 1:
We need to use a rollover cable to connect the two devices also known as a Cisco console cable. Once logged in you will be at the user mode
Router>
Router>en
Router#?
Router#configure terminal
Router(config)#?
Router(config)#exit
Router#configure interface
Router(config-if)#?
Router(config-if)#exit
Router#configure terminal
Router(config)#line con 0
Router(config-line)#?
Router(config-line)#end
Task 2:
Router#configure terminal
Router(config)#hostname R1
R1(config)#
Task 3:
R1(config)#interface s0/1
R1(config-if)#ip address 192.168.10.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#exit
Task 4:
R1(config)#line console 0
R1(config-line)#login
R1(config-line)#password cisco
R1(config-line)#end
R1#exit
password:
Task 5:
R1>en
R1#show running-config
R1#show startup-config
R1#copy running-config startup-config
R1#show startup-config