
Run the
vrrp vrid
virtual-router-id
preempt-mode
disable
command to configure routers in
the backup group with the non-preemption mode. In the non-preemption mode, if a router in the
backup group becomes the master router and works properly, other routers do not become the
master router even if they are configured with higher priorities later.
After the IP address owner recovers from a fault, it switches to be the master router immediately
in spite of the preemption delay. The preemption delay refers to a delay period for the backup
router to be switched to be the master router. The preemption delay is unavailable for the IP
address owner. For the VRRP backup group that needs to support the preemption delay, the
master virtual router cannot be configured as the IP address owner.
Run the
undo vrrp vrid
virtual-router-id
preempt-mode
command to restore the default
preemption mode.
NOTE
On each router to be configured with a delay mode in a VRRP backup group, it is recommended to configure
backup routers with the immediate preemption mode (whose delay time is 0 seconds) and configure the
master router with the preemption mode (whose delay time is specified). Configuring the delay time for
the master router can ensure that the original primary link has enough time to restore and work stably, and
then switch back. At the same time, the backup link works normally. If the data is switched back to the
original primary link, the application is not affected.
----End
2.7.4 Enabling the Reachability Test of the Virtual IP Address
By enabling the reachability test of a virtual IP address, you can use the ping function to detect
network reachability.
Context
In the AR2200-S, you can ping the virtual IP address to check the following items:
l
Whether the master router in the backup group is available.
l
Whether the internal user can access external networks through the virtual IP address that
serves as the default gateway.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
vrrp virtual-ip ping enable
Testing reachability of a virtual address is enabled.
By default, the ping function is enabled. The master router responds to ping packets to the virtual
IP address of this backup group.
Pinging a virtual address may cause ICMP attacks. To prevent this, you can run the
undo vrrp
virtual-ip ping enable
command to disable the function of testing reachability of a virtual IP
address.
----End
Huawei AR2200-S Series Enterprise Routers
Configuration Guide - Reliability
2 VRRP Configuration
Issue 01 (2012-01-06)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
83