switch-list-ports
Retrieve a list of ports on a Meraki switch, with options to filter specific fields. Use this to view port configurations and status.
Instructions
List the switch ports for a switch. (read-only)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | Serial | |
| fields | No | Return only these top-level fields; omit for all. Available: accessPolicyNumber, accessPolicyType, adaptivePolicyGroup, adaptivePolicyGroupId, allowedVlans, daiTrusted, dot3az, enabled, flexibleStackingEnabled, highSpeed, isolationEnabled, linkNegotiation, linkNegotiationCapabilities, macAllowList, macWhitelistLimit, mirror, module, name, peerSgtCapable, poeEnabled, portId, portScheduleId, profile, rstpEnabled, schedule, stickyMacAllowList, stickyMacAllowListLimit, stormControlEnabled, stpGuard, stpPortFastTrunk, tags, type, udld, vlan, voiceVlan. |