1a Configure Basic Password and Hostname

We'll start off with LAB 1 (Basic IOS of Switches + Security)

Instruction’s Before LAB

Before Configuration on Switch the Connectivity is established between PC and PC

A terminal is connected to console port.

Erase the entire configuration.

Putty Software is used to manage the SSH Session.

If you don't have real cisco switches, you can practice this labs on Gns3 network emulator. Get it from here.
Please note that Gns3 does not emulate switch. But you can configure cisco router image to run as a swich. The c3640-ik9o3s-mz.124-18.bin ios image supports most of the switch commands. Google 4 it or leave a comment below with your e-mail id and I'll e-mail the link of ios image asap.

1a  Configure Basic Password and Hostname

Switch# configure terminal

How to Set Hostname and Configure Console Password

The Switch’s Host Name is used for local identification.
Switch(config)# hostname Sw1

Then set password for Console login.
Sw1(config)#line console 0
Sw1(config-line)#password cisco123

How to Set Privilege Level password

The enable password controls access to privilege mode.
!!! Clear Text Password not encrypted(less secure)
Sw1(config)#enable password ccna

You can securely encrypt the enable password, by using the enable secret command.
!!! Encrypted Password (more secure)
Sw1(config)#enable secret ccna123

IMP: If you set the password for both (enable password and enable secret), the password set for enable secret is used.

Verify the Password


Sw1 con0 is now available

Press RETURN to get started.

User Access Verification


If you have set password for enable secret, then
!!! TYPE HERE Privilege Level Password

Next Lab  1b  User Authentication

Share your views...

7 Respones to "1a Configure Basic Password and Hostname"

Bhanu Tiwari said...

As soon as I checked out this discussion my thought was that Networking Tips's frequenters have to check this out: http://hubpages.com/hub/rent-a-laptop-rentals . I can't fathom renting a portable PC at all! The bucks of renting a portable PC for just about two weeks will cost you as much as outright purchasing one!

September 16, 2010 at 11:57 PM
Alam_me2002 said...


Cam u plz share c3640-ik9o3s-mz.124-18.bin ios. My e-mail ID is alam_me2002@yahoo.com

I am looking for this IOS. Thanks in advance.

November 2, 2010 at 4:32 PM
Naresh said...

Sent. Check your email for the download link.

November 2, 2010 at 6:23 PM
Diakhdne said...

please can u share the iosc3640-ik9o3s-mz.124-18.bin with me.My email is diakhdne@yahoo.com.i was looking for it longtime ago .I will really appreciate it.

December 19, 2010 at 5:41 AM
Naresh said...

Download link of requested IOS Image sent to your e-mail.. :)

December 20, 2010 at 11:23 AM
Cisconewbe said...

I also need ios 2640-ik9o3s-mz.124-18.bin. Do you have a link that I could possibly use?

My email is cisconewbe@yahoo.com

Thanks for whatever help you can give.

March 20, 2011 at 2:08 AM
Luis said...

Hi, could you please send me the link in which I can download c3640-ik9o3s-mz.124-18.bin?  Thanks in advance for your help.  I really need it for my CCNP studies.

June 13, 2011 at 6:49 AM

Post a Comment



My photo
I'm The Best At What I Do...

Our Partners

DISCLAIMER: This site does not store any files on its server. I only index and link to content provided by other sites. All the files are from internet. In case of any query/objection regarding copyright or privacy, please inform me at Contact me and leave your comment here. I will immediately respond to you.