ITGN235 Lab 5
ITGN235 Lab 5
This assessment instrument assesses the following Course Learning Outcomes (CLO):
Total Mark 5
*Linkages to Program Outcomes and Concentration Outcomes are provided in the Syllabus.
Assume that your student ID is S1234, then change the hostname of Router0
as R1234A, Router1 as R1234B and Router2 as R1234C
Task1: Telnet
1. Configure Routers 0, 1, and 2 to the specifications outlined in the table and diagram above
R1234A(config)#
R1234A(config)# line vty 0 4
R1234A(config-line)# login
R1234A(config-line)# password telnetRA
R1234A(config-line)# exit
4. Enable Telnet Access on router R1234B and set telnet password as telnetRB
R1234B(config)#
R1234B(config)# line vty 0 4
R1234B(config-line)# login
R1234B(config-line)# password telnetRB
R1234B(config-line)# exit
5. Enable Telnet Access on router R1234C and set telnet password as telnetRC
R1234C(config)#
R1234C(config)# line vty 0 4
R1234C(config-line)# login
R1234C(config-line)# password telnetRC
R1234C(config-line)# exit
Ans:
1. Upon connecting to the console port, the user EXEC mode prompt appeared immediately.
This is a security risk, because anyone with physical access to the router can connect to the
console port and access the user EXEC mode prompt without entering a password.
Ans: When you start a session on a router, you generally begin in user EXEC mode , which is
one of two access levels of the EXEC mode. For security purposes, only a limited subset of
EXEC commands are available in user EXEC mode. This level of access is reserved for tasks
that do not change the configuration of the router, such as determining the router status.
If your device is configured to require users to log-in the log-in process will require a username
and a password. You may try three times to enter a password before the connection attempt is
refused
In general, the user EXEC commands allow you to connect to remote devices, change terminal
line settings on a temporary basis, perform basic tests, and list system information.
To list the available user EXEC commands, use the following command:
Command Purpose
Device(config)# ?
Lists the user EXEC mode commands
The user EXEC mode prompt consists of the host name of the device followed by an angle
bracket (>), as shown in the following example:
Device>
The default host name is generally Router, unless it has been changed during initial configuration
using the setup EXEC command. You also change the host name using the hostname global
configurationcommand.
2. You should enter the following commands on all routers [router0, router1 & router2] to
ensure that all users are prompted for a password.
R1234A(config)#
R1234A(config-line)# line console 0
R1234A(config-line)# login
R1234A(config-line)# password consoleRA
R1234A(config)# exit
R1234B(config)#
R1234B(config-line)# line console 0
R1234B(config-line)# login
R1234B(config-line)# password consoleRB
R1234B(config)# exit
R1234C(config)#
R1234C(config-line)# line console 0
R1234C(config-line)# login
R1234C(config-line)# password consoleRC
R1234C(config)# exit
3. A password prompt is presented and you must enter the correct password before you can
access the user EXEC mode prompt.
Use the given list command to capture/screen short to displays detailed information about
each routers
Router# show run
Router# show ip interfaces brief
Router# show ip route
Ans:
Exiting Modes
1. To exit interface configuration mode type exit. This will return the system to global
configuration mode.
2. To exit global configuration mode type exit. This will return the system to privileged
Exec mode.
3. To exit global configuration mode type disable. This will return the system to user
Exec mode.
4. To exit user Exec mode type logout. This will end the session.
Alternatives to Exit Options
1. To return to privileged Exec mode directly from any configuration mode type end.
2. Typing logout or exit from privileged Exec mode will also end the session.