1. What is the command to assign the name “Sw-Floor-2” to a switch?
- hostname Sw-Floor-2
- host name Sw-Floor-2
- name Sw-Floor-2
Explanation: The global configuration command to set the host name on a Cisco device is hostname. So, in this example the full command is Switch(config)# hostname Sw-Floor-2.
2. How is the privileged EXEC mode access secured on a switch?
- enable class
- secret class
- enable secret class
- service password-encryption
Explanation: Securing access to the EXEC mode on a Cisco switch is accomplished with the enable secret command followed by the password. In this example the command is Switch(config)# enable secret class.
3. Which command enables password authentication for user EXEC mode access on a switch?
- enable secret
- login
- secret
- service password-encryption
Explanation: User EXEC mode access through the console port is enabled with the login command entered in line mode. For example: Switch(config-line)# login.
4. Which command encrypts all plaintext passwords access on a switch?
- enable secret
- login
- secret
- service password-encryption
Explanation: The service password-encryption command entered in global configuration mode will encrypt all plaintext passwords.
5. Which is the command to configure a banner to be displayed when connecting to a switch?
- banner $ Keep out $
- banner motd $ Keep out $
- display $ Keep out $
- login banner $ Keep out $
Explanation: The command to set a banner stating “Keep out” that will be displayed when connection to a Cisco switch is Switch(config)# banner motd $ Keep out $