---
title: "Add a one of vxlan configuration"
method: POST
path: "/config/tunnel/vxlan"
---

# Add a one of vxlan configuration

`POST /config/tunnel/vxlan`

## Request

- Base URL: `http://0.0.0.0:11111/netlox/v1`
- URL: `http://0.0.0.0:11111/netlox/v1/config/tunnel/vxlan`
- Auth: API key in header `Authorization`

Return a list of existing tunnels of a type. If there're no tunnels to return, empty list will be returned.

## Request body

- VxlanBridgeEntry
  - `epIntf` string, required
  - `vxlanID` integer, required

## Response `204`

OK

## Other responses

- `401`: Invalid authentication credentials
- `409`: Resource Conflict. VxLAN already exists OR dependency VRF/VNET not found
- `500`: Internal service error
- `503`: Maintenance mode

---

[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)
