Alpha Centauri Studies
CoursesFor Institutions

Loading...

Alpha Centauri Studies

CSEC past papers, worked

Past papers worked question by question, and courses built on the CSEC syllabus, for students across the Caribbean.

Serving Caribbean students since 2025

Explore

CoursesAboutContact

Support

PrivacyTermsHelp

Subscribe to Our Newsletter

New papers and courses, when they land.

Connect With Us
© 2026 Alpha Centauri Studies. All rights reserved.
4.8 Configure network devices for remote access using SSH

TutorialLab 1195 min

Lab 119: Enabling Remote Access

Lab 119: Enabling Remote Access

A device can be managed either locally or remotely. There are various protocols, tools, and services (such as Telnet, Secure Shell, and Putty) that are used to manager devices remotely. These tools are also referred as remote administration tools.

We will use the following simple topology to configure remote access.

The smallest possible Packet Tracer topology for a remote access lab: a 2960-24TT switch named Switch1 sits above a PC-PT workstation named PC0, joined by a single straight black cable. Both ends of the cable are marked with a green dot, so the link is up. No interface names are printed on either end in the source.

  1. First of all, execute the following command to change the current hostname as Switch1.
Switch( config)# hostname Switch1
  1. Next, configure an IP address on switch. Unlike the routers, typically switch does not require to be configured with an IP address. However, we need to configure an IP address on the switch’s vlan 1 interface in order to manage it remotely. The following commands will configure 10.0.0.100/ 8 IP address on the vlan 1 interface.
Switch1( config)# interface vlan 1
Switch1( config-if)# ip address 10.0.0.100 255.0.0.0
Switch1( config-if)# no shutdown
Switch1( config-if)# exit
  1. Once you have configured the appropriate hostname and IP address on the switch, execute the following commands to enable the Telnet protocol.
Switch1( config)# line vty 0 4
Switch1( config-line)# password 123456
Switch1( config-line)# login
Switch1( config-line)# exit
  1. In the preceding commands, vty − means virtual terminal, 0 4 means ─ total five (0 to 4) users can access the switch remotely at a time. 123456 is the password that remote users need to know in order to connect to the switch.

A Packet Tracer IOS Command Line Interface window titled Switch1. The transcript shows the switch being renamed and given a management address, then Telnet being enabled. The first boxed group is: hostname Switch1, interface vlan 1, ip address 10.0.0.100 255.0.0.0, no shutdown, annotated "Configuring IP address". The interface then reports %LINK-5-CHANGED: Interface Vlan1, changed state to up, and a %LINEPROTO-5-UPDOWN message for Interface Vlan1 whose tail is cut off by the right edge of the window so the state word cannot be read. The second boxed group is: exit, line vty 0 4, password 123456, login, exit, annotated "Enabling Telnet". The window ends at the Switch1(config)# prompt. One partial line above the first command is scrolled out of view and is not legible.

  1. Once you have done your configuration on switch1, move to a PC. Configure an IP address, for example 10.0.0.1/ 8 on the PC.

  2. After configuring the appropriate IP address on the PC, open the Command Prompt window of the PC, type telnet 10.0.0.100 and press Enter.

  3. At the Password: prompt, type your telnet password (123456) and verify that you are able to connect to switch’s console remotely.

A Packet Tracer Command Prompt window on a PC. The student types telnet 10.0.0.100, the client answers Trying 10.0.0.100 ...Open, the switch presents User Access Verification and a Password: prompt, and after the password is accepted the session lands at the Switch1> user mode prompt, shown three times with the cursor on the last one. One partial line above the telnet command is scrolled out of view and is not legible.

  1. In the preceding figure, you can see that you are successfully connected to the switch’s console remotely. At the Switch1 > prompt (User EXEC mode), you can execute all the commands that you can use locally.

Source: itexamanswers.net