---
title: "Get all of the port interfaces"
method: GET
path: "/config/port/all"
---

# Get all of the port interfaces

`GET /config/port/all`

Get all of the port interfaces.

## Response `200`

OK

- object
  - `portAttr` PortEntry[]
    - `portName` string — The name of the Port interface
    - `portNo` integer — Index of the Port
    - `zone` string — network zone
    - `portSoftwareInformation` object
      - `osId` integer — The ID of the Port in the software(OS)
      - `portType` integer — port type
      - `portProp` integer — Priority of the port
      - `portActive` boolean — Activation status of the port
      - `bpfLoaded` boolean — The status of the eBPF loaded
    - `portHardwareInformation` object
      - `rawMacAddress` integer[] — MAC address written by byte array
      - `macAddress` string — MAC address of the port
      - `mtu` integer — MTU of the port
      - `link` boolean — link status
      - `state` boolean — state...
      - `master` string — Port's mater
      - `real` string — real port..
      - `tunnelId` integer — Tunnel Id such as VxLAN.
    - `portStatisticInformation` object
      - `rxBytes` integer — Statistic of the ingress port bytes.
      - `txBytes` integer — Statistic of the egress port bytes.
      - `rxPackets` integer — Statistic of the number of ingress packets.
      - `txPackets` integer — Statistic of the number of egress packets.
      - `rxErrors` integer — Statistic of the number of ingress Error packets.
      - `txErrors` integer — Statistic of the number of egress Error packets.
    - `portL3Information` object
      - `routed` boolean — Is routed or not
      - `IPv4Address` string[] — List of IP address v4
      - `IPv6Address` string[] — List of the IP address v6
    - `portL2Information` object
      - `isPvid` boolean — Is PVID config or not
      - `vid` integer — virtual lan id(VLAN ID)
    - `DataplaneSync` integer — Dataplan Sync check

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