A virtual chassis is a scalable switch composed of multiple interconnected switches. When any of these switches fails, it needs to be replaced with a spare device.
This article explains how to replace the switch on the VC when using preprovisioned configuration.
A faulty switch in virtual chassis needs to be replaced:
user@switch> show virtual-chassis status Preprovisioned Virtual Chassis Virtual Chassis ID: 0000.e255.00e0 Mastership Neighbor List Member ID Status Serial No Model Priority Role ID, Interface 0 (FPC 0) Prsnt abc123 ex4200-48p 129 Master* 1 vcp-0 2 vcp-1 1 (FPC 1) Prsnt def456 ex4200-24t 129 Backup 2 vcp-0 0 vcp-1 2 (FPC 2) NotPrsnt abd231 ex4200-24p 0 Linecard >>>>>>>>>>>>>>>faulty switch
NOTE:If your Virtual Chassis is managed through Juniper Mist, you can configure and manage it through the Mist portal. To know more, see Virtual Chassis Overview (Mist).1-Replace physically on the rack the faulty switch with the spare switch.
2-Make sure the spare switch is running the same Junos version as the rest of the virtual chassis members.
3-Turn off the spare switch.
4-Connect one virtual chassis port from the spare switch into one of the virtual chassis ports on any current members of the virtual chassis.
5-Change the configuration on the Master of the Virtual Chassis to replace the Serial Number of the faulty switch with the Serial Number of the spare switch
[edit virtual-chassis] user@switch# delete member 2 serial-number abd231 user@switch# set member 2 serial-number ghi789 role line-card
6-Power on the spare switch
7-Once detected, new switch should show as a 'Present' member on the virtual chassis:
user@switch> show virtual-chassis status Preprovisioned Virtual Chassis Virtual Chassis ID: 0000.e255.00e0 Mastership Neighbor List Member ID Status Serial No Model Priority Role ID, Interface 0 (FPC 0) Prsnt abc123 ex4200-48p 129 Master* 1 vcp-0 2 vcp-1 1 (FPC 1) Prsnt def456 ex4200-24t 129 Backup 2 vcp-0 0 vcp-1 2 (FPC 2) Prsnt ghi789 ex4200-24p 0 Linecard 0 vcp-0 8-Connect secondary virtual chassis port to closed the redundant loop between virtual chassis members.
5/24/2023 - First version