Removing password protection

Removing password protection means to eliminate password security. This command prompts you to verify that you want to remove one or both passwords, then clears the indicated password(s). (This command also clears the username associated with a password you are removing.) For example, to remove the operator password (and username, if assigned) from the switch, you would do the following:

Removing a password and associated username from a switch

switch(config)# no password
Password protection will be deleted, do you want to continue [y/n]? y 
switch(config)#

The effect of executing the no password command is to remove password protection from the Operator level. (This means that anyone who can access the switch console can gain Operator access without having to enter a username or password.)