Security

password <password>

Set the line password that 'login' checks. Shown as 'password 7 …' once 'service password-encryption' is on.

Works on: Router, Firewall, Switch, Access pointMode: line
Watch out

Configuration only here: nothing prompts for it.

Run this command live

Don't just read it — type password <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 "password <password>" command do?

Set the line password that 'login' checks. Shown as 'password 7 …' once 'service password-encryption' is on.

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

Configuration only here: nothing prompts for it.

More Security commands

← Back to the full command reference

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