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

Read BGP neighbor config

Read BGP neighbor config

Request:

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

Example Request:

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

Successful Response:

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

Example Response:

{ "resource_type": "BgpNeighborConfig", "id": "peer1", "display_name": "peer1", "path": "/infra/tier-0s/vmc_prv/locale-services/default/bgp/neighbors/peer1", "parent_path": "/infra/tier-0s/vmc_prv/locale-services/default/bgp", "relative_path": "peer1", "password": "test", "remote_as_num": "12", "neighbor_address": "1.2.3.4", "in_route_filters": [ "/infra/tier-0s/vmc/prefix-lists/plist-1" ], "graceful_restart_mode" : "DISABLE", "_create_user": "admin", "_create_time": 1516751318020, "_last_modified_user": "admin", "_last_modified_time": 1516751318020, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

read

Feature:

policy_t0

Additional Errors: