edit-icon download-icon

AddBgpNetwork

Last Updated: Apr 09, 2018

Description

Advertise a BGP network in a VBR.

Request parameters

Name Type Required Description
Action String Yes

The action to perform.

Valid value: AddBgpNetwork

RegionId String Yes

The region of the VBR.

You can obtain the region ID by calling the DescribeRegions API.

dstCidrBlock String Yes The CIDR block of the VPC or VSwitch to be connected to the local IDC.
routeId String Yes The ID of the VBR.

Response parameters

Name Type Required
RequestId String The ID of the request.

Error codes

See VPC API Error Center.

Examples

Request example

  1. https://vpc.aliyuncs.com/?Action=AddBgpNetwork
  2. &RegionId=cn-beijing
  3. &RouterId=vbr-2zeff11o2sqhnp1u7ci93&DstCidrBlock=10.1.1.0%2F24
  4. &<CommonParameters>

Response example

XML format

  1. <AddBgpNetworkResponse>
  2. <RequestId>9C7FA9D6-72E0-48A9-A9C3-2DA8569CD5EB</RequestId>
  3. </AddBgpNetworkResponse>

JSON format

  1. {
  2. "RequestId": "9C7FA9D6-72E0-48A9-A9C3-2DA8569CD5EB"
  3. }
Thank you! We've received your feedback.