You will learn How to Set Username and Password in a Cisco Switch. To set a username and password on a Cisco switch, enter global configuration mode, use username [name] privilege 15 secret [password], and then set an enable secret with enable secret [password].