Cisco simulator switch configuration secret and password

enable password is a global command to restrict access to privileged mode.
When you only enter enable password + password, for example, the password setting is 123, when you enter the privileged mode, you need to enter the password 123.
When you enter the enable secret class, to enter the privileged mode, the password you need to enter must be :Class has
enabled secret+password, but it is regarded as an encrypted form, it is an able password

And when you set enable password + password and enable secret + password at the same time, the password of enable secret will replace the password of enable password.

It can be seen from show running that the password of enable secret is above enable password
Switch#show run
Building configuration...
Current configuration: 1078 bytes
!
Version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Switch
!
enable secret 5 1 11mERr$/Q/mbs3O9oHsKR7rNG4e81
enable password 123
!
!
!
interface FastEthernet0/1

Guess you like

Origin blog.csdn.net/qq_43750882/article/details/114261709