How to configure enable/secret password of cisco router
In this
article we learn how to setting enable password of the cisco router. Different
types of password you can configured to access the cisco router such as enable
password ,secret password, for ssh connection and so on.
Set up enable password of cisco router for demo
To secure a
router we configure enable password. It uses to move the mode from user
execution mode to privileged execution mode and as well as we can access global
configuration mode using enable password.
To
configure the enable password of the cisco router we execute the below command .
Router>en
Router#conf
t
Enter
configuration commands, one per line. End with CNTL/Z.
Router(config)#enable
password cisco
After
execution the above command we create the enable password of the cisco router
which is stored in the config file of the router. To find the line from the
config file we execute the below command.
Router>en
Password:
Router#show
running-config | include enable
enable
password cisco
We saw fom
the above output that the stored password is in plain text it is not a
encrypted format .anyone can read the the stored password from the config file
because it is in plain text.
To overcome
the problem create a new type of password called secret password .it is not in
plain text it is stored in the configuration file in encrypted format which is
not readable from anyone .
Set
up secret password of cisco router for demo
To overcome
the problem create a new type of password called secret password .it is not in
plain text it is stored in the configuration file in encrypted format which is
not readable from anyone . when we configure secret password it take over the
responsibility to move the mode from user execution mode to privileged execution
mode. To configure the secret password we execute the below command.
Router#conf
t
Enter
configuration commands, one per line. End with CNTL/Z.
Router(config)#enable
password cisco
Router(config)#enable
secret cisco123
Note: you can not use same password
in the secret password which you use to create enable password.
To view the configuration file we
execute the below command.
Router>en
Password:
Router#
Router#show
running-config | include enable
enable
secret 5 $1$mERr$5.a6P4JqbNiMX01usIfka/
enable password cisco
How to configure enable/secret password of cisco router |
In next
article we learn how to reset enable password of the cisco router with
practical demotration.
0 comments:
Post a Comment