JunOS : Can’t have mastership priority configuration with preprovisioned set

By | May 11, 2014

Getting this error committing the changes on a pre-provisioned EX switches virtual chassis?

root@EX4200# commit synchronize
[edit protocols]
‘bgp’
[edit virtual-chassis]
‘member 0’
Can’t have mastership priority configuration with preprovisioned set
error: configuration check-out failed

{master:0}[edit]
root@EX4200#

This mean you tried to set a mastership priority on a pre-provisioned configuration and this is not allowed. You need to remove one or both of these statements :

Remove those statements and commit again :

Your pre-provisioned configuration should look like this :