Configuration procedure, Configuration prerequisites, Configuration guidelines – H3C Technologies H3C S12500 Series Switches User Manual
Page 154

143
•
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 correctly 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.
Configuration procedure
To create a VRRP group and configure a virtual IP address:
Step Command
Remarks
1.
Enter system view.
system-view N/A
2.
Enter the specified interface
view.
interface interface-type
interface-number
N/A
3.
Create a VRRP group and
configure a virtual IP address
for the VRRP group.
vrrp vrid virtual-router-id virtual-ip
virtual-address
VRRP group is not created by
default.
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 guidelines
When you configure router priority, preemptive mode and the tracking function, follow these 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 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 group, the configuration 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, or 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.
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.
To configure router priority, preemptive mode and the tracking function: