Posted in

How to reset a network switch to factory settings?

Hey everyone, it’s Jake here, from your go-to network switch supplier – I’ve been in this game for about 8 years now, and let’s be real: when something’s acting weird on your network, half the time a factory reset on your switch is the fix you need. I’ve gotten so many late-night DMs from clients panicking because their VLANs are messed up, their port mapping’s off, or a new switch won’t play nice with their existing setup. Most of the time, they’re overcomplicating it – and I get it, resets sound scary if you’ve never done one, like you’re gonna wipe all your configs and be stuck with a paperweight. Nah, I’m gonna walk you through this step by step, no jargon, no fancy tools, just what actually works for Cisco, Arista, and the bulk we supply at our shop. Network Switches

First off, let’s get one thing straight: why would you even need a factory reset? I’ve seen three main scenarios, and they’re super common. First, you’re upgrading your network – maybe you’re ditching old switches and handing the new ones over to a different team, so you don’t want their old VLANs or port rules hanging around. Second, your switch is glitching: like, ports are turning off randomly, you can’t log in, or the firmware won’t update no matter what you try. Third, you got a refurbished or used switch off some sketchy marketplace, and it’s loaded with someone else’s old config. That last one’s a big one for us – we get so many people asking how to wipe a used switch they picked up to make it work for their setup.

Now, before you touch a single button, stop. Wait, what? Yeah, prep is key here. I know you’re eager to fix the problem, but messing this up before you prep will make your life way harder. First, back up your current config if you’re using the switch you already have, not a new one. If you’re on a Cisco, that’s just running “copy running-config startup-config” in the CLI – boom, saved. If you don’t do that, you’ll lose all your settings, and trust me, calling your IT guy at 2 a.m. isn’t fun for anyone. Second, double-check the switch model. I know it sounds dumb, but resetting a Cisco Catalyst is way different than resetting an Arista or a generic unmanaged switch – and the bulk of the switches we sell are the managed ones, so we’re gonna focus on those since unmanaged is usually just a tiny button you press for 10 seconds. Also, make sure you have physical access, or remote access if your switch is set up for that – but never try to reset a switch remotely if it’s already glitching, you might brick it entirely.

Okay, let’s dive into the actual steps, starting with managed switches, since that’s what most of our clients use and what we stock. First, the two main methods: CLI (command line, which is faster, better for pros) and physical button (better if you can’t log in for some reason). I’ll cover both, and note which works for the switches we supply.

First up, CLI method. This is my go-to when I’m onsite for a client install, because it’s quick and no one has to mess with tiny buttons. Let’s use Cisco Catalyst 9200 as an example, since that’s one of our top sellers. First, you log into the switch via SSH or console cable. Once you’re in, you’ll be in user exec mode – type “enable” and enter your enable password to get into privileged exec mode. Now, here’s the command: “write erase” for older Cisco IOS, or “erase startup-config” for newer ones, then press enter. It’ll ask if you’re sure – type “yes”. Next, you need to reload the switch, so type “reload”, hit enter, confirm again with “yes”. That’s it? Wait, no – wait, some newer Cisco switches have an extra step: after erasing, you have to delete the vlan.dat file too, which stores your VLAN config, so the command is “delete flash:vlan.dat” before reloading. If you skip that, your VLANs won’t reset properly, I’ve made that mistake once with a client’s test switch, and it was a mess.

For Arista switches, another big name we supply, the process is almost identical but a tiny command difference. Log into the CLI, get into enable mode, then type “write erase” – confirm, then “reload”. No extra vlan.dat step needed there, that’s just Cisco. If you’re on a generic managed switch from the budget line we carry, it’s usually similar: log in, go to admin settings, find the “reset to factory defaults” option, click it, confirm. Way simpler, but that’s because budget switches have a web UI that’s not as clunky as enterprise ones.

Now, what if you can’t log in? That’s where the physical reset button comes in. This is the one most people panic about, but it’s super easy. Every managed switch we sell has a recessed reset button, usually on the back, near the power port – it’s tiny, like a pinhole, so you need a paperclip, a pen tip, or a tiny screwdriver. Here’s the rule: hold it for 10 to 30 seconds. Wait, 10? 30? How do you know? For most of our Cisco switches, hold it for 15 seconds, and for Arista, 20. Unmanaged switches are usually 10 seconds max, but just hold it until the power light flashes, that’s your sign it’s resetting. The trick here is don’t hold it too short – if you just tap it, it won’t do anything, and don’t hold it too long, like a minute, because some switches will go into a bootloop if you do that. I always tell clients: count to slow 15 seconds, that’s the sweet spot for 90% of our switches.

