Update Bgp Config

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
gatewayId
Required

gatewayId

string
gatewayId
Required

gatewayId


Request Body
EdgeBgpConfig of type(s) application/json
Required
{
    "enabled": false,
    "ecmp": false,
    "localASNumber": "65546",
    "gracefulRestart": {
        "mode": "string",
        "restartTimer": 0,
        "staleRouteTimer": 0
    },
    "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'. Read only if using a VRF-Lite backed external network.

gracefulRestart
Optional

gracefulRestart

version
Required

version

Authentication
This operation uses the following authentication methods.
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=37.1
{
    "minorErrorCode": "string",
    "message": "string",
    "stackTrace": "string"
}
string
minorErrorCode
Required

minorErrorCode

string
message
Required

message

string
stackTrace
Optional

stackTrace