Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).

Example for Configuring Association Between VRRP and BFD to Monitor the Uplink Status

Example for Configuring Association Between VRRP and BFD to Monitor the Uplink Status

Networking Requirements

In Figure 3-24, hosts on a LAN are dual-homed to SwitchA and SwitchB through the switch. A VRRP group is established on SwitchA and SwitchB, and SwitchA is the master. Generally, SwitchA functions as the gateway and user traffic is along the path Switch -> SwitchA -> SwitchC -> SwitchE.

When the link between SwitchC and SwitchE is faulty, the VRRP group can detect the fault within 1s and implement a rapid active/standby switchover. Then SwitchB forwards services. This reduces the impact of the fault on service forwarding.

Figure 3-24 Networking diagram for configuring association between VRRP and BFD to monitor the uplink status

Device

Interface

VLANIF Interface

IP Address

SwitchA

10GE1/0/1

VLANIF 100

10.1.1.1/24

10GE1/0/2

VLANIF 300

192.168.1.1/24

SwitchB

10GE1/0/1

VLANIF 100

10.1.1.2/24

10GE1/0/2

VLANIF 200

192.168.2.1/24

SwitchC

10GE1/0/1

VLANIF 300

192.168.1.2/24

10GE1/0/2

VLANIF 500

172.16.1.1/24

SwitchD

10GE1/0/1

VLANIF 200

192.168.2.2/24

10GE1/0/2

VLANIF 400

172.16.2.1/24

SwitchE

10GE1/0/1

VLANIF 500

172.16.1.2/24

10GE1/0/2

VLANIF 400

172.16.2.2/24

Configuration Roadmap

The configuration roadmap is as follows:

Assign an IP address to each interface and configure a routing protocol to ensure network connectivity.

Configure a VRRP group on SwitchA and SwitchB, set the priority of SwitchA to 120 and the preemption delay to 20s so that SwitchA functions as the master, and configure SwitchB to use the default priority so that SwitchB functions as the backup.

Configure a static BFD session on SwitchA and SwitchE to monitor the link between SwitchA and SwitchE.

Configure association between VRRP and BFD on SwitchA to implement a rapid active/standby switchover if the link is faulty.

Procedure

Configure devices to ensure network connectivity.

# Assign an IP address to each interface. SwitchA is used as an example. The configurations of SwitchB, SwitchC, SwitchD, SwitchE are similar to the configuration of SwitchA.