Basic config

service password-encryption

Hash all clear-text passwords in running-config (Type 7).

Works on: Router, SwitchMode: config
Run this command live

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

Hash all clear-text passwords in running-config (Type 7).

More Basic config commands

← Back to the full command reference

service password-encryption — network CLI command reference · NetForge-AI