Step-by-step guide
How to replace a network switch in a rack: label, remove, mount and reconnect step by step
Short answer: to replace a network switch in a rack, label every cable with its port number, unplug and take the old switch out, attach the rack ears to the new switch, mount it in the rack, then connect every cable back into the same port, move the SFP uplink modules and power it on. Doing it in this order keeps the network down for the shortest time.
In this guide I replace a big 48-port switch in a busy network rack with a new Fortinet FortiSwitch 248E-FPOE. You will see what comes in the box (power cord, console cable, manual, rubber feet and rack ears), where the console port is, how to mount a switch in a 19-inch rack, how to release and insert an SFP fiber module, and how switches are daisy-chained to each other. After the steps you will find a compatibility checklist, a troubleshooting table and an FAQ, so you can plan your own switch replacement even if you have never done one before.
In this article
- Plan the switch replacement before you touch the rack
- Unbox the new switch and check the accessories
- Identify the power cord and the console cable
- Find the console port for the initial setup
- Compare the ports of the old and new switch
- Attach the rack ears to both sides of the switch
- Label every cable and photograph the old switch
- Disconnect and take the old switch out
- Mount the new switch in the rack
- Connect every cable back into the right port
- Release the old SFP fiber module
- Insert the SFP module into the new switch
- Push the SFP in until it locks
- Daisy-chain the new switch to the other switches
- Power on and test every connection
- Why replace a network switch? Common signs
- Switch replacement compatibility checklist
- Troubleshooting after replacing a switch
- Tips to replace a switch with minimal downtime
- Frequently asked questions
- Watch the video
Step 1Plan the switch replacement before you touch the rack

- Replacing a switch is mostly preparation. The more you do while the old switch is still running, the shorter the outage.
- Unbox the new switch, attach its ears and (if it is a managed switch) load its basic configuration before you unplug anything.
- Tell the people who use the network when it will be down. Everything plugged into that switch (computers, phones, cameras, access points) will lose connection during the swap.
- Common mistake: unplugging first and thinking later. Without labels you will spend the outage guessing which cable went where.
Step 2Unbox the new switch and check the accessories

- In the box of the FortiSwitch in the video you get the power cable, a console cable, the manual, rubber feet and the rack ears (mounting brackets).
- Check that every item is there before the maintenance window. A missing power cord or bracket is a bad surprise at the rack.
Step 3Identify the power cord and the console cable

- The power cable plugs into the back of the switch. This model has an internal 100-240 V AC power supply, so it uses a normal AC cord (per the Fortinet datasheet).
- The console cable is for setting up the switch with a laptop when you need to do some configuration. Cisco switches usually come with a similar cable.
- Tip: if your laptop has no serial port, you need a USB-to-serial adapter or a USB console cable.
Step 4Find the console port for the initial setup

- On this FortiSwitch the RJ-45 console port is on the back, next to the power area. Connect the console cable here and the other end to your laptop.
- Per Fortinet's documentation, the FortiSwitch console default is 115200 baud, 8 data bits, no parity, 1 stop bit (115200-8-N-1). Many other brands, including Cisco, use 9600 baud, so check the manual of your switch.
- The quick setup label on top of the switch also shows standalone web setup: connect a cable to the MGMT port and browse to 192.168.1.99, user admin, no password.
Caution: Set a strong admin password right away. A switch left with the default login is a security risk on any network.
Step 5Compare the ports of the old and new switch

- The switch in the video is a FortiSwitch 248E-FPOE: 48 GE RJ45 ports, all PoE+, with a 740 W PoE budget, plus 4 GE SFP ports for uplinks, in 1 rack unit (Fortinet datasheet).
- Your new switch must have at least as many ports as cables you are moving, the same SFP type and speed for uplinks, and enough PoE power if it feeds phones, cameras or access points.
- Common mistake: replacing a PoE switch with a non-PoE model. Everything powered by the cable (IP phones, cameras, Wi-Fi) goes dark.
Step 6Attach the rack ears to both sides of the switch

