Setup passwords on a Cisco routers

 
Providing that you would have already simulated the network enviroment while configuring the
router here, it is now time for you to put a password on the router so no one has access to it.Also I am of the opinion that you have packet tracer installed on your computer.Let`s get started..
Step 1 - Configure the password on the router command line (CLI).

1.Double click the router
2.Click on the CLI Tab of the router
3.Type enter to exit
4.Type enable
5.Type config t (Takes you to privilege mode)
6.Type enable secret kwesi (I am using kwesi as the password for this router, kwesi will be encrypted)
7.Type do wr
8.Type exit to come out of privileged mode

Step 2 - Try to log into the router from the command line interface.

1.Double click the router
2.Click on the CLI Tab of the router
3.Type enter to exit
4.Type enable and press enter
5.You will be prompted to enter your password (enter your password) and type enter
6.Now type show run and at the line that says enable secret 5, you will see your encrypted password.

7.Click esc on your keyboard to return back to the router config screen.
8.Type exit

Step 3 - Enable a line console password (laptop cable connection to router) in case of an emergency.

1.Double click the router
2.Click on the CLI Tab of the router
3.Type enter to exit
4.Type enable and press enter
5.Enter your password and press enter
6.Type config t and press enter
7.Type line console 0 and press enter
8.Type password jordan (My line console password is jordan)
9.Type login press enter
10.Type do wr (writes the configuration to memory) and press enter
11.Type exit and press enter
12.Go for a coffee break!!

In conclusion you would have configured two password for the router in the scenario here, one for configuration and the other for line console in the event you have an emergency and you want to plug a laptop into it via network cable for configuration purposes.Hope this post was helpful, if you have any question please leave your comments below.Thanks

No comments: