You are on page 1of 11

xkmcmcmmmcmcmcccccccccccccccccccccccccccmccccccccccDrag two switches and

two PCs from devices section to Cisco Packet Tracer’s window.

Part 1:

Step:1

a. Click S1 and enter into CLI mode.


b. Type “enable” to enter into privilege mode.

Step:2

a. Type “show running-config” to view inside the switch.


b.
i. The above command shows that the switch has 6 interfaces.

ii. The “show startup-config” used to view the contents of NVRAM. The response of this
command is not present because we did not save anything in NVRAM.
Part 2:

Step 1

Type config t to enter into global configuration mode and assign name to switch by typing “hostname
S1”

Step 2

In global configuration mode type “line con 0” to enter into console line. Set console password by
entering password letmein and then login.

Login command required for the activation of password.

Step 3

After login switch then it required password.

Step 4
After that set privileged mode password by typing “enable password c1$co”

Step 5

First password is console password and second password is for privilege mode

Step 6

The above passwords are plaintext passwords. In order to set encrypted password type “enable secret
itsasecret”

Step 7
Because it is encrypted password.

Step 8

In order to make plaintext passwords into encrypted passwords type “service password-encryption”

They will be displayed in encrypted passwords because we set encryption on plain text passwords.

Part 3

Step 1

Step 2

Type command “copy running-config startup-config” to save configurations in NVRAM.

Write/wr is the shortest version of copy running-config startup-config.

Step 3

Type show startup-config to view contents in NVRAM.

Yes all changes are saved in the file.

Part 4

Similarly to S1 assign hostname to S2.

Then set console, enable and secret passwords.

The add banner so that new user should know what to do when switch is on by command “banner
motd”

Then encrypt plain text passwords.

Then check configurations by logout the switch.

Save configurations to NVRAM


Part 5

Set ip address at the Vlan interface of switch S1 and type “no shutdown” to make link up.

Set ip address at the Vlan interface of switch S2 and type “no shutdown” to make link up.

Then configure both PCs in the IP configuration window.

Then check connectivity both by using ping command and simulation mode.
and then type “config t” to enter into global configuration mode.

You might also like