- The rubber feet are for using the switch on a desk or shelf. Most people use the switch in a rack, so you install the ears instead.
- Put one ear on each side with the screws that came in the box, then grab the other ear and do the same on the opposite side.
- Do it on a table before the outage: it is much easier than holding the switch in the rack.
- Tip: check which way the ears face. Most switches let you mount them flush with the front (ports facing out) or set back; use the same position as the old switch.
Step 7Label every cable and photograph the old switch

- Label the cables on the old switch before you remove it. Put the port number on each patch cable (P1, P2 ... P48) and mark the uplink.
- Take clear photos of the front of the old switch, port by port, as a backup of the layout.
- Why it matters: on managed switches each port can have its own VLAN, PoE or speed settings. If a cable lands on another port, the device may not work even though the link light is on.
- Tip: labels near the plug end are easier to read in a full rack than labels in the middle of the cable.
Step 8Disconnect and take the old switch out

- Unplug the power first, then the patch cables and uplinks. Leave the labeled cables hanging in order, close to where they were.
- Remove the rack screws while you support the switch with one hand, then slide it out of the rack.
Caution: Hold the switch while removing the last screws. A 48-port switch is heavy enough to drop and damage the cables or devices below it.
Step 9Mount the new switch in the rack

- Slide the new switch into the same rack space the old one used, so every cable reaches its port.
- Line up the holes of the ears with the rack rails and put in the screws. Start all screws by hand before tightening, so the switch sits straight.
- Leave the vents clear. Switches pull air through the sides or front and back; do not block them with cables or other gear.
Step 10Connect every cable back into the right port

- Now use your labels: cable P1 goes to port 1, P2 to port 2 and so on. Push each plug until it clicks.
- Work in order, left to right and top row then bottom row, so you do not skip one.
- Common mistake: forcing a plug with a broken clip. It will fall out later; replace the plug or the patch cable.
Step 11Release the old SFP fiber module

- The SFP optical adapter (transceiver) is the small module that takes the fiber or uplink cable.
- To remove it, pull the latch (bail) down. That releases the locking mechanism and the module slides out.
- Remove the fiber cable from the module first and keep the fiber ends clean and covered with their dust caps.
Caution: Never look into a fiber cable or an SFP port while the other end may be active. The laser light is invisible.
Step 12Insert the SFP module into the new switch

- The SFP ports are at the right end of the front panel on this switch (4 GE SFP ports).
- Hold the module with the label facing the same way as the other modules, and keep the latch closed (up).
- Make sure the module matches the port: a 1G SFP port needs a 1G SFP module, and the fiber type must match the other end.
Step 13Push the SFP in until it locks

- Slide the module straight in until it clicks and locks. It should not come out when you pull it gently.
- Then connect the fiber (or the copper uplink) to the module.
- Tip: if the module does not go in easily, check that it is not upside down. Do not force it.
Step 14Daisy-chain the new switch to the other switches

- The SFP uplink is what you use when you have a lot of switches: you connect them in a daisy chain, from one switch to the next.
- Reconnect the uplinks exactly as they were on the old switch (same SFP port if the configuration expects it).
- Common mistake: adding a second cable between the same two switches. Without link aggregation or spanning tree that creates a loop that can take the whole network down.
Step 15Power on and test every connection

