All Products
Search
Document Center

Express Connect:Configure BGP and BFD for fast convergence

Last Updated:Sep 24, 2026

By enabling BGP on your on-premises network devices and configuring BFD on a Virtual Border Router (VBR), you can achieve fast route convergence between your data center and VPC.

Use case

An enterprise has an on-premises data center in Hangzhou and a VPC in the China (Hangzhou) region. The data center connects to a VBR over an Express Connect circuit, and communicates with the VPC through CEN. To improve availability and accelerate route convergence, the enterprise enables BGP dynamic routing and BFD between the data center and the VBR.

image

Prerequisites

Step 1: Configure BFD on the VBR

  1. Log on to the Express Connect console.

  2. In the top menu bar, select the target region, and then in the left-side navigation pane, click Virtual Border Routers (VBRs).

  3. On the Virtual Border Routers (VBRs) page, find the target VBR and click Edit in the Actions column.

  4. In the Edit VBR panel, set the BFD parameters for the VBR, and then click OK.

    This example uses the default BFD settings: Submission Interval is 1000 ms, Reception Interval is 1000 ms, and Detection Time Multiplier is 3.

  5. Enable BFD.

    1. On the Virtual Border Routers (VBRs) page, click the target VBR instance ID.

    2. Click the BGP Peers tab. Find the target BGP peer and click Edit in the Actions column.

    3. In the Modify BGP Peer panel, select Enable BFD, configure the BFD Hop Count, and then click OK.

      The BFD hop count is the maximum number of hops a BFD packet can traverse between source and destination. Set this value based on your network topology. Valid values: 1 to 255.

      Important

      When you use BFD in a multi-cloud environment or a fiber direct-connect network without any intermediate bridge device, you need to change the default BFD hops from 255 to 1.

Step 2: Configure BFD on your CPE

Note

This example uses an H3C-6820 device. Commands vary by vendor. Contact your CPE vendor for device-specific syntax.

  1. Log on to the CPE and run the following commands to establish a BFD session with the VBR.

    System-view
    Bgp <AS number of the CPE device>
    Peer <Alibaba Cloud-side IP address of the VBR> bfd
    Note

    In this example, the Alibaba Cloud-side IP address of the VBR is 10.101.1.2.

  2. Run the display bfd session verbose command to verify the BFD configuration.

    If the output shows Session State: Up, the BFD session between the CPE and the VBR is established and running.

    <CPE> display bfd session verbose
    Total Session Num: 1 Up Session Num: 1 Init Mode: Active
    IPv4 Session Working Under Ctrl Mode:
    Local Discr: 513 Remote Discr: 513
    Source IP: 10.101.1.1 Destination IP: 10.101.1.2
    Session State: Up
    Interface: N/A
    Min Tx Inter: 500ms Act Tx Inter: 500ms
    Min Rx Inter: 500ms Detect Inter: 2500ms
    Rx Count: 135 Tx Count: 135
    Connect Type: Indirect Running Up for: 00:00:58
    Hold Time: 2457ms Auth mode: None
    Detect Mode: Async Slot: 0
    Protocol: BGP
    Version:1
    Diag Info: No Diagnostic
  3. If you have multiple Express Connect circuits, repeat the preceding steps for each circuit.

FAQ

  • If a CEN instance has two VBRs, can I achieve fast route convergence by configuring BFD on only one of them?

    Yes, you can.

  • If a CEN instance has two VBRs and the one with BFD enabled fails, can fast route convergence still be achieved?

    Yes, if both VBRs are in the same failover group. Configure a failover group.