switch-get-ports
Retrieve switch port details including configuration and status for a given serial and port ID. Access fields like VLAN, PoE, enabled status, and more.
Instructions
Return a switch port. (read-only)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | Serial | |
| portId | Yes | Port ID | |
| 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. |