CCNA Lab 6: Switch Replacement Procedure
A switch fails at 2 AM. The replacement arrives the next morning. Without a documented procedure, you will forget something โ and that something will cause an outage.
Before the switch arrives:
# Before touching anything
1. Verify the replacement switch model matches the failed unit
2. Check power requirements (PoE budget, voltage)
3. Label all cables before disconnecting
4. Take a photo of the current cabling
5. Power off the failed switch
6. Disconnect cables
7. Install the replacement in the rack
8. Reconnect all cables per your labels/photo
9. Power on the replacement! Immediately after power-on
enable
configure terminal
! Set management IP on the native VLAN
interface vlan 1
ip address 192.168.1.10 255.255.255.0
no shutdown
exit
ip default-gateway 192.168.1.1
endTest connectivity:
ping 192.168.1.1
ping 192.168.1.100 ! TFTP servercopy tftp://192.168.1.100/FAILED-SW-1-confg running-configcopy tftp://192.168.1.100/FAILED-SW-1-confg startup-config
reloadconfigure terminal
hostname REPLACEMENT-SW-1
!
vlan 10
name DATA
vlan 20
name VOICE
vlan 99
name NATIVE
!
interface range Gi0/1-24
switchport mode access
switchport access vlan 10
!
interface Gi0/24
switchport mode trunk
switchport trunk native vlan 99
switchport trunk allowed vlan 10,20,99
!
end
wrshow interfaces status
show interfaces description
show interfaces trunk
show spanning-tree
show vlan briefCheck for error-disabled ports:
show interfaces status | include errRecover error-disabled ports:
interface range Gi0/1-24
shutdown
no shutdown# From the switch
show mac address-table
show cdp neighbors
show lldp neighborsIf the switch fails to show expected neighbors:
After replacement:
# Connectivity
ping 10.0.0.1 # Default gateway
ping 10.0.0.100 # TFTP server
ping 10.0.0.200 # DNS server
# Switching
show vlan brief # All VLANs present
show interfaces trunk # All trunks up
show spanning-tree # Root bridge correct
# Security
show port-security # No violations
show ssh # SSH enabled
show aaa # AAA working| Issue | Likely Cause | Fix |
|---|---|---|
| Ports in err-disabled | CDP/LLDP mismatch or port-security violation | shutdown / no shutdown |
| No connectivity on trunk | Native VLAN mismatch | Match native VLAN on both ends |
| STP blocking active links | Root bridge changed | Set spanning-tree vlan X root primary |
| PoE not working | Insufficient power budget | Check PoE config: power inline auto |
| VLANs missing | VTP purged VLAN database | Recreate VLANs manually on VTP transparent |
| Step | Target Time | Notes |
|---|---|---|
| Physical swap | 10-15 min | Labeled cables save time |
| Boot config | 2 min | Management IP only |
| Config restore | 5 min | Faster with TFTP |
| Verification | 10 min | Check ports, neighbors, STP |
| Total | ~30 min | With proper preparation |
A documented procedure and tested backup reduce switch replacement from a panicked hour to a calm 30 minutes.
Related Articles
CCNA Lab 6: Switch Replacement Procedure
Complete step-by-step procedure for replacing a failed or decommissioned switch. Minimize downtime with a proven RMA workflow.
CCNA Lab 2: VLANs, Trunking, and Layer 2 Fundamentals
Configure VLANs, trunk ports, VTP, and troubleshoot common Layer 2 issues on Cisco switches. Practical lab scenarios included.
CCNA Lab 1: Switch Initial Configuration and Hostnames
Step-by-step guide to configuring hostnames, banners, passwords, and SSH on Cisco switches โ the foundation every network engineer needs.