No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Configuration Guide - Reliability

S2720, S5700, and S6720 V200R013C00

This document describes the configurations of Reliability, including BFD Configuration, VRRP Configuration, DLDP Configuration, Smart Link and Monitor Link Configuration, MAC Swap Loopback Configuration, EFM Configuration, CFM Configuration, Y.1731 Configuration.

Rate and give feedback:
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).
Configuring Association Between VRRP and BFD to Implement a Rapid Active/Standby Switchover

Configuring Association Between VRRP and BFD to Implement a Rapid Active/Standby Switchover


When a VRRP group is faulty, the backup with the highest priority detects the fault and switches to the master after the Master_Down_Interval timer expires. The switchover period is at least 3s. During this switchover period, service traffic is still sent to the original master, causing loss of user traffic. In Figure 3-13, the VRRP group is associated with a BFD session on the backup. This association enables the BFD session to rapidly detect communication faults of the VRRP group. When the BFD session detects a fault, it notifies the VRRP group that the priority of the backup needs to be increased. Then an active/standby switchover is triggered immediately. This millisecond-level switchover reduces traffic loss.

When the fault is rectified, the priority of the backup is restored and the original master becomes the master again to forward traffic.

  • Only the S5720EI, S5720HI, S5720I-SI, S5720S-SI, S5720SI, S5730HI, S5730S-EI, S5730SI, S6720EI, S6720HI, S6720S-EI, S6720S-SI, and S6720SI support this function.

  • A VRRP group can be associated only with a static BFD session or a static BFD session with automatically negotiated discriminators.

  • The master and backup in the VRRP group must work in preemption mode. It is recommended that the preemption delay be 0 on the backup and non-zero on the master.

  • Multiple VRRP groups can monitor a BFD session, and a VRRP group can monitor a maximum of eight BFD sessions simultaneously.

Figure 3-13  Association between VRRP and BFD to implement a rapid active/standby switchover


  1. Configure a static BFD session or a static BFD session with automatically negotiated discriminators. For details, see Configuring Single-Hop BFD, Configuring Multi-Hop BFD, and Configuring Static BFD with Automatically Negotiated Discriminators.
  2. Run system-view

    The system view is displayed.

  3. Run interface interface-type interface-number

    The view of the interface on the backup where a VRRP group is configured is displayed.

  4. (Optional) On an Ethernet interface, run undo portswitch

    The interface is switched to Layer 3 mode.

    By default, an Ethernet interface works in Layer 2 mode.

    Only the S5720EI, S5720HI, S5730HI, S6720EI, S6720HI, and S6720S-EI support switching between Layer 2 and Layer 3 modes.

  5. Run vrrp vrid virtual-router-id track bfd-session { bfd-session-id | session-name bfd-configure-name } [ increased value-increased | reduced value-reduced ]

    Association between VRRP and BFD is configured.

    By default, a VRRP group is not associated with a BFD session.

    When associating a VRRP group with a BFD session, note the following points:
    • If session-name bfd-configure-name is specified, a VRRP group can be bound only to a static BFD session with automatically negotiated discriminators.

    • If bfd-session-id is specified, the VRRP group can be bound only to a static BFD session.

    • After the value by which the priority increases is set, ensure that the priority of the backup is higher than the priority of the master.

    • When a BFD session is associated with VRRP, the system does not allow the associated BFD session to be deleted by default. To delete the associated BFD session, run the bfd session nonexistent-config-check disable command to disable the device from checking whether the associated BFD session is deleted.

Updated: 2019-04-04

Document ID: EDOC1100065682

Views: 37404

Downloads: 257

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next