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 - IP Routing 01

NE05E and NE08E V300R003C10SPC500

This is NE05E and NE08E V300R003C10SPC500 Configuration Guide - IP Routing
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 BFD for BGP4+

Configuring BFD for BGP4+

BFD for BGP4+ provides BGP4+ with a fast fault detection mechanism, which speeds up network convergence.

Usage Scenario

BFD is dedicated to fast detection of forwarding faults to ensure QoS of voice, video, and other video-on-demand services on a network. It enables service providers to provide users with required VoIP and other real-time services of high availability and scalability.

BGP4+ periodically sends messages to a peer to detect the status of the peer. This process takes more than one second. When traffic is transmitted at gigabit rates, fault detections that take so long add up and eventually cause packet loss. Because of this issue, the system cannot meet the high reliability requirements of the carrier-class network.

To address this problem, configure BFD for BGP4+. BFD for BGP4+ detects faults on links between BGP4+ peers within milliseconds. If a fault is detected, it notifies BGP of the fault. Therefore, BGP4+ routes can undergo fast convergence.

Pre-configuration Tasks

Before configuring BFD for BGP4+, complete the following tasks:

  • Configure link layer protocol parameters and IP addresses for interfaces to ensure that the link layer protocol on the interfaces is Up.

  • Configure basic BGP4+ functions.


  1. Run system-view

    The system view is displayed.

  2. Run bfd

    BFD is enabled globally.

  3. Run quit

    Return to the system view.

  4. Run bgp as-number

    The BGP view is displayed.

  5. Run peer { group-name | ipv6-address } bfd enable [ single-hop-prefer ] [ compatible ]

    BFD is enabled on a peer or peer group and a BFD session is established using default BFD parameters.

  6. (Optional) Run peer { group-name | ipv6-address | ipv4-address } bfd { min-tx-interval min-tx-interval | min-rx-interval min-rx-interval | detect-multiplier multiplier } *

    Various parameters used for establishing BFD sessions are set.

    If BFD is configured on a peer group, the peers that are in the peer group but are not configured with the peer bfd block command establish BFD sessions.

    • A BFD session can be established only when the corresponding BGP session is in the Established state.
    • The configuration of a peer takes precedence over that of its peer group. If BFD is not configured on a peer while its peer group is enabled with BFD, the peer inherits the BFD configurations of its peer group.

  7. (Optional) Run peer ipv6-address bfd block

    A peer is prevented from inheriting the BFD configuration of its peer group.

    If BFD is enabled on a peer group, all its peers will inherit the BFD configuration of the peer group and create a BFD session. If you do not want a peer to inherit the BFD configuration of its peer group, you can run this command.


    The peer ipv6-address bfd block command and the peer ipv6-address bfd enable command are mutually exclusive. After being configured with the peer bfd block command, a device automatically deletes the BFD session established with a specified peer.

  8. Run commit

    The configuration is committed.

Checking the Configuration

After the configuration is complete, you can check whether the configuration has taken effect.

  • Run the display bgp ipv6 bfd session { [ vpnv6 vpn-instance vpn-instance-name ] peer ipv6-address | all } command to check BFD sessions established by BGP4+.

  • Run the display bgp [ vpnv6 vpn-instance vpn-instance-name ] peer [ ipv6-address ] [ verbose ] command to check BGP4+ peers.

Run the display bgp ipv6 bfd session all command. You can view the BFD sessions established by BGP4+.

<HUAWEI> display bgp ipv6 bfd session all
  Local_Address  : 2001:db8:8::1                                    
  Peer_Address   : 2001:db8:8::2                                    
  Tx-interval(ms): 100         Rx-interval(ms): 100 
  Multiplier     : 4           Interface      : GigabitEthernet0/3/0
  Session-State  : Up
Updated: 2019-01-14

Document ID: EDOC1100058916

Views: 37881

Downloads: 57

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