CCNA Lab 13 - How to setup Passwords
How to setup a password with encryption
#enable
#configure terminal
#enable secret admin-jsx1
#service password-encryption
#exit
#exit
#copy running-config startup-config
Configuring a standard password without encryption
#enable
#configure terminal
#enable password admin-jsx1
#exit
#exit
#copy running-config startup-config
Configuring a password for USER mode.
Switch>
Switch>enable
Switch#configure terminal
Switch(config)#line console 0
Switch(config-line)#password admin-jsx1
Switch(config-line)#exit
Switch(config)#exit
Switch#copy running-config startup-config
Destination filename [startup-config]?
Building configuration…
Setting the AUX Port on a Router
Router>enable
Router#configure terminal
Router(config)#line aux 0
Router(config-line)#password admin-jsx1
Router(config-line)#exit
Router(config)#exit
Router#copy running-config startup-config
Destination filename [startup-config]?
Configuring virtual terminals.
Virtual Terminal lines are configured so more than 1 session can take place, say for example a switch needs a lot of configuration applied to it, maybe we need to 3 of 4 people to login and share the configuration work. On a CISCO 1841 we can have up to 808 virtual lines , why ? Well if we have 2 possibilities to connect via the AUX or Console port this allows only 2 and we need to be standing near the router because of the serial cable, so if we wanted the 4 or 5 admins to configure the router then we need another method this is where the line line vty command is useful.
Use the following command line vty 0 4 this will allow us to connect to the router at distance of the network and allow 5 connections.
Configure Terminals
Router>enable
Router#configure terminal
Router(config)#line vty 0 4
Router(config-line)#password admin-jsx1
Router(config-line)#exit
Router(config)#exit
Router#copy running-config startup-config
Destination filename [startup-config]?