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

Read BGP routing config

Read BGP routing config

Request:

Method:
GET
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:
n/a
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-0s/vmc_prv/locale-services/default/bgp

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
BgpRoutingConfig+

Example Response:

{ "resource_type": "BgpRoutingConfig", "id": "bgp", "display_name": "bgp", "path": "/infra/tier-0s/vmc_prv/locale-services/default/bgp", "parent_path": "/infra/tier-0s/vmc_prv/locale-services/default", "relative_path": "bgp", "local_as_num": "123", "route_aggregation": [ { "prefix": "10.1.1.0/24" }, { "prefix": "11.1.0.0/16", "summary_only": "false" } ], "graceful_restart_config": { "mode": "DISABLE", "timer": { "restart_timer": 180, "stale_route_timer": 600 } }, "_create_user": "admin", "_create_time": 1516751200877, "_last_modified_user": "admin", "_last_modified_time": 1516751200877, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

read

Feature:

policy_t0

Additional Errors: