Election of Master Based on Priority

For setup, refer to Figure VRRP- Topology 3.

Configure the following steps in the Node (R1). The sequence of the configuration is as follows:
  1. Repeat the steps of Section “Master and Backup Settlement”
  2. Configure the priority of the VRRP in R1 to a higher value (e.g. 150). Then, R1 becomes Master.
Note:

If the Priority value of a particular node is higher than the priority values of other nodes, that particular node will become the Master.

  1. On R1: Perform the following configurations in R1 to increase the priority to 150.

    Type the following:

    • Enter the Global Configuration Mode.
    iS5comm# configure terminal
    • Enable VRRP and enter the VRRP Configuration Mode.
    iS5comm(config)# router vrrp
    • Enable VRRP Version 3.
    iS5comm(config-vrrp)# vrrp version v3
    • Select an interface to configure VRRP.
    iS5comm(config-vrrp)# interface vlan 10
    • Configure the priority of VRRP with vrid 200 to 150 (IPv4).
    iS5comm(config-vrrp-if)# vrrp 200 ipv4 priority 150
    • Exit the VRRP Interface Configuration Mode.
    iS5comm(config-vrrp-if)# end
  2. View the status of VRRP on R1, R2, and R3 by using the following commands.

    Type the following:

    • On R1:
    iS5comm# show vrrp
    P indicates configured to preempt
    
    
    Interface vrID Prio P State  Master Address VRouter Address
    
    
    --------- ---- ---- - -----  -------------- --------------
    vlan10    200  150  P Master 20.0.0.3       20.0.0.2
    • On R2:
    iS5comm# show vrrp
    P indicates configured to preempt
    
    
    Interface vrID Prio P State  Master Address VRouter Address
    
    
    --------- ---- ---- - -----  -------------- --------------
    vlan10    200  100  P Backup 20.0.0.2 
    Note: VLAN 10 on R2 is down, so R2 is not the Master anymore.
    • On R3:
    iS5comm# show vrrp
    P indicates configured to preempt
    
    
    Interface vrID Prio P State  Master Address VRouter Address
    
    
    --------- ---- ---- - -----  -------------- --------------
    vlan10    200  150  P Backup 20.0.0.3       20.0.0.2