Configuring VRRP 299
2 Create virtual router 2.
[SW8800_B-vlan-interface2]vrrp vrid 2 virtual-ip 202.38.160.112
3 Set the priority for the virtual router.
[SW8800_B-vlan-interface2]vrrp vrid 2 priority 110
Troubleshooting VRRP The configuration of VRRP is simple so almost all troubleshooting can be done by
viewing the configuration and debugging information. Here are some possible
failures you might experience and the corresponding troubleshooting methods.
Tasks for Troubleshooting VRRP are described in the following sections:
■ Frequent Prompts of Configuration Errors on the Console
■ More than One Master Exists Within the Same Virtual Router
■ Frequent Switchover of VRRP State
Frequent Prompts of Configuration Errors on the Console
This indicates that an incorrect VRRP packet has been received. It may be because
of the inconsistent configuration of another switch within the virtual router, or the
attempt of some devices to send out illegal VRRP packets.
The first possible fault can be solved by modifying the configuration. Because the
second possibility is caused by the malicious attempt of some devices, you should
resort to non-technical measures.
More than One Master Exists Within the Same Virtual Router
One possible reason for this situation is the short-time coexistence of many master
switches; which is normal and needs no manual intervention.
Another possible reason is the coexistence of many master switches over a long
period of time, because several masters cannot receive VRRP packets from each
other, or because they have received illegal packets.
To solve this problem, ping the Master switches. If pinging fails, there are other
problems. If the masters can be pinged, it indicates that the problems are caused
by an inconsistent configuration. For the configuration of the same VRRP virtual
router, the number of virtual IP addresses, each virtual IP address, timer duration,
and authentication type, must be consistent.
Frequent Switchover of VRRP State
This problem occurs when the virtual router timer duration is set too short.
Increase the duration of the timer or configure a preemption delay.