CCN Lab 04_Emulation Software_New OBE
CCN Lab 04_Emulation Software_New OBE
OBJECTIVES
#. Of
# Topic CLO Taxonomy level
Lectures
To make console and telnet connections with
4 network devices (e.g., switch and router) using 3 2 P5
opensource terminal emulator software.
OUTCOME(S)
a. An ability to apply knowledge of math, science, and PLO1: Engineering Knowledge:
engineering
k. an ability to use the techniques, skills, and modern PLO5: Modern Tool Usage
engineering tools necessary for engineering practice.
RUBRICS:
Performance Exceeds Meets expectations Does not meet
Score
Metric expectation (4-5) (2-3) expectations (0-1)
Applies the relevant
Applies the
knowledge and
appropriate
concept to the
knowledge and Fails to apply
problem, possibly
concepts to the relevant knowledge
in a roundabout
Knowledge and problem with and concepts to the
way; understands
application accuracy and problem;
the major points of
[PLO1] proficiency; shows misunderstands or
the knowledge,
precise fails to recall critical
with possible
understanding of points.
misunderstanding
these knowledge
or failure to recall
and concepts.
minor points;
Modern Tool Computer and Computer and Computer and
Usage [PLO5] software are software are software are not
extensively used somewhat utilized, utilized, no
in the effort was put into attempt was
course learning new made at learning
software new software
Total Score
DEPARTMENT OF TELECOMMUNICATION ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(2nd Semester, 3rd Year) LAB HANDOUT # 4
________________________________________________________________________
EQUIPMENT
User EXEC Router > Default mode after booting. Use exit command
Allow you to connect with
Login with password, if
remote devices, perform
configured.
basic tests, temporary change
terminal setting and list
system information
Sub-Interface Configure or modify the Router(configsubif) Use interface type sub interface
Configuration virtual interface created from number command from global Use exit to return in
physical interface configuration mode or interface previous mode. Use
configure mode end command
to return in
privileged exec
mode.
Enter reload command from
privileged exec mode. Press
ROMMON If router automatically enter ROMMON> Use exit command
CTRL + C key combination
in this mode, then it indicates
during the first 60 seconds of
that it fails to locate a valid
booting process
IOS image. Manual entrance
in this mode Allow you to
perform low-level
diagnostics.
We can list all available commands, if we don't know the initials of our command. For
example, to list all available commands at User exec mode, just type? at command prompt
and hit enter key.
DEPARTMENT OF TELECOMMUNICATION ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(2nd Semester, 3rd Year) LAB HANDOUT # 4
________________________________________________________________________
Connect the console cable to the to the console port on the switch and the
other end to the serial port of PC1. Connect PC2 to first Fast Ethernet port
(i.e. FA0/1) using an UTP/STP cable. PC1 must have a terminal client (i.e.
Windows HyperTerminal) installed, and PC2 must be able to setup a telnet
connection.
Press ENTER when the message Press RETURN to get started appears.
Switch>enable
a. What prompt does enable command display and what does it mean?
_____________________________________________________________________
DEPARTMENT OF TELECOMMUNICATION ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(2nd Semester, 3rd Year) LAB HANDOUT # 4
________________________________________________________________________
Change the host name of the switch to "SWR-2024" using the following command:
Switch(config)#hostname SWR-2024
Next, set the enable secret to cisco123 using the following command:
SWR2024(config)#enable secret cisco123
Next, set the password for all telnet lines to 'cisco456' using the following commands:
SWR-2024 (config)#line vty 0 15 SWR-2024 (config-line)#password cisco456 SWR-
2024 (config-line)#login
Although the enable secret is encrypted, other passwords stored in the switch's
configuration are still in clear text like enable password. You can see this by returning to
Privileged EXEC mode and running the show running config:
DEPARTMENT OF TELECOMMUNICATION ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(2nd Semester, 3rd Year) LAB HANDOUT # 4
________________________________________________________________________
SWR-2024 (config)#end (or press CTRL-Z) SWR-2024#show running-config
Notice the enable secret is replaced by a hashed version, for example: enable secret
5 $1$iUjJ$cDZ03KKGh7mHfX2RSbDq
When you log on with the enable secret, the switch calculates the hash value again and
compares it with the hash value stored in the configuration. If they match, you typed in the
correct secret and will enter Privileged EXEC mode. You can configure a password by
using the enable password command instead, but in contrary to the enable secret, the enable
password is not encrypted by default. If an enable password and an enable secret are
configured, you will need to enter the enable secret to logon. In other words, there’s no
need to configure an enable password if you configured an enable secret.
Near the end of the configuration, you will notice the vty password you just configured,
and that it is stored in plain text format. To ensure this password, as well as others such as
the console password are also encrypted, use the service password-encryption command in
Global configuration mode:
If you would run the show running-config command in Privileged EXEC mode again, you
will notice the vty password is now also encrypted. For example: 1511021F07257F717E
You can also set a password on the aux or console connection, for example to set the
password to cisco789:
a. At Privileged EXEC mode type ‘show running-config’ and follow the details.
Use the following commands to set the banner or motd on switch which alerts unauthorized
users not to access the switch.
Notice that each of the banner lines ends with a # symbol; this is a delimiter to identify the
end of the message. You can specify any character you want, but the character you choose
is the one you will use to end the banner message. Here is what these messages look like
when you connect to the switch:
Switch stores MAC address of devices those are attached with its interfaces
in CAM table. We can use show mac-address-table command to list all
learned devices.
could change this mode with any of other supported mode. For example, to
Switch(config)# #interface fastethernet 0/1
Switch(config-if)#duplex full
information about interfaces. Without argument it would list all interfaces. To get
information about specific interface we need to pass its interface number as an argument.
For example, to view details about FastEthernet 0/1, use show interface fastethernet 0/1.
First line from output below provides information about the status of interface.
FastEthernet0/1 is up, line protocol is up (connected), The first up indicates the status of
the physical layer, and the second up indicates to the status of the data link layer.
DEPARTMENT OF TELECOMMUNICATION ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(2nd Semester, 3rd Year) LAB HANDOUT # 4
________________________________________________________________________
a. What will be status of line protocol if at data link layer we use two different protocols?
Mention______________________________________________
If you run the show startup-config command, you should get the same output as the show
running-config command. The dir nvram: command should show the startup-config file
with a size greater than zero. The configuration is also stored in the config.text file in flash,
which content you can see by using the show flash command.STEP 6: Display switch
hardware and firmware information
The show version command allows you to display information about the switch’s hardware
and IOS. The first half shows information about the IOS in flash, the boot loader on ROM,
the uptime, what caused the switched to reboot, and the IOS edition it runs. The second
half shows information about the hardware, including the interfaces, the memory and serial
numbers.
DEPARTMENT OF TELECOMMUNICATION ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(2nd Semester, 3rd Year) LAB HANDOUT # 4
________________________________________________________________________
SWR-2024#show version
a. Enter the show version command. The Switch will return information about the IOS
that is running in RAM.
b. Write the name of the IOS version? ____________________________
c. What is the name of the system image (IOS) file?
______________________________________________________________________ d.
Where was the switch IOS image booted from?
____________________________________________
e. How many Ethernet interfaces does this switch have? _________________________
DEPARTMENT OF TELECOMMUNICATION ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(2nd Semester, 3rd Year) LAB HANDOUT # 4
________________________________________________________________________
Lab Exercise:
1. Submit a lab with performing a simple task connect a pc with switch using console
connection and configure telnet connection. Using Telnet configure switch with all
basic configuration we learnt in this Lab.
Change the switch's host name-&- Configure passwords
DEPARTMENT OF TELECOMMUNICATION ENGINEERING
MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO
COMPUTER COMMUNICATION & NETWORKING
(2nd Semester, 3rd Year) LAB HANDOUT # 4
________________________________________________________________________
show mac-address-table
Password setting on line vty ( telnet )16 people can access the
switch at a time