Welcome to www.linknewnet.com.

New Promotion

-8%
Cisco N3K-C3172PQ-Z8
$750 $690
-40%
Cisco Nexus 9000 Series Switch N9K-C9332D-GX2B
$38000 $22800
-38%
Cisco Switch Catalyst 9500 Series C9500-40X-A
$4000 $2500
-49%
Cisco Catalyst 9300 Series Switch C9300-24T-A
$1750 $900
-31%
Cisco MDS 9200 Series Switch DS-C9250I-K9
$1600 $1100

How to Reset a CISCO Catalyst Switch to Factory Default Settings
Apr 24 , 2025 10

When you need to delete unwanted configurations on a switch or have forgotten the switch's password, this document can help. This guide uses the Cisco Catalyst 2960-S as an example to reset the switch to factory default settings.


图片1.png

Before performing the reset, ensure the following preparations are made:


    1.Prepare a console cable to connect the switch's console port to the computer's serial port.


图片2.png


    2.Open terminal software on the computer (e.g., SecureCRT). As shown in the GUI below, set the connection to Serial, baud rate to 9600, no parity, no flow control, and 1 stop bit.



图片3.png



图片4.png



    3.Enter Recovery Mode

  • Plug in the switch’s power supply and start the switch.

  • Press and hold the "Mode" button on the switch until it enters console mode. The prompt will display as "switch:".



图片5.png



      4.Enter the command flash_init and press Enter to initialize the flash file system.



图片6.png



     5.Enter dir flash: and press Enter to view the switch’s configuration files.


  • Then, enter rename flash:config.text flash:config.bak and press Enter to rename the original configuration file to config.bak.

  • oUse dir flash: again to confirm the filename change was successful.

  • Finally, enter boot to restart the switch.



图片7.png



图片8.png

    


       6.In User EXEC mode, enter enable to access Privileged EXEC mode.


       In Privileged EXEC mode, enter erase startup-config and write erase to reset the switch to factory default settings.



图片9.png

Related Blogs

WhatsApp
Quote
Contact
Top