Configuration prerequisites, Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual
Page 144
10-11
To do…
Use the command…
Remarks
Create a VRRP group and
configure a virtual IP address for
the VRRP group
vrrp vrid virtual-router-id
virtual-ip virtual-address
Required
VRRP group is not created by
default.
z
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.
z
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.
z
Removal of the VRRP group on the IP address owner causes IP address collision. To solve
the collision, it is recommended to modify the IP address of the interface on the IP address
owner first and then remove the VRRP group from the interface.
z
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.
z
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
—