Setting Passwords on router

Setting Passwords on router 

Here you will be able to learn how to set the password on a router.
  • enable secret <give password here> - set encrypted password for privileged access 
  • enable password <give password here> - set password for privileged access  
Setting the password for console access: 
  • (config)#line console 0 
  • (config-line)#login  
  • (config-line)#password <put password here> 
Set password for virtual terminal (telnet) access (password must be set to access router through telnet):  
  • (config)#line vty 0 4  
  • (config-line)#login  
  • (config-line)#password <put password here>  
Set password for auxiliary (modem) access: 
  • (config)#line aux 0 
  • (config-line)#login  
  • (config-line)#password <put password here> 

3 comments: