#set up passwords enable conf terminal #put a password, password for the EXEC enable secret PASSWORD line console 0 #password login CISCO switch (cli cisco) password PASSWORD login line vty 0 15 #password for telnet password PASSWORD login #encrypt passwords service password-encryption #banner for legal reasons, do not include any way of inviting / welcome as that will cause legal issues banner motd "unauthorized access, violators will be prosecuted!" exit #save the new config copy running-config startup-config #set up an ip address conf terminal interface vlan 1 ip address 192.168.0.1 255.255.255.0 no shutdown ctrl + z #check if set up correctly show ip interface brief