This Article explains the reason and solution for the Primary role taken by the both IPv6 VRRP member switch.
Example
========
Swithc1> show vrrp brief
irb.107 up 1 master Active A 0.080 lcl 2a00:1288:f03d:1fc::a1
Swithc2> show vrrp brief
irb.107 up 1 master Active D 3.381 lcl 2a00:1288:f03d:1fc::a2
The customer reported only IPv6 VRRP status shows both the device as primary whereas IPv4 VRRP role is showing primary and backup role appropriately
=======
Switch1> show vrrp brief
irb.107 up 1 master Active A 0.054 lcl 188.125.89.131. <<<<<<<<<<<< Primary role at Switch1
irb.107 up 1 master Active A 0.080 lcl 2a00:1288:f03d:1fc::a1 <<<<<<<<< Primary role at Switch1
irb.107 up 1 backup Active D 2.861 lcl 188.125.89.132. <<<<<<<<<<<<< Backup role at Switch2
irb.107 up 1 master Active D 3.381 lcl 2a00:1288:f03d:1fc::a2 <<<<<<<< Primary role at Switch2
Reason for this issue was that the link-local address configured for the IPv6 address wa in different subnet than the configured virtual-link-local-address
after correcting it on the both switch, the IPv6 VRRP primary and backup roles were taken properly.
Issue triggering config for VLAN 107:
Switch1:
set interfaces irb unit 107 family inet6 address 2a00:1288:f03d:01fc::a1/64 vrrp-inet6-group 1 virtual-link-local-address fe80::1288:f03d:01fc:1
set interfaces irb unit 107 family inet6 address 2a00:1288:f03d:01fc::a1/64 vrrp-inet6-group 2 virtual-link-local-address fe80::1288:f03d:01fc:2
set interfaces irb unit 107 family inet6 address fe80:1288:f03d:01fc::a1/64 <<<<<<<<<<<
Switch2:
set interfaces irb unit 107 family inet6 address 2a00:1288:f03d:01fc::a2/64 vrrp-inet6-group 1 virtual-link-local-address fe80::1288:f03d:01fc:1
set interfaces irb unit 107 family inet6 address 2a00:1288:f03d:01fc::a2/64 vrrp-inet6-group 2 virtual-link-local-address fe80::1288:f03d:01fc:2
set interfaces irb unit 107 family inet6 address fe80:1288:f03d:01fc::a2/64<<<<<<<<<<<<
Correct configuration:
set interfaces irb unit 107 family inet6 address fe80::1288:f03d:01fc:a1/64 <<<<<<<<<<<<
set interfaces irb unit 107 family inet6 address fe80::1288:f03d:01fc:a2/64<<<<<<<<<<<<<
Current VRRP status on both Switch1[group1 has higher priority, group2 has lower priority] and Switch2[group2 has higher priority, group1 has lower priority]:
Switch1> show vrrp brief | match master
Switch1> show vrrp brief | match backup
irb.107 up 2 backup Active D 2.909 lcl 2a00:1288:f03d:1fc::a1
Switch2> show vrrp brief | match master
irb.107 up 2 master Active A 0.132 lcl 2a00:1288:f03d:1fc::a2
Switch2> show vrrp brief | match backup
irb.107 up 1 backup Active D 3.381 lcl 2a00:1288:f03d:1fc::a2
2023-08-27: Initial Version