Ports List
ports_listRetrieve all ports from LibreNMS with optional filters, including device, columns, limit, and offset, to query network interfaces and their status.
Instructions
Get all ports from LibreNMS with optional filters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return | |
| query | No | Query parameters for filtering ports: - columns: Comma-separated list of fields to return (e.g., "port_id,ifName,ifAlias") - device_id: Only return ports of this device (device ID or hostname) Available columns: port_id, device_id, ifDescr, ifName, ifAlias, ifType, ifSpeed, ifOperStatus, ifAdminStatus, etc. | |
| offset | No | Number of results to skip (offset) for pagination |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||