0% found this document useful (0 votes)
66 views14 pages

ITGN235 Lab 5

The document provides instructions for configuring routers with IP addresses, static routes, telnet passwords, and console passwords. Key steps include setting hostnames and IP addresses for router interfaces, configuring static routes, enabling telnet access with passwords, and requiring console passwords for user EXEC mode access.

Uploaded by

Muhammad hamza
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views14 pages

ITGN235 Lab 5

The document provides instructions for configuring routers with IP addresses, static routes, telnet passwords, and console passwords. Key steps include setting hostnames and IP addresses for router interfaces, configuring static routes, enabling telnet access with passwords, and requiring console passwords for user EXEC mode access.

Uploaded by

Muhammad hamza
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Lab # 5 Telnet & Console

Course Code: ITGN235 Course Title: Principles of Networking

Semester: Fall Academic Year: 2020-21

Assessment Instrument: Lab Due Date:

Course Instructor: Dr. Alavikunhu Panthakkan

College/Department: College of Engineering and IT

This assessment instrument assesses the following Course Learning Outcomes (CLO):

Question SN CLO # CLO Description Question Total Student


Mark Mark
Question 1 CLO 4 Illustrate network scenarios using 5
Packet Tracer simulator software

Total Mark 5

*Linkages to Program Outcomes and Concentration Outcomes are provided in the Syllabus.

Student Name: ........................................................................................

Student ID No: ........................................................................................


Objective: Configure Routers 0, 1, and 2 with IP addresses, and then add static
routes for all routers and finally configure telnet and console password for routers
Lab Equipment: Router 0 and Router 1 from the Routers menu [Router 2911]
Goals:

Set the host name for all routers

Configure IP address for the interfaces of routers

Ping the directly connected interfaces

Configure static routes for the topology

Configure Telnet password for all routers

Configure Console password for all routers

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

Device Router0 Router1 Router2

Hostname R1234A R1234B R1234C

GigabitEthernet 0/0 192.168.100.10/24 192.168.100.20/24

GigabitEthernet 0/1 192.168.200.10/24 192.168.200.20/24


2. Establish static routes on each router to any location that is not directly connected.

R1234A# config term


R1234A(config)# ip route 192.168.200.0 255.255.255.0 192.168.100.20
R1234A(config)# exit
R1234C# config term
R1234C(config)# ip route 192.168.100.0 255.255.255.0 192.168.200.10
R1234C(config)# exit
3. Enable Telnet Access on router R1234A and set telnet password as telnetRA

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:

6. Try to telnet into router R1234A, R1234B and R1234C


R1234A# telnet 192.168.100.20
R1234A# telnet 192.168.200.20
R1234C# telnet 192.168.100.10
Task2: Console Security

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.

You might also like