When more than two switches run VRRP with equal priorities, the switch with higher IP address becomes the master. In this example, two switches are running VRRP and when the VLAN interface on the current master ES1-24p-1 is shutdown, ES1-24p-2 becomes the master. When the VLAN interface comes up again, the ES1-24p-1 state changes from Init to Backup and then becomes the master.
ES1-24p-1 SEFOS# configure terminal ES1-24p-1 SEFOS(config)# interface vlan 100 ES1-24p-1 SEFOS(config-if)# shutdown ES1-24p-1 SEFOS(config-if)# end ES1-24p-1 SEFOS#
ES1-24p-1 SEFOS# show vrrp P indicates configured to preempt Interface vrID Prio P State Master Address VRouter Address --------- ---- ---- - ----- ------------------------- ------------------------- vlan100 1 200 P Init - 192.168.100.1 vlan100 1 200 P Init - fe80::210:e0ff:fe2c:fd21 ES1-24p-2 SEFOS# show vrrp P indicates configured to preempt Interface vrID Prio P State Master Address VRouter Address --------- ---- ---- - ----- ------------------------- ------------------------- vlan100 1 150 P Master 192.168.100.10 192.168.100.1 vlan100 1 150 P Master fe80::210:e0ff:fe2a:fd41 fe80::210:e0ff:fe2c:fd21