---
title: "Get vlan in the device"
method: GET
path: "/config/vlan/all"
---

# Get vlan in the device

`GET /config/vlan/all`

Get vlan in the device

## Response `200`

OK

- object
  - `vlanAttr` VlanGetEntry[]
    - `vid` integer — Vlan ID
    - `dev` string — Interface device name
    - `member` VlanMemberEntry[]
      - `dev` string — Interface device name
      - `tagged` boolean — Tagged status added
    - `vlanStatistic` object
      - `inBytes` integer
      - `inPackets` integer
      - `outBytes` integer
      - `outPackets` integer

## Other responses

- `401` — Invalid authentication credentials
- `500` — Internal service error
- `503` — Maintenance mode

---

[API](https://skmtc.net/loxilb-io/apis/loxilb-rest-api.md) · [All operations](https://skmtc.net/loxilb-io/apis/loxilb-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loxilb-io/loxilb-rest-api/revisions/45e9f0a95af0/schema)
