This section describes how to configure a unicast VRRP group to implement the master/backup status negotiation between two devices on a Layer 3 network.
Common VRRP is multicast VRRP and only allows multicast VRRP Advertisement packets to be sent. Multicast VRRP Advertisement packets, however, can be forwarded within only one broadcast domain (for example, one VLAN or VSI). Therefore, common VRRP groups apply only to Layer 2 networks. This limitation means that common VRRP does not apply to Layer 3 devices that need to negotiate their master/backup status using VRRP. After a unicast VRRP group is configured on two devices on a Layer 3 network, the master device in this group sends unicast VRRP Advertisement packets to the backup device through the Layer 3 network, implementing the master/backup status negotiation between the two devices.
The system view is displayed.
The loopback interface view is displayed.
Unicast VRRP is enabled, a unicast VRRP group is created, and a peer IP address and a source IP address are configured for this group.
An authentication mode is configured for unicast VRRP Advertisement packets.
The same authentication mode and key must be configured on the two devices in a unicast VRRP group. If different authentication modes and keys are configured, the master/backup status negotiation fails.
For ensure security, using the HMAC-SHA256 algorithm is recommended.
A priority is configured for the device in the unicast VRRP group.
An interval at which unicast VRRP Advertisement packets are sent is configured.
A preemption delay is set for the device in the unicast VRRP group.
The configuration is committed.
The system view is displayed.
The view of the interface on which the unicast VRRP group is configured is displayed.
The unicast VRRP group is associated with a specified VRRP-disabled interface.
The configuration is committed.
The system view is displayed.
The view of the interface on which the unicast VRRP group is configured is displayed.
The unicast VRRP group is configured to track an interface monitoring group. When the link failure ratio on the access or network side reaches a specified threshold, the unicast VRRP group performs a master/backup switchover.
The configuration is committed.
The system view is displayed.
The view of the interface on which the unicast VRRP group is configured is displayed.
The unicast VRRP group is configured to track a route monitoring group. When the link failure ratio on the access or network side reaches a specified threshold, the unicast VRRP group performs a master/backup switchover.
The configuration is committed.