get_switch_ports
Retrieve switch port statistics including link state, speed, PoE, LLDP neighbor, and traffic. Filter by switch MAC, site, or port status.
Instructions
Switch/device port statistics: link state, speed/duplex, PoE on/off and draw, LLDP neighbor, and traffic. Filter by switch_mac, site_id, or up (true/false).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| up | No | Filter to up (true) or down (false) ports (optional). | |
| org_id | No | Mist organization id (optional). | |
| site_id | No | Restrict to a site (optional). | |
| switch_mac | No | Filter to one switch by MAC (optional). |