Management Plane API > Networking > Logical Routing And Services > Routing Configuration

Read the BGP Configuration on a Logical Router

Returns information about the BGP configuration on a specified logical
router. Information includes whether or not the BGP configuration is
enabled, the AS number, and whether or not graceful
restart is enabled.

Request:

Method:
GET
URI Path(s):
/api/v1/logical-routers/<logical-router-id>/routing/bgp
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/logical-routers/7a62a0c5-1ea1-4b25-9d43-dce1c0fa4b8c/routing/bgp

Successful Response:

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

Example Response:

{ "id": "7376250a-fa3c-4f69-8844-f5671e914882", "display_name": "7376250a-fa3c-4f69-8844-f5671e914882", "resource_type": "BgpConfig", "enabled": true, "ecmp": false, "hold_up_timer": 0, "graceful_restart": false, "_last_modified_user": "admin", "_last_modified_time": 1433791720444, "_create_time": 1433790402867, "_create_user": "admin", "_revision": 0 }

Required Permissions:

read

Feature:

routing_routers

Additional Errors: