How to Configure CISCO Router Password?
By rancidTaste
Passwords are used to restrict access to a CISCO router. Passwords can be given to the virtual terminal lines and the console line. Moreover, password can be set privileged EXEC mode. This page will provide the information to set up CISCO router password to virtual terminal lines, console lines and privileged mode. Even more, you will learn how to encrypt the password also.
Why console password is required?
Console password is usedful on a network on which multiple people have to access to the router. The persons who are not authorized, can't access the router. Thus it prevents unautorized person from accessing the router.
Configuring console password of a CISCO router:
- Enter global configuration mode of the CISCO router.
- Put the command line console 0 to the router.
- Provide the password by using password command. For example, if you want to put password "cisco" then the command will be password cisco.
- At last, put the command login.
Commands for configuring console password
Router>enable Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#line console 0 Router(config-line)#password cisco Router(config-line)#login Router(config-line)#
Why virtual terminal password is required?
Virtual terminal password refers to telnet password. Through telnet, you can access the router and can change anything. So, it's really important to protect the use of telnet by giving a strong password.
Configuring virtual terminal password of a CISCO router:
Different hardware has different no of vty lines defined. Cisco has the range 0 to 4 vty lines. It means it has 5 vty lines. You can set the password of vty lines by the following steps:
- Enter global configuration mode of the CISCO router.
- Put the command line vty 0 4 to the router.
- Provide the password by using password command. For example, if you want to put password "cisco" then the command will be password cisco.
- At last, put the command login.
Commands for configuring virtual terminal password
Router>enable Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#line vty 0 4 Router(config-line)#password cisco Router(config-line)#login Router(config-line)#
Why enable password is required?
Enable password is required to restrict the access of privileged EXEC mode.
Configuring enable password of a CISCO router:
From the global configuration mode, use the command enable password to restrict access to privileged EXEC mode. However, this password is visible in the routers configuration file. To encrypt the password, enable secret command is required. By using enable secret command the password is encrypted and can't be readable to a human.
Commands for configuring enable password
Enable password: Router>enable Router#config Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#enable password cisco Router(config)# Perform password encryption: Router>enable Router#config Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#enable secret cisco Router(config)#
How to encrypt all the CISCO router password?
By default all the passwords of a CISCO router is readable in clear text in the configuration file. This is a great security threat if someone read it and configure or change the router configuration. So, to protect form display the password, service password-encryption command is used to encrypt the passwords. service password-encryption is a global command and encrypt the passwords:
- enable password
- console password
- vty password
- aux password
By following the above steps you can easily configure CISCO router passwords.
© Written by rancidTaste
If you are enjoyed this post, please consider to give a thumbs up and leave a comment. You may Subscribe to rancidTaste's RSS feed to get new pages which will be delivered to your feed reader. You can also read more hubs by rancidTaste.
JOIN HUBPAGES & ENJOY WORLD'S BEST WRITINGS
Recent Pages of itis123
- How to install Twitter widget into your blog?
Twitter, is becoming very popular day-by-day and a free social messaging utility for staying connected in real-time with your friends.
- How to add "Top of the page" icon to your blog?
"Top of the page" icon link is an important thing if your blog post is long.
- How to find out and change the size of your blog's header image?
Blogger header image gives the uniqueness of your blog among the millions of blogs.
- Troubleshooting
If you are a compute user, then you may face several types of problems at different times.
- ESET NOD32
Virus, Malware, Trojan, Worm, Spyware, Adware, Botnet etc.
- NOD32 keys
ESET NOD32 is one of the best effective and most proactive antivirus software and malware protection.
- How to Get Free ESET NOD32 Antivirus Key And Password
Different antivirus software are used to protect our PC form virus.
- Changing Your Blog's Header Image
You can easily add your favorite image or photo as a blog's header image.
rancidTaste's Recent Pages
- Drawing a line: How to draw a line using HTML 5?
HTML5 canvas API provides basics tools and great supports to draw and style different types of sub paths including lines, arcs, Quadratic curves, and Bezier curves, as well as a means for creating paths by connecting sub paths. - 5 days ago
- SEO Pages
SEO, Search Engine Optimization and Keywords - these common three terms are the brainstorming terms for any content publisher, seo company, seo service provider, seo researcher, seo firm, seo consultant, seo professional or other seo lover. - 3 months ago
- WordPress.org vs. WordPress.com: An explained comparison between WordPress.org an WordPress.com
WordPress is a common name but do you know that there are two things: WordPress. - 3 months ago
- Creating database from cpanel: How to create a database from cpanel hosting?
A step by step full tutorial to create a database from cpanel hosting account for any dynamic website. - 3 months ago
- Natural Join in Database: Retrieving records from more than one table with Natural Joins
Natural Join is one of the sql joining. - 3 months ago
- Explanation of SQL Join: Obtaining data from multiple tables using Join
Explanation of SQL Join: Obtaining data from multiple tables using Join. - 3 months ago
- How to solve "CreateFile error 32 when trying set file time" Error During Oracle Installation
Solution of the Oracle installation problem on Windows 7 / Windows XP during Oracle installation start-up. - 3 months ago
- A Brief Explanation of SQL Statements and Classification
Any type of database is based on several statements. - 3 months ago
Comments
Thanks philipo for your comment. If you use any router, then you can easily set password to your router. You may also configure your router. I already published some posts. More posts will be published soon. Thanks...
This a nice post. I used it successfully after getting stuck for weeks!!
Thanks a lot for saving a life!!
thmbs up. nade my work better. am now not lugging behind in class consulting. thumbs up. vero
i think this is a goood and important thinks for any one love CISCO DEVICE;;; -- ATIFCO --- SUDAN -- RAK CUS
big thakns
thankx for the tips guys, it was very helpful
Voted "up" and "useful". Thanks for posting this valuable info! Helped me figure out a configuration question.
good explain this topic and thankyou sir



Philipo 3 years ago
Nice one. Thanks.
http://hubpages.com/hub/philipo