R3166-R3206-HP High-End Firewalls High Availability Configuration Guide-6PW101
22
To do… Use the command…
Remarks
Configure the router in the VRRP
group to work in preemptive mode
and configure preemption delay
vrrp vrid virtual-router-id
preempt-mode [ timer delay
delay-value ]
Optional
The router in the VRRP group works
in preemptive mode and the
preemption delay is 0 seconds by
default.
Configure the interface to be
tracked
vrrp vrid virtual-router-id track
interface interface-type
interface-number [ reduced
priority-reduced ]
Optional
No interface is being tracked by
default.
Configure VRRP to track a specified
track entry
vrrp vrid virtual-router-id track
track-entry-number [ reduced
priority-reduced | switchover ]
Optional
Not configured by default.
NOTE:
• The running priority of an IP address owner is always 255 and you do not need to confi
g
ure it. An IP
address owner always works in preemptive mode.
• If you configure an interface to be tracked or a track entry to be monitored on a router that is the IP
address owner in a VRRP
g
roup, the confi
g
uration does not take effect. If the router is not the IP address
owner in the VRRP group later, the configuration takes effect.
• The tracked interface can be a Layer 3 Ethernet interface, a VLAN interface, a Layer 3 aggregate
interface,
• If the state of a tracked interface changes from down or removed to up, the priority of the router where
the interface resides is automatically restored.
• If the state of a track entry changes from negative or invalid to positive, the priority of the router where
the track entry is configured is automatically restored.
Configuring VF tracking
Configuration prerequisites
Before you configure the VF tracking function, create a VRRP group and configure a virtual IP address for
it.
Configuration procedure
VRRP works in load balancing mode. Assume that you have configured the VF tracking function to
monitor the track entry and specified the value by which the weight decreases. When the status of the
track entry becomes negative, the weight values of all VFs on the router decrease by the specified value.
When the status of the track entry becomes positive or invalid, the weight values of all VFs on the router
restore their original values.
Follow these steps to configure VF tracking:
To do… Use the command…
Remarks
Enter system view system-view —
Enter the specified interface view
interface interface-type
interface-number
—