Configuration prerequisites, Configuration procedure – H3C Technologies H3C S10500 Series Switches User Manual
Page 142
133
NOTE:
•
When VRRP works in standard protocol mode, the virtual IP address of a VRRP group can be either an
unused IP address on the segment where the VRRP group resides or the IP address of an interface on a
router in the VRRP group. In the latter case, the router is called the IP address owner.
•
When a router is the IP address owner in a VRRP group, H3C recommends you not to use the IP address
of the interface (virtual IP address of the VRRP group) to establish a neighbor relationship with the
adjacent router, that is, not to use the network command to enable OSPF on the interface. For more
information about network command, see
Layer 3—IP Routing Command Reference.
•
A VRRP group is removed after you remove all the virtual IP addresses configured for it. In addition,
configurations on that VRRP group do not take effect any longer.
•
Removal of the VRRP group on the IP address owner causes IP address collision. To solve the collision,
modify the IP address of the interface on the IP address owner first and then remove the VRRP group
from the interface.
•
The virtual IP address of a VRRP group cannot be 0.0.0.0, 255.255.255.255, loopback addresses, non
class A/B/C addresses or other illegal IP addresses such as 0.0.0.1.
•
A VRRP group operates normally only when the configured virtual IP address and the interface IP
address belong to the same segment and are legal host addresses. If the configured virtual IP address
and the interface IP address do not belong to the same network segment, or the configured IP address
is the network address or network broadcast address of the network segment to which the interface IP
address belongs, the state of the VRRP group is always initialize though you can perform the
configuration successfully. In this case, VRRP does not take effect.
Configuring router priority, preemptive mode and tracking
function
Configuration prerequisites
Before you configure router priority, preemptive mode and tracking function, create a VRRP group on an
interface and configure a virtual IP address for it.
Configuration procedure
By configuring router priority, preemptive mode, interface tracking, or a track entry, you can determine
which router in the VRRP group serves as the master.
Follow these steps to configure router priority, preemptive mode and the tracking function:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface interface-type
interface-number
—
Configure router priority in the
VRRP group
vrrp vrid virtual-router-id priority
priority-value
Optional
100 by default.
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.
- H3C S5800 Series Switches H3C S5820X Series Switches H3C WX3000E Series Wireless Switches H3C SecPath F1000-E H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS