CCNA: Cisco Certified Network Associate — Question 601
hostname CPE
service password-encryption
ip domain name ccna.cisco.com
ip name-server 198.51.100.210
crypto key generate rsa modulus 1024
username admin privilege 15 secret s0m3s3cr3t
line vty 0 4
transport input ssh
login local
Refer to the exhibit. An engineer executed the script and added commands that were not necessary for SSH and now must remove the commands. Which two commands must be executed to correct the configuration? (Choose two.)
Answer options
- A. no ip name-serveer 198.51.100.210
- B. no login local
- C. no service password-encryption
- D. no ip domain mame ccna.cisco.com
- E. no hostname CPE
Correct answer: A, C
Explanation
The commands 'no ip name-serveer 198.51.100.210' and 'no service password-encryption' are necessary to correct the configuration by removing unnecessary settings. The other options do not directly relate to SSH configuration and would not resolve the issue effectively.