After you create a virtual border router (VBR), the system automatically creates a route table for the VBR. You can add routes to the route table to manage where network traffic is forwarded.

Background information

  • After you create a VBR, you must add routes that point to the Express Connect circuit and the virtual private cloud (VPC) to route network traffic to the data center and the VPC.
  • When you use Cloud Enterprise Network (CEN), Express Connect, Smart Access Gateway (SAG), or Virtual Private Network (VPN) to access internal Object Storage Service (OSS) endpoints, you must add routes that point to the CIDR blocks of the regions where the endpoints are created. For more information, see Regions and endpoints.
  • VBRs support custom routes, Border Gateway Protocol (BGP) routes, and CEN routes.
    • You can add or delete a custom route as needed. You can add at most 48 custom routes.
    • You can also configure BGP routing for a VBR. For more information, see Configure BGP.
    • After a VBR is attached to a CEN instance, the VBR and the CEN instance can automatically learn routes from each other.
  • VBRs do not support source address-specific policy-based routes.

Add a custom route

  1. Log on to the Express Connect console.
  2. In the top navigation bar, select the region and click Virtual Border Routers (VBRs) in the left-side navigation pane.
  3. On the Virtual Border Routers (VBRs) page, find the VBR that you want to manage and click its ID.
  4. Click the Routes tab and then click Add Route.
  5. In the Add Route panel, set the following parameters and click OK.
    Parameter Description
    Next Hop Type Select the next hop type. Valid values:
    • VPC: The VBR routes network traffic to a VPC.
    • Physical Connection Interface: The VBR routes network traffic to an Express Connect circuit.
    Destination CIDR Block Enter the destination CIDR block.
    Next Hop Select the next hop based on the specified type.
    Description Enter a description for the route.

    The description must be 2 to 256 characters in length and can contain letters and digits.

Delete a custom route

  1. Log on to the Express Connect console.
  2. In the top navigation bar, select the region and click Virtual Border Routers (VBRs) in the left-side navigation pane.
  3. On the Virtual Border Routers (VBRs) page, find the VBR that you want to manage and click its ID.
  4. Click the Routes tab, find the route that you want to delete, and then click Delete in the Actions column.
  5. In the message that appears, click OK.

References

  • CreateRouteEntry: adds a custom route to a route table.
  • ModifyRouteEntry: modifies the name and description of a custom route.
  • DescribeRouteEntryList: queries routes. Before you delete a route from a route table of a VBR, call the corresponding API operation to query the ID of the next hop, which is returned by NextHopId.
  • DeleteRouteEntry: deletes a custom route from a route table of a VBR.