Policy > Networking > Connectivity > Tier-0 Gateways > Routing > BGP

Create or update a BGP neighbor config

If BGP neighbor config with the neighbor-id is not already present, create a new
neighbor config. If it already exists, replace the BGP neighbor config with this object.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors/<neighbor-id>
/policy/api/v1/global-infra/tier-0s/<tier-0-id>/locale-services/<locale-service-id>/bgp/neighbors/<neighbor-id>
Request Headers:
n/a
Query Parameters:
OverrideRequestParameters+
Request Body:
BgpNeighborConfig+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/tier-0s/vmc_prv/locale-services/default/bgp/neighbors/peer1 { "neighbor_address": "1.2.3.4", "remote_as_num": "12", "password":"test", "in_route_filters": [ "/infra/tier-0s/vmc/prefix-lists/plist-1" ], "keep_alive_time": 60, "graceful_restart_mode" : "DISABLE", "bfd": { "multiplier": 4, "interval": 5000 } }

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Example Response:

200 OK

Required Permissions:

crud

Feature:

policy_t0

Additional Errors: