Changing Object Priority
You can use the ip vrrp track command (in conjunction with the track command)
to track an object by its virtual router ID (VRID). When the state of the object changes
from an up state to a down state, the priority of the vrid is decremented. When the
object changes back to an up state the priority is restored. You can specify a priority
value in the range 1–255 to be used for modifying the priority; the default value is
10.
NOTE: For information about the track command, see Managing the System in the
JUNOSe System Basics Configuration Guide.
ip vrrp track
Monitoring VRRP
You can use several VRRP show commands to display the details of your VRRP
configuration.
baseline ip vrrp
host1(config-if)#ip vrrp 25 virtual-address 194.2.1.63
Use the no version to remove an IP address association with a VRID. If you use
auto addressing, the no version clears the auto flag.
See ip vrrp virtual-address.
Use to dynamically change the priority of a virtual router ID (VRID) in response
to a change in the state of a specified object. You can specify the value by which
the priority changes in the range 1–255 or use the default value (10). Multiple
VRIDs can track the same object and a single VRID can track multiple objects.
The object priority is restored when the state of the object returns to an up state.
Example 1
host1(config-if)#ip vrrp 25 track abc
Example 2
host1(config-if)#ip vrrp track xyz decrement 15
Use the no version to disable any tracking for the object.
See ip vrrp track.
Use to establish the baseline on all VRRP statistics as the current value.
Example
host1#baseline ip vrrp
Chapter 5: Configuring VRRP
Changing Object Priority
117