All Products
Search
Document Center

Express Connect:DescribeBgpGroups

Last Updated:Aug 28, 2026

Queries Border Gateway Protocol (BGP) groups in a region.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

RouterId

string

No

The ID of the virtual border router (VBR) that is associated with the BGP group.

vbr-bp1ctxy813985gkuk****

BgpGroupId

string

No

The ID of the BGP group.

bgpg-bp1k25cyp26cllath****

RegionId

string

Yes

The ID of the region in which the VBR is deployed.

You can call the DescribeRegions operation to obtain the region ID.

cn-shanghai

IsDefault

boolean

No

Whether the BGP group is the default one. Valid values:

  • false

  • true

false

PageNumber

integer

No

The page number. Default value: 1.

1

PageSize

integer

No

The number of entries per page. The maximum value is 50. Default value: 10.

10

Response elements

Element

Type

Description

Example

object

PageSize

integer

The number of entries per page.

10

RequestId

string

The request ID.

1D0971B2-A35A-42C1-A44C-E91360C36C0B

PageNumber

integer

The page number.

1

TotalCount

integer

The number of entries returned.

1

BgpGroups

object

BgpGroup

array<object>

Details about the BGP group.

object

Status

string

The status of the BGP group.

Available

BgpGroupId

string

The ID of the BGP group.

bgpg-bp1k25cyp26cllath****

RouterId

string

The ID of the VBR.

vbr-bp1ctxy813985gkuk****

PeerAsn

string

The autonomous system number (ASN) of the on-premises device in the data center.

1****

LocalAsn

string

The ASN of the device on the Alibaba Cloud side.

45104

RegionId

string

The ID of the region to which the BGP group belongs.

cn-shanghai

Hold

string

The hold time to receive BGP messages. Unit: seconds.

Note

If no message is received within the hold time, the BGP peer is considered disconnected.

30

IpVersion

string

The IP version of the BGP group. Valid values:

  • ipv4: IPv4

  • ipv6: IPv6. Supported only if the VBR has IPv6 enabled.

IPv4

Description

string

The description of the BGP group.

BGP组描述。

Keepalive

string

The keepalive time. Unit: seconds.

10

IsFake

string

Whether the ASN is fake. Valid values:

  • false

  • true

true

RouteLimit

string

The maximum number of route entries for BGP dynamic route learning.

99

Name

string

The name of the BGP group.

name

AuthKey

string

The authentication key of the BGP group.

!PWZ****

Examples

Success response

JSON format

{
  "PageSize": 10,
  "RequestId": "1D0971B2-A35A-42C1-A44C-E91360C36C0B",
  "PageNumber": 1,
  "TotalCount": 1,
  "BgpGroups": {
    "BgpGroup": [
      {
        "Status": "Available",
        "BgpGroupId": "bgpg-bp1k25cyp26cllath****",
        "RouterId": "vbr-bp1ctxy813985gkuk****",
        "PeerAsn": "1****",
        "LocalAsn": "45104",
        "RegionId": "cn-shanghai",
        "Hold": "30",
        "IpVersion": "IPv4",
        "Description": "BGP组描述。",
        "Keepalive": "10",
        "IsFake": "true",
        "RouteLimit": "99",
        "Name": "name",
        "AuthKey": "!PWZ****"
      }
    ]
  }
}

Error codes

HTTP status code

Error code

Error message

Description

400 IellgalParameter.OwnerAccount The specified parameter OwnerAccount is not valid. The specified parameter OwnerAccount is illegal.
500 InternalError The request processing has failed due to some unknown error.
404 InvalidRegionId.NotFound The specified RegionId does not exist in our records.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.