
Also see how the console port is accessed via the com port on Putty
Part A: First you need to power down the switch. Once the switch is powered off, hold down the mode button, and power the switch on.
The switch will boot up and you should see the switch prompt as shown below.
Note: This interrupts the boot process before the Flash file system can initialize, and after a short while (continue holding the “mode” button)
you will see the following prompt:
Before proceeding to perform this step, ensure these files are present and therefore delete them
switch: dir flash:
Directory of flash:/
2 -rwx 976 vlan.dat
3 -rwx 386 system_env_vars
4 -rwx 5 private-config.text
6 -rwx 1554 config.text
Part B: Initialize the flash file system with the command:
switch:flash_init
Next, check out the contents of flash and locate config.text and vlan.dat (if it exists).
Part C: Delete the config.text file from the flash directory:
switch: del flash:config.text
Part D: Delete the vlan.dat file from the flash directory or have them renamed so you can restore them in the future if need be.
switch: del flash:vlan.dat
Part E: Reboot the switch and you’re done:
switch: boot
See Links for more tips:
– https://docs.netgate.com/pfsense/en/latest/book/vlan/switch-vlan-configuration.html
– https://fatmin.com/2015/09/29/how-to-reset-cisco-catalyst-3560-back-to-factory-defaults/
– http://notthenetwork.me/blog/2013/05/28/reset-a-cisco-2960-switch-to-factory-default-settings/
– https://www.cisco.com/c/en/us/support/docs/switches/catalyst-2950-series-switches/41845-192.html