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.
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)- A90% (52)
- B2% (1)
- C2% (1)
- D7% (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.
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.
`enable password-encryption` is not a valid command in Cisco IOS for encrypting all passwords.
`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.
`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
Community Discussion
No community discussion yet for this question.