---
title: "Get the all of BGP Neighbor"
method: GET
path: "/config/bgp/neigh/all"
---

# Get the all of BGP Neighbor

`GET /config/bgp/neigh/all`

## Request

- Base URL: `http://0.0.0.0:11111/netlox/v1`
- URL: `http://0.0.0.0:11111/netlox/v1/config/bgp/neigh/all`
- Auth: API key in header `Authorization`

Get the all of BGP Neighbor

## Response `200`

OK

- object
  - `bgpNeiAttr` BGPNeighGetEntry[]
    - `ipAddress` string: BGP Neighbor IP address
    - `remoteAs` integer: Remote AS number
    - `state` string: Current state
    - `updowntime` string: Current uptime

## Other responses

- `204`: OK
- `400`: Malformed arguments for API call
- `401`: Invalid authentication credentials
- `403`: Capacity insufficient
- `404`: Resource not found
- `409`: Resource Conflict. VLAN already exists OR dependency VRF/VNET not found
- `500`: Internal service error
- `503`: Maintenance mode

## Changes

- **2024-01-23** `3b72f6ec2f5d`: 1 info
  - endpoint added
- **2023-06-29** `0e6bd4e2dcc9`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/loxilb-io/apis/loxilb-rest-api/changes/config/bgp/neigh/all/get.md)

---

[API](https://skmtc.dev/loxilb-io/apis/loxilb-rest-api.md) - [All operations](https://skmtc.dev/loxilb-io/apis/loxilb-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/loxilb-io/apis/loxilb-rest-api/revisions/cb6820b4f999?raw)
