188 CHAPTER 20: VRRP CONFIGURATION GUIDE
ip address 202.38.160.2 255.255.255.0
vrrp vrid 1 virtual-ip 202.38.160.111
vrrp vrid 2 virtual-ip 202.38.160.112
vrrp vrid 2 priority 110
#
interface Ethernet1/0/6
port access vlan 2
#
Precautions The Switch 5500 supports VRRP, while the Switch 4500 does not.
For the IP address owner, its priority in the VRRP group is always 255.
Multiple-VRRP group configuration is commonly used in real networking, for
multiple VRRP groups can implement load sharing.
Do not configure multiple VRRP groups on the same VLAN interface.
Otherwise, the VRRP function will be affected.
If both switches in the preemptive mode and switches in the non-preemptive
mode exist in a VRRP group, the working mode of the VRRP group conforms to
that of the master. For example, if the master works in the preemptive mode,
when it fails, the VRRP group will elect a new master through preemption
although there are switches working in the non-preemptive mode.
VRRP Interface Trac kin g
VRRP interface tracking extends the backup functionality of a backup in a VRRP
group. With this function enabled, a backup can backup the master not only
when the VRRP group resident interface fails, but also when other interfaces of
the master become unavailable. This is achieved by tracking an interface of a
master.
When the tracked interface goes down, the priority of the master decreases by a
specified value (value-reduced), allowing a higher priority switch in the VRRP
group to become the new master.