Configure the backup system for VRRP with a sync group
An example of how to configure the backup system for VRRP with a synchronization group.
- Add the synchronization group configuration to the existing configuration for the
99
VRRP group ondp0p1p1
.user@system# set interfaces dataplane dp0p1p1 vrrp vrrp-group 101 sync-group ALPHA user@system# set interfaces dataplane dp0p1p1 vrrp vrrp-group 101 sync-group ALPHA version 3
- Display the VRRP configuration on
dp0p1p1
.user@system# show interfaces dataplane dp0p1p1 vrrp
vrrp { vrrp-group 101 { interface { } priority 20 sync-group ALPHA version 3 virtual-address 172.16.0.24 } }
- Create the VRRP configuration node for
dp0p1p2
on R2. 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 3768-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
20
.user@system# set interfaces dataplane dp0p1p2 vrrp vrrp-group 101 priority 20
- 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 20 rfc-compatibility sync-group ALPHA version 3 virtual-address 172.16.30.24 } }