When we think of connectivity in a network, the router is probably the first device that comes to mind, but switches play a vital role in enabling devices to communicate. You also want to check the physical state of the device and verify that none of the cables are damaged. To start configuration, you want to connect the switch console to PuTTY.
You can do this by doing the following:. You can make the switch easier to locate in the network by assigning a hostname. Enter the following command to assign a hostname:. To assign an administrator password to enter the following command:. The next step is to configure passwords for Telnet and console access. Configuring passwords for these is important because it makes your switch more secure. If someone without authorization gains telnet access then it puts your network at serious risk.
You can configure passwords by entering the following lines See the top paragraph for Telnet and the bottom paragraph for Console access. ACLs ensure that only the administrator can connect to the router through Telnet. Next, you need to configure a management IP address.
You can do this by entering the following command:. At this stage, you want to assign a default gateway to the switch.
The default gateway is essentially the address of the router that the switch will be communicating with. To assign the default gateway enter the command below change the IP address to that of your router. As a best practice, it is a good idea to disable any unused open ports on the switch.
Cybercriminals often use unsecured ports as a way to breach a network. Closing these ports down reduces the number of entry points into your network and makes your switch more secure. Saving the configuration will make sure that your settings are the same when you open up your next session. To save enter the following command:. It is also a good idea to use a network traffic analyzer to monitor network traffic.
As a Cisco device, your switch will have the communication protocol NetFlow.Sometimes the administrator password might be lost or forgotten.Resetting Cisco Catalyst 2960 Switch To Factory Defaults By Button.
In this case, the only way to recover access to the switch is to reset it manually. This article explains how to manually reset the switch on the and Series Managed Switches. Step 1. Hold the switch Reset button on the front of the switch for 15 to 20 seconds until all port LEDs glow. The switch reboots. Step 2. Connect your PC to the switch directly using an Ethernet cable.
Step 3. Open any web-browser on your PC, enter the IP address of the switch in the address bar. Note: In order to connect properly, be sure the IP address of the computer is in the same subnet as the IP address of the switch.
Step 4. Once connected, the switch will prompt for a username and password. The default username is cisco and the default password is cisco. Step 5. The switch will prompt you to create a new password.
The password cannot be the same as the user name, cannot be the same as the current password, has a minimum length of 8 and a minimum number of character classes of 3. Character classes are uppercase, lowercase, numeric and special numbers. Note: Check the Disable Password Complexity Enforcement check box to bypass the switch password requirements. It is a good practice to save your current configuration for backup purposes.
To save your running configuration which contains your new password, click Running configuration as Source File Name and click Startup configuration as the Destination File Name. Note: Do not navigate to any other part of the GUI until the save process is complete or the process will be aborted.The Reboot feature of the network device is useful when certain changes in the settings require a reboot to completely apply the configuration settings, or if the device is not functioning as expected.
The configuration settings of the network device get reflected after the device restarts. The Reset feature is used to remove the running or current configuration settings on the network device and restore it to the original default settings. Manual reset is recommended when the whole device needs to be reconfigured, or in case you forget the password and not able to recover by any means such as accessing the console using Telnet or Command Line Interface CLI.
Important: When a switch is rebooted, the running configuration file is deleted. Before proceeding with the reboot instructions, make sure to save all the running configuration settings to avoid data loss.
In the Reboot area, click the radio button that corresponds to the desired time at which the switch reboots. Optional Check the Restore to Factory Defaults check box to reboot the switch to the factory default configuration. Optional Check the Clear Startup Configuration File check box to clear the configuration on the switch after reboot.
In order to properly reboot the switch to factory defaults, you need to disable the DHCP Auto Configuration so the switch does not automatically download a configuration from a local server. To learn more about this feature, click here for instructions.
Open a web browser on your computer and enter the IP address of the switch in the address bar. The default IP address of the switch is Note: In order to connect properly, make sure that your computer has an IP address in the same subnet as the switch. In this example, the IP address of the computer is Once connected, the switch will prompt for a username and password.
Note: You will be required to configure new password for better protection of your network. Check the Disable Password Complexity Enforcement check box to bypass the password strength requirements. Note: To learn how to configure the Password Strength security feature of the switch, click here for instructions.Go to Solution. You need to power down the switch, power it back on with the mode button pressed. You will eventually arrive at the switch: prompt. From there you can either delete or rename the existing config:.
View solution in original post. Buy or Renew. Find A Community. We're here for you! Turn on suggestions. Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. Showing results for. Search instead for. Did you mean:. Cisco reset to factory default.
How to Reset Cisco Catalyst 3750 Back to Factory Defaults
Labels: Other Switching. Accepted Solutions. Seb Rupik. VIP Advisor. Re: Cisco reset to factory default. Hi there, You need to power down the switch, power it back on with the mode button pressed. Console View solution in original post. TimothyElliott6 Thank you. Worked great. Latest Contents. Created by AqeelHasan on PM. Powershell scripts for Cisco switch inventory. Does anyone have or know of any Powershell scripts to collect information from Cisco switches Nexus, layer 2 and output to csv or Excel?
Need to document a number of Cisco switches with port, vlan, routes, ACL information. Created by ciscomoderator on PM. Created by miuddin on PM. Cisco Umbrella Initial Setup. Created by Mohamed Alhenawy on AM. In this article, we are going to talk about Cisco Umbrella Initial Setup. Almost every single decision made by business is either based on an IT data or done using the IT platform. And so Create Please login to create content.Assuming you have access to the physical switch, this guide will walk you through the steps required to reset a Cisco Switch back to factory default.
This was most useful to me when I was purchasing random equipment off the internet to build a home lab. When I got the devices, they still had the owners config and I was stuck with no passwords The first step is to connect a console cable to the COM port of your workstation to gain access to the switch. There are several software products that will allow you to do this, but I recommend using Putty. It is the most accepted and easiest to use in my opinion.
Now with the terminal windows open, plug the console cable into the console port of the switch typically located on the back and labeled console.
Resetting a Cisco Switch to Default & Password Recovery
Before powering on the switch hold the mode button located at the front of the switch on the left side. At this now while still holding the mode button down, plug in the power cable. If you are using a laptop may need to use a usb keyboard to hit these keys. Would you like to enter the inital configuration dialog? SW1 config exit SW1 config wr. You now have gained access to the switch and successfully returned it to factory default. You may also want to delete the vlan. Deleting Vlan. Appreciate the review.
Nice write up, with graphics! Its very help full topic in networking industries. Step 10 did not work for me on my Cisco X. I had to type the following: Switch: ren flash:config. Home Networking Cisco How-tos. Cisco General Networking. Aug 19, 2 Minute Read. Reply 9. Facebook Twitter Reddit LinkedIn.
Josh Duffney. Track Progress.Go to Solution. View solution in original post. I don't think you can use the mode button to reset the switch, however, you can log in to it and reset it.
Buy or Renew. Find A Community. We're here for you! Turn on suggestions.
Resetting a Cisco Switch to Default & Password Recovery
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. Showing results for. Search instead for. Did you mean:. I have problems to factory reset a CX switch.
I need to know the procedure to reset the configuration with the mode button.
Resetting Catalyst Switches to Factory Defaults
Thank you everyone!! Labels: LAN Switching. Accepted Solutions. Re: CX Factory Reset. Thank you very much!! The password recovery procedure works for me. Note: In CX switches, you need to hold down the mode button located on the left side of the front panel, while you reconnect the power cable to the switch and wait until this lines apper: The password-recovery mechanism is enabled.How to do a factory reset using CLI without wiping the flash?
I have saved a number of config saves on it and want to preserve the flash intact. I have both physical and CLI access. Go to Solution. View solution in original post. Yes, the password is contained within the running config which is being backed up and then erased in the steps above. Buy or Renew. Find A Community. We're here for you!
Turn on suggestions. Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. Showing results for.
Search instead for. Did you mean:. How to factory reset a Catalyst switch via CLI. Thanks, Solved! Labels: Catalyst Other Switching. I have this problem too. Accepted Solutions. Seb Rupik. VIP Advisor. Hi there, Copy the current the config and then erase the startup config:! It worked flawlessly. Thank you Seb.