Do you have serial access to the physical switch? Reboot the switch. You will see a prompt during boot right after the cisco logo made out of #s that says "Autoboot in 2 seconds - press RETURN or Esc. to abort and enter prom."
Hit return, and you will get the following startup menu:
Erase Flash File
Password Recovery Procedure
Set Terminal Baud-Rate
Enter your choice or press 'ESC' to exit:
You'll want Password Recovery Procedure and follow the prompts to reset the password without erasing your config file.
My SG's baud rate is set to 115200, but I don't know if thats the default.
Sx550X, Sx350X, Sx250: PSE will Supply Power to Catalyst PSE Ports
May 31, 2016
June 5, 2017
Configure Remote Network Monitoring (RMON) Events Control Settings on a Switch through the Command Line Interface (CLI)
Remote Network Monitoring (RMON) was developed by the Internet Engineering Task Force (IETF) to support...