Command
Enable Secret
Use
Sets an encrypted password for enable mode on the router.
Syntax
Router(config)#enable secret <WORD>
Example
In this example the enable password is set on R1.
R1(config)#enable secret cisco R1(config)#
Next, we verify the encrypted enable password using the show run command.
R1(config)#do show run | i enable enable secret 5 $1$DFaG$gio1KhCTVIYNSZHNM2KhH0
The syntax section is wrong, it’s defining how to set a password, not a secret. The examples are correct.