Update Bgp Config
Updates the general BGP configuration on an Edge Gateway.
Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/edgeGateways/{gatewayId}/routing/bgp
COPY
Path Parameters
string
externalNetworkId
Required
externalNetworkId
string
externalNetworkId
Required
externalNetworkId
Request Body
ProviderGatewayBgpConfig of type(s) application/json
Required
{
"enabled": false,
"ecmp": false,
"localASNumber": "65546",
"gracefulRestart": {
"modeValue": "string"
},
"version": {
"version": 0
}
}
boolean
enabled
Optional
A flag indicating whether BGP configuration is enabled or not.
boolean
ecmp
Optional
A flag indicating whether ECMP is enabled or not.
string
localASNumber
Optional
BGP AS number to advertise to BGP peers. BGP AS number can be specified in either ASPLAIN or ASDOT formats, like ASPLAIN format :- '65546', ASDOT format :- '1.10'.
Responses
202
The request have been accepted and the task to monitor the request is in the Location header.
Operation doesn't return any data structure
400
Invalid configuration.
Returns Error of type(s) */*;version=38.1
{
"minorErrorCode": "string",
"message": "string",
"stackTrace": "string"
}
string
minorErrorCode
Required
minorErrorCode
string
message
Required
message
string
stackTrace
Optional
stackTrace
Availability
Added in 34.0
On This Page
Edge Gateway Bgp Operations
GET
Get Bgp Config
PUT
Update Bgp Config