nerdexam
Cisco

200-301 · Question #1219

Which global command encrypts all passwords in the running configuration?

The correct answer is A. service password-encryption. The global configuration command service password-encryption encrypts all plain-text passwords in the Cisco IOS router's running and startup configurations.

Submitted by jordan8· Mar 5, 2026

Question

Which global command encrypts all passwords in the running configuration?

Options

  • Aservice password-encryption
  • Benable password-encryption
  • Cenable secret
  • Dpassword-encrypt

How the community answered

(58 responses)
  • A
    90% (52)
  • B
    2% (1)
  • C
    2% (1)
  • D
    7% (4)

Why each option

The global configuration command `service password-encryption` encrypts all plain-text passwords in the Cisco IOS router's running and startup configurations.

Aservice password-encryptionCorrect

The `service password-encryption` command is a global configuration command that, when applied, automatically encrypts all currently unencrypted passwords (like console, VTY, and enable passwords set with `password` rather than `secret`) in the router's running and startup configuration files. It uses a reversible Type 7 encryption to prevent casual viewing of passwords.

Benable password-encryption

`enable password-encryption` is not a valid command in Cisco IOS for encrypting all passwords.

Cenable secret

`enable secret` is used to set the enable password with a strong, irreversible (MD5 or SHA256) hash, but it only applies to that specific password and does not encrypt other passwords in the configuration.

Dpassword-encrypt

`password-encrypt` is not a valid command in Cisco IOS for encrypting passwords.

Concept tested: Cisco IOS password encryption command

Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/security/secure_http_server/configuration/15-mt/sec-http-serv-15-mt-book/sec-http-serv-pass-enc.html

Topics

#Cisco password encryption#Running configuration security#CLI global commands

Community Discussion

No community discussion yet for this question.

Full 200-301 Practice