The set protocols vrrp interface vif vrid accept disable command is used to enable or disable the Accept Mode of the device in a VRRP group.
As Accept Mode is only supported in VRRPv3, this command applies to only VRRPv3 configuration.
set protocols vrrp interface <interface-name> vif <vif-name> vrid <virtual-router-id> accept disable <true | false>
Specifies the Layer 3 interface name of VRRP device. The value is a string.
Specifies the VLAN interface name. The value is a string.
Specifies the VRID of a VRRP group. The value is an integer that ranges from 1 to 254.
accept disable <true | false>
Enables or disables Accept Mode. The value could be true or false.
By default, Accept Mode is disabled.
VRRPv3 supports Accept Mode which controls whether a virtual router in Master state will accept packets addressed to the virtual IPvX address of a VRRP group if it is not the IP address owner (the IP address owner is the router that has the interface whose actual IP address is used as the virtual router’s IP address).
By default, the Accept Mode is disabled, if the master is not the IP address owner, it only accepts the ARP requests/ARP replies or NS/NA messages addressed to the virtual IP, any other messages whose destination IP is the virtual IP are not accepted. But when accept mode is enabled, it can accept all packets whose destination IP is a virtual IP.
Deployments that rely on, for example, pinging the address owner's IPvX address may choose to configure Accept Mode to True.
- Enable the accept mode of the device in VRRP group 2.