Switch with higher priority becomes the master. When you change the priority of the switch ES1-24p-2, which is the backup to a value higher than the current master ES1-24p-1, then ES1-24p-2 becomes the master.
ES1-24p-2 SEFOS# configure terminal ES1-24p-2 SEFOS(config)# router vrrp ES1-24p-2 SEFOS(config-vrrp)# vrrp version v3 ES1-24p-2 SEFOS(config-vrrp)# interface vlan 100 ES1-24p-2 SEFOS(config-vrrp-if)# vrrp 1 ipv4 priority 250 ES1-24p-2 SEFOS(config-vrrp-if)# vrrp 1 ipv6 priority 250 ES1-24p-2 SEFOS(config-vrrp-if)# end
ES1-24p-2 SEFOS# show vrrp P indicates configured to preempt Interface vrID Prio P State Master Address VRouter Address --------- ---- ---- - ----- ------------------------- ------------------------- vlan100 1 250 P Master 192.168.100.10 192.168.100.1 vlan100 1 250 P Master fe80::210:e0ff:fe2a:fd41 fe80::210:e0ff:fe2c:fd21 ES1-24p-1 SEFOS# show vrrp P indicates configured to preempt Interface vrID Prio P State Master Address VRouter Address --------- ---- ---- - ----- ------------------------- ------------------------- vlan100 1 200 P Backup 192.168.100.10 192.168.100.1 vlan100 1 200 P Backup fe80::210:e0ff:fe2a:fd41 fe80::210:e0ff:fe2c:fd21