Configuring the router priority, preemptive mode, and tracking function
Configuration guidelines
The running priority of an IP address owner is always 255, and you do not need to configure it. An IP address owner always operates in preemptive mode.
If you configure the vrrp ipv6 vrid track priority reduced or vrrp ipv6 vrid track switchover command on an IP address owner, the configuration does not take effect until the router becomes a non-IP address owner.
When the track entry changes from Negative to Positive or Notready, the router automatically restores its priority or the failed master router becomes the master again.
Configuration procedure
To configure the router priority, preemptive mode, and tracking function:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter interface view. | interface interface-type interface-number | N/A |
3. Set the priority of the router in the VRRP group. | vrrp ipv6 vrid virtual-router-id priority priority-value | The default setting is 100. |
4. Enable the preemptive mode for the router in a VRRP group and set the preemption delay time. | vrrp ipv6 vrid virtual-router-id preempt-mode [ delay delay-value ] | By default, the router in a VRRP group operates in preemptive mode and the preemption delay time is 0 centiseconds, which means an immediate preemption. |
5. Associate a VRRP group with a track entry. | vrrp ipv6 vrid virtual-router-id track track-entry-number { forwarder-switchover member-ip ipv6-address | priority reduced [ priority-reduced ] | switchover | weight reduced [ weight-reduced ] } | By default, a VRRP group is not associated with any track entry. |