Wait, let’s do a quick unmanaged switch breakdown too, because some of our clients don’t need managed features, they just need a basic switch for small offices or home labs. Unmanaged switches don’t have CLI or web UIs, so the factory reset is just holding that tiny button for 10 seconds, or sometimes you have to power cycle it while holding the button. Yeah, some older generic unmanaged switches need that extra step: plug the power in while holding the reset button, keep holding until the light flashes, then let go. That’s why I always say, check the manual that comes with the switch – but if you lost the manual, 10 seconds holding the button is the go-to for the bulk we supply.

Now, common mistakes I see all the time, and they’re avoidable. First, forgetting to back up your config if you’re wiping a working switch. Last quarter, a small business client called me panicking because he reset his switch to replace an old one, and he didn’t back up his config, so his internet was down for 4 hours. Don’t be that guy. Second, not waiting for the reset to finish. When you hit the reset or reload command, don’t unplug the power until the switch’s power light stops flashing and stays solid – that’s when it’s done, if you yank it mid-reset, you’ll have a dead switch, no question. Third, resetting a switch that’s still in use on a live network. Wait until all devices are unplugged from the switch, or move them to another one, because if you reset a switch that’s in the middle of routing traffic, you’ll cause a network outage. Fourth, using the wrong reset method for your model. A lot of people see a tiny button and hold it for 2 minutes, and their switch is bricked – stick to 15 seconds for enterprise, 10 for budget, and you’re good.

Wait, one more thing: post-reset, what’s next? You don’t just leave it at factory settings. If you’re reconfiguring it, log into the default IP (check the manual, but it’s usually 192.168.1.1 or 10.0.0.1 for our switches), set a new admin password, update the firmware to the latest version – that’s the most important step after a reset, because factory firmware is usually outdated and has security holes. I always recommend updating firmware within 24 hours of a reset, it takes 5 minutes and prevents so many issues down the line.

Now, since I’m the guy supplying these switches, let’s circle back to why this matters for you, the buyer. A lot of our clients buy bulk switches for office builds, or refurbished switches for small teams, and a reset is the first thing they need to do to get them set up right. If you’re here because your switch is acting up, or you just got a new (or new-to-you) switch that won’t connect, this reset process works for 99% of the switches we stock. No need to pay a tech $150 to come do this for you, you can do it in 10 minutes.

Wait, let’s make sure this is clear for everyone. Let’s recap the cheat sheet, because not everyone wants to read a whole novel:

  1. If you have a working switch, BACK UP YOUR CONFIG FIRST.
  2. For managed switches, use CLI (fast) or physical button (no login access):
    • Cisco: Erase startup config, delete vlan.dat, reload / hold reset for 15s.
    • Arista: Erase startup config, reload / hold reset for 20s.
    • Generic managed: Web admin > Factory Reset > Confirm.
  3. For unmanaged: Hold reset for 10s, or power on while holding if needed.
  4. Wait for the light to stop flashing before touching it again.
  5. Update firmware after reset.

I know a lot of you are still thinking, “What if it doesn’t work?” Well, 9 times out of 10, if you followed these steps, it will. The only time it doesn’t is if the switch has a hardware fault, which we can take care of under warranty, by the way. That’s one of the perks of buying from us – if your switch won’t reset or has other issues, our team is here to help, no hoops to jump through.

Now, if you’re reading this and you need switches for your office, lab, or new build, we’ve got a huge stock of managed and unmanaged switches, from small 8-port for home use to 48-port for enterprise. We work with small businesses, big IT teams, hobbyists, everyone. If you need to chat specs, bulk pricing, or just have questions about resetting a specific switch, feel free to reach out to our sales team to connect on procurement and pricing. No hard sells, just straight answers, since we’ve been in this long enough to know that good networks start with good gear and knowing how to fix the little stuff.

Quick note: This process works for most switches, but always double-check your specific model’s documentation if you have it, since there are a few weird niche models that do things differently. But for 95% of the switches we supply, this is the play.

Enterprise Routers References:

  1. Cisco Systems. (2024). Cisco Catalyst Switch Factory Reset Guide.
  2. Arista Networks. (2024). Arista Switch Recovery and Factory Reset Documentation.
  3. CompTIA. (2023). Network+ Study Guide: Switch Configuration and Troubleshooting.
  4. Our in-house technical team’s 8 years of field experience troubleshooting switch resets for clients.

Shenzhen TFNEW Technology Co., Ltd.
Shenzhen TFNEW Technology Co., Ltd. is is one of the most professional network switches manufacturers and suppliers in China, also supports customized service. We warmly welcome you to wholesale bulk cheap network switches from our factory. If you have any enquiry about cooperation, please feel free to email us.
Address: Room 408, Block F, Zhantao Commercial Plaza, No. 376 Longhua Jianshe Road, Longping Community, Dalang Sub-district, Longhua District, Shenzhen City
E-mail: jack@tfnew.com
WebSite: https://www.tfictai.com/