Home > Cisco > How to configure Passwords to secure Cisco Router

How to configure Passwords to secure Cisco Router

How to password protect Console Port

To configure the console password, follow these steps

Router>enable
Router#configure terminal
Router(config)#line console 0
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#end
Router#

How to password protect Auxilary (AUX Port) Port

To configure the auxilary password, follow these steps

Router>enable
Router#configure terminal
Router(config)#line aux 0
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#end
Router#


How to password protect VTY Ports (Telnet Ports)

Configuration the VTY password is very similar to doing the Console and Aux ones. The only difference is that there are 5 VTY virtual ports, which are named 0, 1, 2, 3, and 4. You can use the shortcut 0 4 (a zera, a space, and 4) to set 5 passwords at the same time. To configure the VTY password, follow these steps

Router>enable
Router#configure terminal
Router(config)#line vty 0 4
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#end
Router#

How to password protect Privileged mode

Enable password is the old form of the password for “Privileged mode”. Here the password is stored un-encrypted.

Router>enable
Router#configure terminal
Router(config)#enable password cisco
Router(config)#end
Router#

Enable Secret provides better security since password is kept encrypted.

Router>enable
Router#configure terminal
Router(config)#enable secret cisco
Router(config)#end
Router#
Categories: Cisco
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

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

%d bloggers like this: