Hi,
I will try to guide you... and start by highly recommend you to schedule a maintenance window for this and copy a backup of your configuration of box, just in case.
Please review everything I do, as it's just written instructions which I haven't done on actual equipment.
1) Change the Backup Role from FPC -0 to FPC-3.
configure
set virtual-chassis member 3 role routing-engine
set virtual-chassis member 3 mastership-priority 100
set virtual-chassis member 0 role line-card
commit and-quit
2) After that FPC1 would be my master and FPC 3 would be my backup. FPC 0 and FPC-2 would be in linecard role.
just verify this via 'show virtual-chassis status'.
3) Then I want to remove FPC 0 and FPC 2 from this virtual chassis.
You have to be careful not removing both paths in your VC, but something like with the assumption that your have cabled your VC in a ring-topology. Between each step you can validate via the 'show virtual-chassis vc-port' command.
- remove VC-cable between fpc0 and fpc1
- remove VC-cable between fpc0 and fpc3
- add VC-cable between fpc1 and fpc3
- remove VC-cable between fpc1 and fpc2
- remove VC-cable between fpc2 and fpc3
- add VC-cable between fpc1 and fpc3
4) After the removal of FPC 0 and FPC 2 , Only two members ( FPC 1 and FPC 3 will left in that virtual chassis).
Validate via show virtual-chassis status and clear information regarding fpc0 and fpc2:
request virtual-chassis recycle member-id 0
request virtual-chassis recycle member-id 2
5) I want to change FPC 1 to FPC 0 ( MASTER) and FPC 3 TO FPC 1 ( Backup).
First you want to delete all interfaces related config for fpc0 and fpc2:
configure
wildcard delete interfaces ge-0/*
wildcard delete interfaces xe-0/*
wildcard delete interfaces ge-2/*
wildcard delete interfaces xe-2/*
commit and-quit
Then your renumber one switch at a time (the switch will reboot!)
request virtual-chassis renumber member-id 1 new-member-id 0
After fpc1 has rebooted and become fpc0, you have to move interface configuration.
configure
replace pattern ge-1 to ge-0
replace pattern xe-1 to xe-0
commit and-quit
Then you do the same for fpc3 -> fpc1.
Finally you remove an leftover configuration for the newly removed switches under the virtual-chassis stanza.