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

CloudEngine 8800, 7800, 6800, and 5800 V200R005C10

This document describes the configurations of Reliability, including BFD Configuration, VRRP Configuration, DLDP Configuration, Smart Link and Monitor Link Configuration, EFM Configuration, and CFM 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-14, 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.

  • 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 zero 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-14 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. 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.

    The mode switching function takes effect when the interface only has attribute configurations (for example, shutdown and description configurations). Alternatively, if configuration information supported by both Layer 2 and Layer 3 interfaces exists (for example, mode lacp and lacp system-id configurations), no configuration that is not supported after the working mode of the interface is switched can exist. If unsupported configurations exist on the interface, delete the configurations first and then run the undo portswitch command.


    If many Ethernet interfaces need to be switched to Layer 3 mode, run the undo portswitch batch interface-type { interface-number1 [ to interface-number2 ] } &<1-10> command in the system view to switch these interfaces to Layer 3 mode in batches.

  5. Run vrrp vrid virtual-router-id track bfd { bfd-session-id | session-name bfd-configure-name } [ increase value-increased | reduce 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.

  6. Run commit

    The configuration is committed.

Updated: 2019-04-03

Document ID: EDOC1100075366

Views: 21575

Downloads: 64

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next