liveBook · Manning

Enable secret

As explained in Acing the CCNA Exam: Volume 1 Fundamentals and Protocols

The enable secret command is a Cisco IOS global-configuration command that sets the password for privileged EXEC mode.

The enable secret command sets the password required to enter privileged EXEC mode, where users can run show commands and change the device configuration. Configure it in global configuration mode because privileged EXEC access must be protected from unauthorized users. section 5.4 section 5.4.2

Configure and verify an enable secret

R1(config)# enable secret cisco R1(config)# do show running-config | include enable enable secret 9 $9$emuJQV5sVZCY8v$INbrp9XrtfWHieMubzYt7N640m4KXDIqKg/a6SHY9lU The password is stored as a hash rather than cleartext or reversible ciphertext. The leading 9 identifies type 9, commonly associated with scrypt on the demonstrated platform. section 5.4.2

Keep these operational and exam points in mind:

  • Prefer enable secret over the legacy enable password. If both are configured, only the enable secret authenticates privileged EXEC access. section 5.4.2 section 5.5
  • Hashing is one-way, while service password-encryption applies weak, reversible type 7 encryption to passwords. section 5.4.1 section 5.4.2
  • Available hashing algorithms depend on IOS version; type 9 scrypt is more secure than type 5 MD5 when supported. section 5.4.2 section 5.5

How Acing the CCNA Exam: Volume 1 Fundamentals and Protocols covers it

How deep it goes
Explains configuration, verification, hashing, algorithm types, and precedence over enable password without detailing algorithm configuration.
Examples
Uses Cisco IOS commands to configure enable secret and inspect its hashed running-config entry.
What it assumes
Assumes familiarity with Cisco IOS modes and running-config while distinguishing enable password from zero.
What you can do after
Operate/configure privileged EXEC protection with enable secret and recognize its hashed representation in running-config.
How it connects
Connects privileged EXEC mode, global configuration mode, enable password, service password-encryption, running-config, and hashing algorithms.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 1 Fundamentals and Protocols. The section links point to the parts of the book it draws on.