The vrrp vrid peer-ip command enables unicast VRRP, creates a unicast VRRP group, and specifies a peer IP address and a source IP for this group.
The undo vrrp vrid command disables unicast VRRP and deletes a created unicast VRRP group.
By default, unicast VRRP is disabled and no unicast VRRP group is created on a device.
Parameter | Description | Value |
---|---|---|
peer-ip ip-address |
Specifies a peer IP address for a unicast VRRP group. |
The value is in dotted decimal notation. |
source-ip source-ip-value |
Specifies a source IP address for a unicast VRRP group. |
The value is in dotted decimal notation. |
vrid virtual-router-id |
Specifies an ID for a unicast VRRP group. |
The value is an integer ranging from 1 to 255. |
Usage Scenario
Common VRRP is multicast VRRP and only allows VRRP Advertisement packets to be multicast. 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 devices on a Layer 3 network that need to negotiate their master/backup status using VRRP.
You can configure a unicast VRRP group to meet this requirement. Unicast VRRP is a Huawei proprietary protocol based on VRRPv2. 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.Configuration Impact
After a unicast VRRP group is configured, this group cannot be changed to a common VRRP group.
Precautions