'''WS-C3750X-24T-L'''
- Connect to switch with usb cable
- Power Off switch
- Power On
- Press mode button within 10s
- Press mode button until leds are solid green, or "The password-recovery mechanism is enabled." is printed in console
flash_init
dir flash:
# You will see config.text
rename flash:config.text flash:config.text.old
boot
- Enter '''"n"''' at the prompt to abort the initial configuration dialog.
- Type '''en''' to enter enable mode
- Type '''rename flash:config.old flash:config.text''' to rename the configuration file with its original name.
- Type '''copy flash:config.text system:running-config''' to reload the configuration file
- Type '''configure terminal'''
- Type '''enable secret <new_secret_password>''' to overwrite existing secret password
- Type '''enable password <new_enable_password>''' to overwrite existing enable password
- Type '''line vty 0 15''' and '''password <new_vty_password>''' to overwrite existing vty password
- Type '''login'''
- Type '''line con 0''' and '''password <new_console_password>''' to overwrite existing console password
- Type '''write memory''' to write the running configuration to the configuration file