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

Create or update BGP routing config

If an BGP routing config not present, create BGP routing config.
If it already exists, update the routing config.

Request:

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

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/tier-0s/vmc_prv/locale-services/default/bgp { "local_as_num": "123", "route_aggregation": [ { "prefix": "10.1.1.0/24" }, { "prefix": "11.1.0.0/16", "summary_only": "false" } ] }

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: