This article explains why the Backup RE's election priority was showing as 'MASTER' on the MX device.
By default on Junos, election priority for the routing-engine on slot 1 will be 'Backup' as below:
user@host> show chassis routing-engine
Routing Engine status:
Slot 0:
Current state Master
Election priority Master (default)
<SNIP>
Slot 1:
Current state Backup
Election priority Backup (default)
However, on certain cases we might see the Backup RE's election priority shows as 'Master' as below:
Election priority Backup
Election priority Master
This issue occurs due to below configuration which changes the default priority of routing-engine's role:
#set chassis redundancy routing-engine 1 master
#set chassis redundancy routing-engine 0 backup
So in order to change the role of RE0 as 'MASTER' and RE1 as 'BACKUP' (to default), we need to execute the below commands during the MW time:
#delete chassis redundancy routing-engine 1 master
#delete chassis redundancy routing-engine 0 backup
#set chassis redundancy routing-engine 0 master
#set chassis redundancy routing-engine 1 backup
Post performing the above changes, you will be able to see the RE0 takes the election priority as 'MASTER' and RE1 takes the election priority as 'BACKUP':