Before starting any configuration on your network equipment it is essential to protect it with passwords.
Every single interface that you have on your router or switch has to be password protected.
There are few commands regarding passwords – console, aux, telnet (vty) enable password and enable secret.