edit-icon download-icon


Last Updated: Apr 09, 2018


Add a BGP peer to a BGP group.

Request parameters

Name Type Required Description
Action String Yes

The action to perform.

Valid value: CreateBgpPeer

RegionId String Yes

The region of the BGP group.

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

BgpGroupId String Yes The ID of the BGP group.
PeerIpAddress String Yes

The IP address of the BGP peer.

You can enter the customer-side IP address specified when creating the VBR.

Response parameters

Name Type Description
RequestId String The ID of the request.
BgpPeerId String The ID of the BGP peer.

Error codes

See VPC API Error Center.


Request example

  1. https://vpc.aliyuncs.com/?Action=CreateBgpPeer
  2. &RegionId=cn-beijing
  3. &PeerIpAddress=
  4. &BgpGroupId=2010
  5. &<CommonParameters>

Response example

XML format

  1. <CreateBgpPeerResponse>
  2. <RequestId>30879E22-9BE7-4ED9-8C43-2AE518A771B3</RequestId>
  3. </CreateBgpPeerResponse>

JSON format

  1. {
  2. "RequestId": "30879E22-9BE7-4ED9-8C43-2AE518A771B3"
  3. }
Thank you! We've received your feedback.