Modifies the attributes of a BGP peer.


Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes ModifyBgpPeerAttribute

The name of this action. Value: ModifyBgpPeerAttribute

BgpPeerId String Yes Bgp-awjhxxxxxxxx

The ID of the BGP peer.

RegionId String Yes cn-shanghai

The region ID of the BGP group. To query the region ID, call DescribeRegions.

BgpGroupId String No bgpg-wz9f62v4fbgxxxxxxxx

Optional. The ID of the BGP group.

ClientToken String No 02fb3da4-130e-11e9-8e44-001xxxxxxxx

Optional. Guarantees the idempotence of the request. The value of this parameter is generated by the client. The value is unique among different requests and 1 to 64 ASCII characters in length.

EnableBfd Boolean No true

Optional. Indicates whether to enable the BFD function. Valid values:

  • true: Enable the BFD function.
  • false: Do not enable the BFD function.
PeerIpAddress String No 116.62.xx.xx

Optional. The IP address of the BGP peer.

Response parameters

Parameter Type Example value Description
RequestId String D4B7649A-61BB-4C64-A586-1DFF1EDA6A42

The ID of the request.


Request example

Response examples

XML format


JSON format


Error codes

HTTP status code Error code Error message Description
400 InvalidRegionId.NotFound The specified RegionId does not exist in our records. The region ID you specified is invalid. Please check if the cloud service is available in the specified region.

See common error codes.