2019 Packet Tracer - Part 02
2019 Packet Tracer - Part 02
PART TWO
Gordon Johnson
g.johnson@kingston.ac.uk
Telnet and SSH
Create the simple topology using Cisco Packet Tracer and assign a static IP address to
each PC, following the addressing scheme used in the figure below.
Assigning IP Address to End Device
1. Select Device
2. Click the Desktop tab
3. Enter desired IP Address
Initial Switch Configuration
▪ Switches are Layer 2 devices, hence they do not have an IP address by default that
we may use to telnet or SSH to.
▪ To solve this, we can use one of the VLANs that exists on the switch, and create a
virtual interface called an SVI, or Switched Virtual Interface.
▪ Use the “show ip interface brief” (or “sh ip int br”) command to get a quick snapshot
of all the interfaces in the switch
Allocate a VLAN with an IP Address
▪ Go to PC1,
1. Select the Desktop tab
2. Open Command Prompt (Not the Terminal)
3. Ping the switch using the address you
assigned to the SVI.
SSH is a protocol which provides the same functionality with telnet, only that it does
so with a secure manner by using traffic encryption.
To enable SSH we have to do the following configurations:
▪ Hostname
▪ Domain Name (for encryption purposes)
▪ Secure Key (it generates the keys based on the domain name and the hostname)
▪ Enabling SSH v2
▪ Create users
▪ Allow SSH
Setting Domain and Creating RSA Key
▪ When you make changes on a Cisco IOS device, you alter the configuration held in
active memory (RAM).
▪ Similar to computers when the device is shut down everything in RAM gets lost.
▪ This is the reason for the two configuration files referred to earlier, the running-
configuration (running in RAM), and startup-configuration (stored in more permanent
memory, called non-volatile RAM or NVRAM).
▪ In order to save the changes that you make to the running-configuration, you need
to copy it to the startup-configuration using the command “copy run start” from the
privilege mode.
Connecting via SSH from an End Device
Create the simple topology using Cisco Packet Tracer, following the scheme used in
the figure below. Note: the activity lights between the switch and the router will remain
RED for the time being.