Lab Activity 1
Lab Activity 1
Physical Topology:
Switch name: IU
First Computer: PC0, 192.168.1.1
Second Computer: PC1, 192.168.1.2
Line Console password: cisco
Enable Secret password: cisco
Background/Preparation
Cable a network similar to the one in the diagram. The configuration output used in this lab is produced
from a 2960 series switch. Any other switch used may produce different output. Select the “Command
Line” option from the menu to perform the steps for this lab.
Step 1 Enter privileged mode
a. Privileged mode gives access to all the switch commands. Many of the privileged commands configure
operating parameters. Therefore, privileged access should be password-protected to prevent
unauthorized use. The privileged command set includes those commands contained in user EXEC mode,
as well as the configure command through which access to the remaining command modes is gained.
Switch>enable
Switch#
b. Notice the prompt changed in the configuration to reflect privileged EXEC mode.
Switch#show running-config
b. How many Ethernet or Fast Ethernet interfaces does the switch have? _______04____________
c. What is the range of values shown for the VTY lines? __________0-15_____________________
Switch#show startup-config
%% Non-volatile configuration memory is not present
a. Enter enable and then the configuration mode. The configuration mode allows the management of
the switch. Enter IU, the name this switch will be referred to in the following:
Switch#configure terminal
Enter the configuration commands, one for each line. End by pressing Ctrl-Z.
Switch(config)#hostname IU
IU(config)#exit
b. Notice the prompt changed in the configuration to reflect its new name. Type exit or press
Ctrl-Z to go back into privileged mode.
a. Exam the current configuration that follows to verify that there is no configuration except for the
hostname:
IU#show running-config
c. What does the configuration show as the hostname of this switch? ___IU___________________
Enter config-line mode for the console. Set the password on this line as cisco for login. Configure the vty
lines 0 to 15 with the password cisco as follows:
IU#configure terminal
Enter the configuration commands, one for each line. End by pressing Ctrl-Z.
IU (config)#line con 0
IU (config-line)#password cisco
IU (config-line)#line vty 0 15
IU (config-line)#password cisco
IU (config-line)#exit
lin
a. Set the enable password to cisco and the enable secret password to class as follows:
b. Which password takes precedence, the enable password or enable secret password?
______enable password______
PC>Ping 192.168.1.2
a. The basic configuration of the switch has just been completed. Back up the running configuration file
to NVRAM as follows:
Note: This will ensure that the changes made will not be lost if the system is rebooted or loses power.
[OK]
IU#
IU#show startup-config
b. What is displayed?
c. Are all the changes that were entered recorded in the file?
-> Yes, it is the same as the running configuration.
IU#exit
Once these steps are completed, logoff by typing exit, and turn all the devices off. Then remove and
store the cables and adapter.
Conclusion:
In this lab we learned how to setup a switch and apply password on it to make it
secure and connecting the end to end pcs for secure data
transfer.____________________________________________________________
___
Learning Outcomes:
In this lab we learned how to setup a switch and apply password on it to make it
secure and connecting the end to end pcs for secure data
transfer.____________________________________________________________
___
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________