Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The set protocols vrrp interface vif vrid preempt enable command configures the preemptive mode of the device in a VRRP group. 

NOTE:

This command applies to both VRRPv2 and VRRPv3 configuration.


Command Syntax

set protocols vrrp interface <interface-name> vif <vif-name> vrid <virtual-router-id> preempt enable <true | false>

 


Parameter

Parameter

Description

interface <interface-name>

Specifies the Layer 3 interface name of VRRP device. The value is a string.

vif <vif-name>

Specifies the VLAN interface name. The value is a string.

vrid <virtual-router-id>

Specifies the VRID of a VRRP group. The value is an integer that ranges from 1 to 254.

preempt enable <true | false>

Enables or disables the preemptive mode of the device. The value could be true or false.

  •   true: enables the preemptive mode. Device in preemptive mode can preempt other nodes to be master if it has a higher priority.
  •   false: disables the preemptive mode. Device in non-preemptive mode cannot preempt other nodes to be master even if it has the highest priority.

By default, preemptive mode is enabled.

 


Usage Guidelines

To enable the device with higher priority in a VRRP group to be the master, set the preemptive mode on the device.

...

Code Block
admin@Xorplus# set protocols vrrp interface vlan100 vif vlan100 vrid 2 preempt enable true
admin@Xorplus# commit

...