You are on page 1of 3

How to set console password of Router :-)

Router>enable
Router#configure terminal
Router(config)#line console 0
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit
Router(config)#exit
Router#show running-config
_____________________________________________________________________________
How to set telnet password of Router :-)
Router>enable
Router#configure terminal
Router(config)#line vty 0 4
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit
Router(config)#exit
Router#show running-config

_____________________________________________________________________________

How to set enable password (text) of Router :-)


Router>enable
Router#configure terminal
Router(config)#enable password cisco
Router(config)#exit
Router#show running-config
_____________________________________________________________________________
How to set enable password (md-5 encrypted) of Router :-)
Router>enable
Router#configure terminal
Router(config)#enable secret ccna
Router(config)#exit
Router#show running-config
_____________________________________________________________________________
How to remove console password of Router :-)

Router>enable
Router#configure terminal
Router(config)#line console 0
Router(config-line)#no password
Router(config-line)#exit
Router(config)#exit
Router#show running-config
_____________________________________________________________________________
How to remove telnet password of Router :-)
Router>enable
Router#configure terminal
Router(config)#line vty 0 4
Router(config-line)#no password
Router(config-line)#exit
Router(config)#exit
Router#show running-config
_____________________________________________________________________________

How to remove enable password (text) of Router :-)


Router>enable
Router#configure terminal
Router(config)#no enable password
Router(config)#exit
Router#show running-config
_____________________________________________________________________________
How to remove enable password (md-5 encrypted) of Router :-)
Router>enable
Router#configure terminal
Router(config)#no enable secret
Router(config)#exit
Router#show running-config
_____________________________________________________________________________
How to change text mode passwords in ENCRYPTED form :-)
Router>enable
Router#configure terminal
Router(config)#service password-encryption
Router(config)#exit
Router#show running-config

_____________________________________________________________________________
How to remove service password encryption :-)
Router>enable
Router#configure terminal
Router(config)#no service password-encryption
Router(config)#exit
Router#show running-config
_____________________________________________________________________________
* Passwords are Case-Sensitive............
* Passwords are applied into hidden form........
* Both the enable (Text & Secret) passwords cannot be same.........
* If Both the enable (Text & Secret) passwords are set then; SECRET password
will be given priority while login.................
* If text passwords are changed into encrypted form by the command "service
password-encryption" they cannot be decrypted by the command "no service
pa
ssword-encryption". We have to reset them after applying "no service
pass
word-encryption" command.....................

You might also like