.. _dellemc.enterprise_sonic.sonic_vrrp_module:
***********************************
dellemc.enterprise_sonic.sonic_vrrp
***********************************
**Configure VRRP protocol settings on SONiC.**
Version added: 2.5.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module provides configuration management of VRRP protocol settings on devices running SONiC
- Configure interface IP address before configuring VRRP
- Configure interface VRF forwarding before configuring VRRP in a VRF
Parameters
----------
.. raw:: html
| Parameter |
Choices/Defaults |
Comments |
|
config
list
/ elements=dictionary
|
|
Specifies the VRRP related configuration.
|
|
group
list
/ elements=dictionary
|
|
Defining the VRRP/VRRP6 group
|
|
|
advertisement_interval
integer
|
|
Configure advertisement interval (1 to 254)
|
|
|
afi
string
/ required
|
|
VRRP configurations to be set for the interface mentioned in types(VRRP/VRRP6).
|
|
|
preempt
boolean
|
|
Enable preempt
|
|
|
preempt_delay
integer
added in 4.0.0
|
|
Configure preempt delay interval (0 to 1000)
|
|
|
priority
integer
|
|
Priority for MASTER election (1 to 254)
|
|
|
track_interface
list
/ elements=dictionary
|
|
Configure track interface for priority change.
interface and priority_increment are required together.
|
|
|
|
interface
string
/ required
|
|
Full name of the Layer 3 interface, i.e. Eth1/1.
|
|
|
|
priority_increment
integer
|
|
Weight for changing priority (1 to 254)
|
|
|
use_v2_checksum
boolean
|
|
Enable checksum compatibility with VRRPv2 (Not supported for IPv6).
|
|
|
version
integer
|
|
Configure VRRP Version 2 or 3 (Not supported for IPv6).
|
|
|
virtual_address
list
/ elements=dictionary
|
|
Configure virtual IP Address.
|
|
|
|
address
string
|
|
List of IP addresses to be set.
|
|
|
virtual_router_id
integer
/ required
|
|
VRRP ID (1 to 255)
|
|
name
string
/ required
|
|
Full name of the Layer 3 interface, i.e. Eth1/1.
|
|
state
string
|
Choices:
merged ←
- deleted
- replaced
- overridden
|
Specifies the operation to be performed on the VRRP process configured on the device.
In case of merged, the input configuration will be merged with the existing VRRP configuration on the device.
In case of deleted, the existing VRRP configuration will be removed from the device.
In case of overridden, all existing VRRP configuration will be deleted and the specified input configuration will be installed.
In case of replaced, the existing VRRP configuration on the device will be replaced by the configuration in the playbook for each VRRP interface/group configured by the playbook.
|