Modifies the configurations of a BGP group.
Debug
By using API Explorer, you can easily debug APIs, automatically generate SDK code examples, and quickly search for APIs.
Request parameters
Parameter | Type | Required? | Example value | Description |
---|---|---|---|---|
Action | String | Yes | ModifyBgpGroupAttribute |
The name of this action. Value: ModifyBgpGroupAttribute |
BgpGroupId | String | Yes | bgpg-wz9f62v4fbg2gxxxxxxxx |
The ID of the BGP group. |
RegionId | String | Yes | cn-shanghai |
The region to which the BGP group belongs. To query the region ID, call DescribeRegions. |
AuthKey | String | No | !PWZ2wsq |
The authentication key of the BGP group. |
ClientToken | String | No | 02fb3da4-130e-11e9-8e44-0016e04115b |
A client token used to guarantee the idempotence of requests. This parameter value is generated by the client and must be unique. It must be 1 to 64 ASCII characters in length. |
Description | String | No | BGP |
The description of the BGP group. The description must be 2 to 256 characters in length. It must start with a letter,
but cannot start with |
IsFakeAsn | Boolean | No | true |
Indicates whether the ASN is the correct ASN. A router running BGP can only belong to one AS in general. However, in such cases as where an AS needs to be migrated or merged with other ASs, a new ASN must be used. |
Name | String | No | test |
The name of the BGP group. The name must be 2 to 128 characters in length and can contain letters, numbers, periods
(.), underscores (_), and hyphens (-). The name must start with a letter. It cannot
start with |
PeerASN | String | No | 1111 |
The ASN of the BGP peer. |
Request parameters
Parameter | Type | Example value | Description |
---|---|---|---|
RequestId | String | 8C3C6D7C-A1CE-4FD8-BC57-DC493A55F76F | The ID of the request. |
Examples
Request example
https://vpc.aliyuncs.com/?Action=ModifyBgpGroupAttribute
&BgpGroupId=bgpg-wz9f62v4fbg2gxxxxxxxx
&RegionId=cn-shanghai
&<CommonParameters>
Response example-
XML format
<ModifyBgpGroupAttributeResponse> <RequestId>C1221A1F-2ACD-4592-8F27-474E02883159</RequestId> </ModifyBgpGroupAttributeResponse>
-
JSON format
"RequestId": "C1221A1F-2ACD-4592-8F27-474E02883159"
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
404 | InvalidRegionId.NotFound | Specified value of "regionId" is not supported. | The specified region ID does not exist. |
400 | QuotaExceeded.Bgp | bgp peer count per vbr quota exceed. | The BGP group quota of the VBR has been reached. |
400 | QuotaExceeded.Nqa | nqa count per vbr quota exceed. | The NQA quota of the VBR has been reached. |
400 | QuotaExceeded.BgpNetwork | bgp network count per vbr quota exceed. | The BGP network quota of the VBR has been reached. |
400 | InvalidPeerIpAddress | multi pconn peer ip can not be null. | The peer IP address of multiple physical connections cannot be null. |
400 | InvalidVbrNetwork | vbr netowrk not exists | The specified VBR does not exist. |
400 | InvalidBgpGroup | bgp group not exists | The specified BGP group does not exist. |
400 | InvalidBgpName.Malformed | Specified Bgp Group name is not valid. | The name of the BGP group is invalid. |
400 | InvalidBgpDiscription.Malformed | Specified Bgp Group description is not valid. | The description of the BGP group is invalid. |
400 | InvalidBgpAuthkey.Malformed | Specified Bgp Group authkey is not valid. | The authentication key of the BGP group is invalid. |
400 | InvalidIP.Malformed | Ip malformed. | The IP address format is invalid. |
400 | InvalidPeerAsn.Malformed | invalid peer asn cannot equals aliyun asn:45104 | The specified ASN cannot be the same as the Alibaba Cloud ASN. |
400 | InvalidParams.NotNull | invalid peer asn cannot equals aliyun asn:45104 | The specified ASN cannot be the same as the Alibaba Cloud ASN. |
400 | InvalidParams.NotFound | vpc instance not found | The specified VPC does not exist. |
400 | InvalidParams.AlreadyExists | bgp network already exists | The specified BGP network already exists. |
400 | InvalidStatus.CannotOperate | invalid status cannot operate | The status of the resource does not permit this action. |