Management Plane API > Networking > Logical Routing And Services > BFD Peers

Create a static hop BFD peer

Creates a BFD peer for static route. The required parameters includes peer IP address.

Request:

Method:
POST
URI Path(s):
/api/v1/logical-routers/<logical-router-id>/routing/static-routes/bfd-peers
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
StaticHopBfdPeer+

Example Request:

POST https://<nsx-mgr>/api/v1/logical-routers/f962173f-ac03-4d08-8366-56a41779f61d/routing/static-routes/bfd-peers { "peer_ip_address": "10.10.10.10", "enabled": true, "bfd_config": { "receive_interval": 1000, "transmit_interval": 1000, "declare_dead_multiple": 3 } }

Successful Response:

Response Code:
201 Created
Response Headers:
Location
Content-type: application/json
Response Body:
StaticHopBfdPeer+

Example Response:

{ "id": "ab6e173e-ac03-5d09-8888-46a41779f633", "peer_ip_address": "10.10.10.10", "enabled": true, "bfd_config": { "receive_interval": 1000, "transmit_interval": 1000, "declare_dead_multiple": 3 }, "_create_time": 1460092633898, "_last_modified_user": "admin", "_system_owned": false, "_last_modified_time": 1460092633898, "_create_user": "admin", "_revision": 0 }

Required Permissions:

crud

Feature:

routing_routers

Additional Errors: