Configuration guidelines, Configuration procedure, Configuring vf tracking – H3C Technologies H3C MSR 5600 User Manual
Page 26: Configuring the router priority, Preemptive mode, and tracking function
18
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 associate a track entry with a VRRP group on an IP address owner, the association 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.
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.
Configure 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 configure 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 seconds, which means an
immediate preemption.
5.
Associate a VRRP group with
a track entry.
vrrp ipv6 vrid virtual-router-id track
track-entry-number [ reduced
priority-reduced | switchover ]
By default, a VRRP group is not
associated with any track entry.
Support for this command depends
on the device model.
Configuring VF tracking
You can configure VF tracking in both standard mode and load balancing mode, but the function takes
effect only in load balancing mode.
In load balancing mode, you can configure the VFs in a VRRP group to monitor a track entry. When the
state of the track entry transits to Negative, the weights of all VFs in the VRRP group on the router
decrease by a specific value. When the state of the track entry transits to Positive or Notready, the
original weights of the VFs restore.
Configuration guidelines
•
By default, the weight of a VF is 255, and its lower limit of failure is 10.
•
When the weight of a VF owner is higher than or equal to the lower limit of failure, its priority is
always 255 and does not change with the weight. To guarantee that an LVF can take over the VF
owner as the AVF when the upstream link of the VF owner fails, the reduced weight for the VF owner
must be higher than 245 so the weight of the VF owner can drop below the lower limit of failure.