[Contents] [Prev] [Next] [Index] [Report an Error]

# 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 JUNOSe System Basics Configuration Guide.

ip vrrp track

- 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.

[Contents] [Prev] [Next] [Index] [Report an Error]