home

Supported platforms

Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

interfaces <interface> vrrp vrrp-group <group-id> preempt <preempt>

Enables or disables preemption for a VRRP group on an interface.

set interfaces interface vrrp vrrp-group group-id preempt preempt
delete interfaces interface vrrp vrrp-group group-id preempt
show interfaces interface vif vrrp vrrp-group group-id preempt

Preemption is enabled.

interface
The interface type and identifier. For detailed keywords and arguments that can be specified as interfaces, refer to Supported Dataplane Interfaces.
group-id
The VRRP group to which the interface belongs. The identifier ranges from 1 through 255.
preempt
Allows a higher-priority VRRP backup router to assert itself as master over a lower-priority router. Supported values are as follows:
  • true: Allow the master router to be preempted by a backup router with higher priority.
  • false: Do not allow the master router to be preempted by a backup router with higher priority.
The default is true; that is, the master router can be preempted by a backup router with higher priority.

Configuration mode


interfaces interface {
    vrrp {
        vrrp-group group-id {
            preempt preempt
        }
    }
}

Use this command to enable or disable preemption for a VRRP group on an interface.

If preemption is enabled, a backup router with a higher priority than the current master “preempts” the master and becomes the master itself.

A backup router preempts the master by beginning to send its own VRRP advertisements. The master router examines these advertisements and discovers that the backup router has a higher priority than itself. The master then stops sending advertisements, while the backup continues to send, thus, making itself the new master.

Preemption is useful when a lower-performance backup router becomes the master because a higher-performance router fails. In this case, a new higher-performance router can be brought online, and it automatically preempts the lower-performance backup.

Use the set form of the command to enable or disable preemption delay for a VRRP group on an interface.

Use the delete form of the command to restore preemption for a VRRP group on an interface.

Use the show form of the command to view VRRP preemption configuration on an interface.