I have previously written about replacing a Mist Access Point here. Few months ago, Juniper-Mist introduced a feature to replace a Juniper EX2300 series switch using the Mist Dashboard. This feature is still listed as a “BETA” feature, but it worked out with no issues for me.
I needed to replace my EX2300-C switch acting as a core switch with an EX2300-24P. I wasn’t sure 1) if the system will allow me to do this, 2) if it will even work because I’m going from 12 ports to 24 ports.
I had to make a couple of minor changes to adjust the ports in my template. For example, my L3 interface was moving from ge-0/0/10 to ge-0/0/23. This required a minor manual CLI action, but the rest was throughout the UI.

I do not have DHCP running on my SRX firewall, switch needed a L3 link to the firewall. I used the following commands to get the L3 link online:
delete interface ge-0/0/23 unit 0 family ethernet-switching
set interface ge-0/0/23 unit 0 family inet address 172.16.0.2/30
delete protocols rstp interface ge0/0/23
set system name-server 8.8.8.8
commit check
commit confirm 5
Replacing a switch would involve some of the following steps:
- Download the configuration from the defective switch if available
- If the switch is dead, grab the configuration from the latest backup if available
- If it isn’t available by any means, I would have had to manually create the configuration.
- Copy and paste the configuration on the new switch
- Ship the switch to the destination
- If the switch was already there, then it will require some manual/remote configuration before it is provisioned/configured and online
Replace Switch feature of Mist dashboard makes the process easy and saves lots of time. Switch can be sent to the destination directly; racked and then remotely replaced in the Mist UI.
I started the process from the switch –> Utilities –> Replace Switch

I had to answer a couple of questions next:
- There needs to be an unassigned switch in the inventory
- I had to specify the unassigned switch under, “MAC Address of unassigned switch”
- I did not want to discard any configuration, so I did not check any of those boxes. But in my case since I was going from 12 ports to 24 ports I could have discarded the “Port Configuration”
- I also unchecked, “Download Junos config of replaced switch”

Confirmed the replacement, and that was it.

EX2300-24P took the place of the EX2300-C. Downloaded all the settings, and I had my network up and running in a few.

Some additional sources:
NOTE: This does not apply to switches in the Virtual Chassis. If you have been using this feature would love to hear your feedback in the comments section.
