Basic config

enable secret <password>

Set the encrypted password required to enter privileged mode.

Works on: Router, SwitchMode: config
Watch out

Always use 'secret' (MD5-hashed), never the legacy 'enable password' (plaintext).

Run this command live

Don't just read it — type enable secret <password> in a real network simulator in your browser and watch it take effect. No install, no account needed to start.

Open the lab

Frequently asked

What does the "enable secret <password>" command do?

Set the encrypted password required to enter privileged mode.

What's the common gotcha with "enable secret <password>"?

Always use 'secret' (MD5-hashed), never the legacy 'enable password' (plaintext).

More Basic config commands

← Back to the full command reference

enable secret <password> — network CLI command reference · NetForge-AI