Supported Platforms
Related Documentation
- QFabric System, QFX Series standalone switches
- Understanding VRRP
- Configuring Basic VRRP Support
- Example: Configuring VRRP for Load Sharing
Configuring VRRP Preemption and Hold Time
Configuring VRRP Preemption
By default, a higher-priority VRRP backup switch preempts a lower-priority master switch. To explicitly enable this behavior, include the following statement:
To prohibit a higher-priority VRRP backup switch from preempting a lower-priority master 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 master 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
Overriding the Hold Time
You can use the asymmetric-hold-time statement to configure a VRRP master to fail over to the backup immediately—without waiting for the preemption hold time to expire—when a tracked route goes down. Otherwise, the master waits for the hold time to expire before it initiates a failover when a tracked route goes down.
When the tracked route comes up again, the new backup (original master) router waits for the preemption hold time to expire before it reasserts mastership.
You can include this statement at the following hierarchy level:
- [edit protocols vrrp]
Related Documentation
- QFabric System, QFX Series standalone switches
- Understanding VRRP
- Configuring Basic VRRP Support
- Example: Configuring VRRP for Load Sharing
Published: 2014-07-23
Supported Platforms
Related Documentation
- QFabric System, QFX Series standalone switches
- Understanding VRRP
- Configuring Basic VRRP Support
- Example: Configuring VRRP for Load Sharing