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 V200R003C00

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 Monitor the Uplink Status

Configuring Association Between VRRP and BFD to Monitor the Uplink Status


VRRP cannot detect faults on the uplink of a VRRP group, which may cause service interruption. In Figure 3-17, a VRRP group is associated with a BFD session on the master so that the BFD session monitors the uplink status of the master. When the BFD session detects a fault on the uplink, it notifies the VRRP group that the priority of the master needs to be decreased. Then an active/standby switchover is triggered immediately. This reduces the impact of the uplink fault on service forwarding.

When the fault is rectified, the original master restores its priority and becomes the master again to forward traffic.

BFD detects faults in milliseconds. Association between VRRP and BFD provides a rapid active/standby switchover.

  • 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-17 Association between VRRP and BFD


  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 master 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, when the monitored BFD session goes Down, the VRRP priority decreases by 10.

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

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

    • After a VRRP group is associated with a BFD session, the BFD session type cannot be modified. Before deleting the BFD session type, you must delete all original configurations.

    • After the value by which the priority decreases 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-05-08

Document ID: EDOC1100004359

Views: 86956

Downloads: 136

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next