- Plug in the power cord and wait for the switch to finish booting.
- Check the link lights on every used port and on the uplink. Then test from a few devices: internet access, phones, cameras and printers.
- If a device does not work, check its port against your photos and labels first. That is the most common cause after a swap.
Why replace a network switch? Common signs
You usually replace a switch for one of these reasons:
- The switch failed: no lights, ports dead, or it reboots by itself.
- You need more ports for new computers, cameras or access points.
- You need PoE to power IP phones, cameras or Wi-Fi access points from the cable.
- You need faster or different uplinks, for example SFP fiber ports to connect switches that are far apart.
- You want a managed switch with VLANs and remote management instead of an unmanaged one.
Whatever the reason, the job is the same: label, remove, mount, reconnect, test. If you also install servers in the same rack, see how to install sliding rails and servers in a rack.
Switch replacement compatibility checklist
Check these before you buy the new switch:
| Check | Why it matters |
|---|---|
| Number of ports | Must be at least as many as the cables you move, plus room to grow |
| PoE / PoE+ and PoE budget | Phones, cameras and access points need power from the port; the total budget must cover all of them |
| Uplink type and speed (SFP, SFP+, copper) | The module and the other end must match (for example 1G SFP to 1G SFP, same fiber type) |
| Rack size (1U, 19-inch) and ears included | It must fit the same space; most 48-port switches are 1U |
| Managed vs unmanaged | Managed switches need configuration (VLANs, passwords) before they replace a managed one |
| Console port and cable | You need it for the first setup on many managed switches |
| Power (AC, redundant supply) | Same outlet type; some models accept an optional redundant power supply |
As a reference, the FortiSwitch 248E-FPOE in the video has 48 GE RJ45 PoE+ ports with a 740 W budget, 4 GE SFP ports, an RJ-45 console port, a dedicated management port and an internal AC supply (Fortinet datasheet). Other models are different, so read the datasheet of your exact switch.
Troubleshooting after replacing a switch
| Problem | Likely cause | Fix |
|---|---|---|
| No lights on a port | Cable not seated or bad patch cable | Push the plug until it clicks; try another patch cable |
| Link light on, but the device has no network | Wrong port or VLAN on a managed switch | Compare with your labels and photos; copy the old port settings |
| Phones, cameras or access points dead | New switch has no PoE, PoE disabled, or budget exceeded | Use a PoE switch, enable PoE on the port, check the budget |
| Uplink to the other switches is down | SFP not locked, wrong module type or speed, dirty fiber | Re-seat the module, match the module to the other end, clean the fiber |
| Whole network slow or unstable | Loop created by an extra cable between switches | Remove the extra cable or configure link aggregation / spanning tree |
| Cannot reach the switch setup page | Laptop on another subnet or wrong port | Use the MGMT port and an IP in the same range, or use the console cable |
To find which wall jack or device a mystery cable goes to, use a tone generator and probe, and check suspicious cables with a network cable tester.
Tips to replace a switch with minimal downtime
- Prepare everything first: unbox, attach the ears, configure the new switch and label the cables while the network is still running.
- Schedule the swap at a quiet time (early morning, after hours or a weekend).
- Use the same rack space so all the cables reach.
- Move cables in order instead of all at once, and check the light after each one.
- Keep the old switch and its configuration backup until the new one has run without problems.
- Write down the uplink ports and SFP modules used between switches.
- Clean up: once everything works, tidy the cables with Velcro straps so the next change is easier.
Frequently asked questions
How do you replace a network switch without losing connections?
Label every cable with its port number and take photos before unplugging, then connect each cable to the same port on the new switch. On a managed switch, copy the port settings (VLANs, PoE) first.
How long does it take to replace a network switch?
It depends mostly on how many cables you move. If the cables are labeled and the new switch is already unboxed, fitted with ears and configured, the actual outage is only the time to unplug, mount and reconnect.
Do I need to configure a new switch before installing it?
An unmanaged switch works out of the box. A managed switch should be configured (admin password, VLANs, uplinks) before the swap so the network works as soon as you reconnect it.
What is the console cable for on a switch?
It connects a laptop to the switch's console port for the first setup and for troubleshooting when the network is down. The FortiSwitch console default is 115200-8-N-1.
What are rack ears on a network switch?
They are metal brackets that screw to the sides of the switch so it can be bolted into a 19-inch rack. Rubber feet are for desk or shelf use instead.
How do you remove an SFP module?
Remove the fiber cable, pull the bail latch down to release the lock, and slide the module out. Never look into the port or fiber.
What does daisy chaining switches mean?
It means connecting switches one after another with uplink cables, often through SFP ports, so all of them are part of the same network.
Can I replace a PoE switch with a non-PoE switch?
Only if no device on it gets power from the cable. IP phones, cameras and access points powered by PoE will stop working on a non-PoE switch.
Watch the video




Comments
Comments appear after Gabriel reviews them.
Loading comments…