Configure the master system for VRRP with a sync group
An example of how to configure the master system for VRRP with a synchronization group.
- Add the sync group configuration to the existing configuration for the
99
VRRP group ondp0p1p1
.user@system# set interfaces dataplane dp0p1p1 vrrp vrrp-group 99 sync-group ALPHA user@system# set interfaces dataplane dp0p1p1 vrrp vrrp-group 99 sync-group ALPHA version 3
- Display the VRRP configuration on
dp0p1p1
.user@system# show interfaces dataplane dp0p1p1 vrrp
vrrp { vrrp-group 99 { } priority 150 sync-group ALPHA version 3 virtual-address 172.16.0.24 } }
- Create the VRRP configuration node for
dp0p1p2
on R1. This configuration enables VRRP on that interface. Assign the VRRP group.user@system# set interfaces dataplane dp0p1p2 vrrp vrrp-group 101 user@system# set interfaces dataplane dp0p1p2 vrrp vrrp-group 101 version 3
- Specify the virtual address of the VRRP group.
user@system# set interfaces dataplane dp0p1p2 vrrp vrrp-group 101 virtual-address 172.16.30.24
- Enable RFC-compliant MAC address handling and create the VRRP interface.
user@system# set interfaces dataplane dp0p1p2 vrrp vrrp-group 101 rfc-compatibility
- Set the priority of this system to
150
.user@system# set interfaces dataplane dp0p1p2 vrrp vrrp-group 101 priority 150
- Add the VRRP group on
dp0p1p2
to the synchronization group.user@system# set interfaces dataplane dp0p1p2 vrrp vrrp-group 101 sync-group ALPHA
- Commit the configuration.
user@system# commit
- Optional: Display the configuration.
user@system# show interfaces dataplane dp0p1p2 vrrp
vrrp { vrrp-group 101 { priority 150 rfc-compatibility sync-group ALPHA version 3 virtual-address 172.16.30.24 } }