• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 270
  • Last Modified:


Can someone provide me with the list of commands for the following:

create a secure password for priviledge mode
create a secure password for telnet
difference between secret password and others?
2 Solutions
FOr what, a cisco pix? router?
SANG501Author Commented:
Oops! I have a Cisco 2970 gigabit switch
Hi SANG501,

For enable (priv) mode, you do:

conf t
enable password (mypassword)    
- or -
enable secret (mypassword)

The difference between secret passwords and normal ones is that a secret password will not be displayed in the config.

For the telnet password:
conf t
line vty 0 15
password (mypassword)

... you can find out about this, and more, at http://www.cisco.com/en/US/products/hw/switches/ps5206/products_configuration_guide_chapter09186a00802164c4.html#wp1109671

Ihope that this helps - let me know if you need any further help.
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Actually the difference between regular and secret is not what was said. Regular password is clear-text by default, but it can be hidden with the command "service password-encryption." But the encryption is very weak and there are lots of utilities you can download to break it. Enable secret uses strong encryption and can't be broken- so it's much more secure. Always use "enable secret" on any device you value.
Oops, sorry - my bad.
SANG501Author Commented:
Thanks guys!
Hi.  Thanks for the "A".  Glad I could help.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now