1-14# Configure the master to send VRRP packets every 5 seconds.[LSW-A-Vlan-interface2] vrrp vrid 1 timer advertise 5# Set the tracked VLAN interface.[LSW-A-Vlan-interface2] vrrp vrid 1 track interface Vlan-interface 3 reduced 30z Configure switch B.# Configure VLAN 3. system-view[LSW-B] vlan 3[LSW-B-vlan3] port GigabitEthernet1/0/10[LSW-B-vlan3] quit[LSW-B] interface Vlan-interface 3[LSW-B-Vlan-interface3] ip address 10.100.10.3 255.255.255.0[LSW-B-Vlan-interface3] quit# Configure VLAN 2.[LSW-B] vlan 2[LSW-B-vlan2] port GigabitEthernet 1/0/5[LSW-B-vlan2] quit[LSW-B] interface Vlan-interface 2[LSW-B-Vlan-interface2] ip address 202.38.160.2 255.255.255.0[LSW-B-Vlan-interface2] quit# Configure that the virtual router can be pinged through.[LSW-B] vrrp ping-enable# Create a VRRP group.[LSW-B] interface Vlan-interface 2[LSW-B-Vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111# Configure the authentication key for the VRRP group.[LSW-B-Vlan-interface2] vrrp vrid 1 authentication-mode md5 abc123# Configure the master to send VRRP packets every 5 seconds.[LSW-B-Vlan-interface2] vrrp vrid 1 timer advertise 5Normally, Switch A functions as the gateway, but when VLAN-interface 3 on Switch A goes down, itspriority will be reduced by 30, lower than that of Switch B so that Switch B will preempt the master forgateway services instead.When VLAN-interface 3 recovers, switch A will resume its gateway function as the master.Multiple-VRRP Group ConfigurationNetwork requirementsA switch can function as a backup of multiple VRRP groups.Multiple-VRRP group configuration can implement load balancing. For example, Switch A acts as themaster of VRRP group 1 and a backup in VRRP group 2. Similarly, Switch B acts as the master of VRRPgroup 2 and a backup in VRRP group 1. Some hosts in the network take virtual router 1 as the gateway,while others take virtual router 2 as the gateway. In this way, both load balancing and mutual backup areimplemented.