Cisco IOS : How to configure passwords.

Cisco switches and routers have four types of passwords.

  • Console password : Used to set password for the console access.
  • Auxiliary password : It is used to set password to auxiliary port ( if the switch has one.)
  • VTY lines password : Used to set password for  for telnet and ssh access.
  • Privileged password : Used to set password for privileged access to the switch.

I am not going to show you how to set up auxiliary password here. To see how to set up console password and VTY lines password, go here.

Privileged mode of a Cisco device has some advanced IOS commands that can have disastrous consequences if used by wrong hands. So it is very important to set up a password to access privileged commands. Use the following commands,

Image

The enable command takes us into privileged mode. The conf t mode takes us into global configuration mode which pertains to the configuration settings of the whole switch. The enable password  sets a password for the privileged mode. ‘123456’ is the password. The exit  command takes us out of the privileged mode. To see if a password has been set for the privileged mode, try entering into privileged mode by typing en command. We can see that it prompts us for the password.

About these ads

2 Responses to Cisco IOS : How to configure passwords.

  1. Pingback: Cisco IOS : How to encrypt passwords on a switch or router. | kanishkas how to?

  2. Pingback: Cisco IOS : How to encrypt passwords on a switch or router. - Welcome to Kanishkas howto?

Comment on this article.

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 159 other followers

%d bloggers like this: