How to factory reset Cisco 2960 Switch?

edledge Cisco logo

Scenario:
Make
: Cisco
Model: Cisco 2960 Series
Mode: Command Line Interface [CLI]
Description: In this article, we will discuss the stepwise method of how to factory reset Cisco 2960 switch. There are various methods through which we can factory reset the 2960 switches. We will discuss here 3 methods.

This procedure is useful when you want to remove an undesirable configuration that is present in the switch. If you have configured a switch and the configuration has become very complex, or if you want to move a switch from one network to other, you can reset the switch to factory defaults and configure it as a new switch. This document provides information and sample command logs to reset your switches. To reset the Catalyst switches to factory defaults, you need access to the switch console through either a physical console or a Telnet connection.

Manual Reset

Step1: Ethernet Cables
Disconnect all Ethernet cables from the switch

Step2: Reset
Press and hold the reset button for 15-20 seconds and release the hold button as soon as all the port LEDs light up

cisco_2960_switch_reset_button

Switch will reboot and it will reset to the factory default settings.

SSH/CLI Method

Step1: SSH
SSH onto the switch and login

login as: admin
Using keyboard-interactive authentication.
Password:edledge.com

Step2: Privileged EXEC mode
Jump into the privileged mode

edledge-switch>enable
Password:edledge
edledge-switch#

Step3: Erase Configuration
Run the command as shown below to erase the configuration on 2960 switches

edledge-switch# write erase
Erasing the nvram filesystem will remove all files! Continue? [confirm] y [OK]
Erase of nvram: complete

Step4: Reload
Execute “reload” command on the switch

edledge-switch# reload
System configuration has been modified. Save? [yes/no]: n
Proceed with reload? [confirm] y


Important Note: Do not save the configuration at this prompt. Otherwise, the switch reloads with the current running configuration and does not reset to default.

Console Method

Step1: Console Cable
Connect console cable with the switch

cisco_switch_console_port

Step2: Power On
Power on the switch while holding the “mode” button.

Step3: Initialize Flash File System
Initialize the flash file system using the command below

Switch: flash_init

Step4: Delete Config file
Delete the config file from flash using the command below

Switch: delete flash:config.text

Step5: Delete VLAN
Delete the vlan file using the command below

Switch: delete flash:vlan.dat

Step6: Reload
Reload the switch

This will factory reset the Cisco 2960 series switches.

Other Important Topics

Knowledge_Check_Cisco_02

1 / 5

How many vlan can be assigned to an access port in Cisco Switches?

2 / 5

How many vlans a switch supports?

3 / 5

Is a Cisco 2960 a layer 3 switch?

4 / 5

What is the maximum power for a Cisco 2960 PoE?

5 / 5

What is the maximum PoE length does Cisco 2960 supports?

Your score is

The average score is 0%

0%

SourceKnowledge Base, Internet, Cisco

EA00166

Leave a Reply

Your email address will not be published. Required fields are marked *