Experiment-Number-3-Basic-Router-Configuration
Experiment-Number-3-Basic-Router-Configuration
College of Engineering
ECE Department
ECE08L – Data Communications Lab
Activity No. 3
Basic Router Configuration
_______________________________
Name
Rating
2. Configure the PC interfaces. Configure the IP address, subnet mask, and default gateway settings on PC-A
and on PC-B.
2|Page
d. Disable DNS lookup to prevent the router from attempting to translate incorrectly entered
commands as though they were hostnames.
R1(config)# no ip domain-lookup
e. Require that a minimum of 10 characters be used for all passwords.
R1(config)# security passwords min-length 10
Besides setting a minimum length, list other ways to strengthen passwords.
ANSWER: __________________________________________________________
ANSWER: _________________________________________________________
h. Assign ciscovtypass as the vty password, establish a timeout, enable login, and add the logging
synchronous command.
R1(config)# line vty 0 4
R1(config-line)# password ciscovtypass
R1(config-line)# exec-timeout 5 0
R1(config-line)# login
R1(config-line)# logging synchronous
R1(config-line)# exit
R1(config)#
i. Encrypt the clear text passwords.
R1(config)# service password-encryption
j. Create a banner that warns anyone accessing the device that unauthorized access is prohibited.
R1(config)# banner motd #Unauthorized access prohibited!#
k. Configure an IP address and interface description. Activate both interfaces on the router.
R1(config)# int g0/0
R1(config-if)# description Connection to PC-B
R1(config-if)# ip address 192.168. 0.1 255.255.255.0
R1(config-if)# no shutdown
R1(config-if)# int g0/1
R1(config-if)# description Connection to S1
R1(config-if)# ip address 192.168.1.1 255.255.255.0
R1(config-if)# no shutdown
R1(config-if)# exit
R1(config)# exit
R1#
l. Set the clock on the router; for example:
R1# clock set 17:00:00 18 Feb 2013
m. Save the running configuration to the startup configuration file.
R1# copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
3|Page
R1#
What would be the result of reloading the router prior to completing the copy running-config
startupconfig command?
ANSWER: _________________________________________________________________
ANSWER: _________________________________________________________________
OBSERVATION/ANALYSIS:
CONCLUSION:
4|Page