preempt (VRRP)
Syntax
(preempt | no-preempt) { hold-time seconds; }
Hierarchy Level
[edit interfaces interface-name unit logical-unit-number family inet address address vrrp-group group-id], [edit interfaces interface-name unit logical-unit-number family inet6 address address vrrp-inet6-group group-id], [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number family inet address address vrrp-group group-id], [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number family inet6 address address vrrp-inet6-group group-id]
Description
In a Virtual Router Redundancy Protocol (VRRP) configuration, determine whether or not a backup router can preempt a primary router:
preempt
—Allow the primary router to be preempted.Note:By default, a higher-priority backup router can preempt a lower-priority primary router.
no-preempt
—Prohibit the preemption of the primary router. Whenno-preempt
is configured, the backup router cannot preempt the primary router even if the backup router has a higher priority.
The remaining statement is explained separately. See CLI Explorer.
Default
By default the preempt
statement is enabled,
and a higher-priority backup router preempts a lower-priority primary
router even if the preempt
statement is not explicitly
configured.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.