Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Cisco switch password forgot to reset

Shulou Source: shulou.com Published: 2022-06-01 05:07:44 10月04日 Update

Cisco switch, what if we forget its login password? How to clear its password?

Principle: enter the bottom layer of the switch, change the name of the original configuration file of the switch, restart the switch, when the switch cannot find the original configuration file, it will load the default system file (that is, the factory configuration of the switch). In order to clear the switch password.

Step 1: connect the notebook to the com port of the switch through the control line and open the hyperterminal debugging window 2

Step 2: power up the switch again, during the power-up process, press and hold the "mode" button on the front of the switch until the sys light does not flash (that is, always on), and enter the underlying mode switch of the switch:

Step 3: enter the command to initialize the flash file system.

PS: in this mode, the abbreviation of the command is not supported. Be sure to write the command in full.

Step 4: enter the command to view the switch configuration file and prepare for the next step.

Step 5: enter the command to rename the original configuration file of the switch.

PS: "config.old" is to get a file name at random.

Step 6: enter the command to enter to see if the file name has been modified successfully; after success, enter the command to restart the switch.

Step 7: after the switch is rebooted, it is restored to the factory configuration, and the switch password is cleared successfully.

How to restore the previous configuration information of the switch?

Step 1: follow step 7 above, in the switch privilege mode, enter the command to view the system files. Rename the previously modified configuration file. Enter a command

Step 2: enter the global mode of the switch and change the forgotten password....

Enter the command to save the configuration to the DRAM memory of the switch. At this point, the switch returns to its previous configuration.

Step 3: enter the command and the switch restores the previous configuration information.

Step 4: enter the global mode of the switch, change the forgotten password, and log in later to use the newly modified password.

1.

Tags: Switch step command configuration file input password mode success system original power on information global underlying file name above principle name memory Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft macOS Linux MariaDB Shulou Tech Info