Password Recovery for Cisco switches
1. Press and hold the modem key to power on. After Entering the console, release: switch:
2. Load the flash_init file for initialization: switch: flash_init
3. view files in flash: switch: dir flash:
4. rename the configuration file: switch: rename flash: config. text flash: config. old (set at will)
5. Start the vswitch: boot
6. view flash in privileged mode: # dir flash:
7. Change the renamed configuration file back to the original name: # rename flash: config. old flash: config. text
8. copy the config. text content to the current configuration file: # copy flash: config. text running-config
9. Check the running-config content, view the password, or change the password: # show running-config
10. view the modification and save the configuration.
Method for deleting configuration information:
# Erase nvram or # delete flash: config. text
Delete vlan Information
# Delete flash: vlan. dat
# Reload restart takes effect