With many cisco switch user have this problem for a long time. This article is in order to help them solve this problem with an easy method.
Easy way to reset
Cisco 2960 switch password:
First, power off your Cisco 2960 switch by unplugging its cord. As you reconnect the switch to the power source, press and hold the "Mode" button. On Cisco 2960 switches, this button is located on the front of the switch, on the left hand side.
After three seconds, the LED above the button should change from amber to green and start blinking. You are supposed to hold down the button until the light stops flashing. Release the button.
After you had done those steps, you can reset your password.