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:

Syntax:


 password
 no password

Executing this command removes password protection from the operator level so anyone able to access the switch console can gain operator access without entering a username or password.

Syntax:


password all
no password all

This command removes both operator and manager password protection.

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)#