InformationSets the password for users accessing privileged EXEC mode when they run the enable command.
The default device configuration does not require any strong user authentication enabling unfettered access to an attacker that can reach the device. A user can enter the default password and just press the Enter key at the Password prompt to login to the device. Setting the enable password causes the device to enforce use of a strong password to access privileged EXEC mode. Using default or well-known passwords makes it easier for an attacker to gain entry to a device.
SolutionRun the following to set the enable password.
hostname(config)#enable password <enable_password> level <privilege_level>
The enable password parameter should be the plain-text password used to log into the enable mode
If the privilege level is not configured, the default one is 15
By default, the enable password is blank.