LOGBOOK

HELP

Quiz Entry - updated: 2026.07.05

What is a complete basic security configuration for a Cisco switch?

Encrypt passwords (service password-encryption), set enable secret, then secure both the console line and the VTY lines each with a password plus login.

! Encrypt all passwords
Switch(config)# service password-encryption

! Set privileged EXEC password
Switch(config)# enable secret Cla55

! Secure console access
Switch(config)# line console 0
Switch(config-line)# password Cisc0
Switch(config-line)# login
Switch(config-line)# exit

! Secure VTY (remote) access
Switch(config)# line vty 0 15
Switch(config-line)# password Cisc0
Switch(config-line)# login
Switch(config-line)# end

Go deeper:

From Quiz: NETW1 / Basic Switch and End Device Configuration | Updated: Jul 05, 2026