Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring VRRP Preemption and Hold Time

Configuring VRRP Preemption

By default, a higher-priority VRRP backup switch preempts a lower-priority primary switch. To explicitly enable this behavior, include the following statement:

To prohibit a higher-priority VRRP backup switch from preempting a lower-priority primary switch, include the following statement on the lower-priority switch:

You can include these statements at the following hierarchy level:

  • [edit interfaces interface-name unit logical-unit-number family inet address address vrrp-group group-id]

Configuring the Preemption Hold Time

You can also configure a preemption hold time, which is the number of seconds a higher-priority backup router that has just started up waits before preempting the primary router. You might want to configure a hold time so that routing protocols or other Junos OS components converge before preemption occurs.

The hold time is applied only on startup. By default, the hold-time value is 0 seconds, meaning that preemption can occur immediately after the backup router starts up.

To modify the preemption hold-time value, configure the following statement:

The hold time can be from 0 through 3600 seconds.

You can include this statement at the following hierarchy level:

  • [edit interfaces interface-name unit logical-unit-number family inet address vrrp-group group-id] preempt