NSX-T Data Center REST API

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

Successful Response:

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

Example Response:

{ "source_addresses": [ "172.16.10.1" ], "neighbor_address": "1.2.3.4", "remote_as_num": "20", "route_filtering": [ { "enabled": true, "address_family": "IPV4" } ], "keep_alive_time": 60, "hold_down_time": 180, "allow_as_in": false, "maximum_hop_limit": 2, "password_set": false, "enabled": true, "resource_type": "BgpNeighborConfig", "id": "peer1", "display_name": "peer1", "path": "/infra/tier-0s/pepsi/locale-services/default/bgp/neighbors/peer1", "relative_path": "peer1", "parent_path": "/infra/tier-0s/pepsi/locale-services/default/bgp", "unique_id": "c915f33e-e3ad-4747-8bd2-b14e94cc76bd", "realization_id": "c915f33e-e3ad-4747-8bd2-b14e94cc76bd", "owner_id": "87d1ea02-ff5c-4bbe-8aa6-a0017eccf6f6", "marked_for_delete": false, "overridden": false, "_system_owned": false, "_protection": "NOT_PROTECTED", "_create_time": 1713215395373, "_create_user": "admin", "_last_modified_time": 1713215395373, "_last_modified_user": "admin", "_revision": 0 }

Required Permissions:

read

Feature:

policy_t0

Additional Errors: