What is VRRP:
The Virtual Router Redundancy Protocol (VRRP) is a fault-tolerant protocol running on routers. VRRP implements egress gateway backup and ensures communication continuity and reliability.
The Virtual Router Redundancy Protocol (VRRP) is a fault-tolerant protocol that groups several routers into a virtual router. If the next hop of a host fails, VRRP switches traffic to another router, which ensures communication continuity and reliability.
.png)
Uses:
VRRP offers the following benefits to carriers:
1. Reliable transmission: A logical VRRP gateway on a multicast or broadcast local area network (LAN), such as an Ethernet network, ensures reliable transmission over key links.
VRRP helps prevent service interruptions if a link to a physical VRRP gateway fails.
2. Flexible applications: A VRRP header is encapsulated into an IP packet. This implementation allows the association between VRRP and various upper-layer protocols.
3. Low network overheads: VRRP uses only VRRP Advertisement packets.
VRRP offers the following benefits to users:
1. Simplified configurations: Users only need to specify a gateway address without configuring routing protocols on their hosts.
2. Improved user experience: Users are not aware of a single point of failure.
VRRP supports two modes: master/backup mode and load balancing mode.


Configuration Example in Active/Standby Mode:
Configure VRRP group 1 on the master, and set the priority of the master to 120 and the
preemption delay to 20s.
<HUAWEI> system-view
[~HUAWEI] interface vlanif 100
[*HUAWEI-Vlanif100] vrrp vrid 1 virtual-ip 10.1.1.111
[*HUAWEI-Vlanif100] vrrp vrid 1 priority 120
[*HUAWEI-Vlanif100] vrrp vrid 1 preempt timer delay 20
[*HUAWEI-Vlanif100] commit
[~HUAWEI-Vlanif100] quit
Configure VRRP group 1 on the backup. The backup uses the default priority 100.
<HUAWEI> system-view
[~HUAWEI] interface vlanif 100
[*HUAWEI-Vlanif100] vrrp vrid 1 virtual-ip 10.1.1.111
[*HUAWEI-Vlanif100] commit
[~HUAWEI-Vlanif100] quit
Thanks for reading the post.

