v2_set_port_profile
Assign a VLAN port profile to a switch port. Blocks trunk changes unless force:true to avoid network partitioning. Read-only mode returns the payload without applying it.
Instructions
Bind a switch port to a VLAN port profile — the real fix for "every port permits every VLAN". Refuses to change an inter-switch trunk unless force:true, because a wrong profile there partitions the network. [READ-ONLY MODE: returns the exact payload instead of sending it]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| force | No | ||
| dryRun | No | ||
| siteId | No | ||
| switchMac | Yes | ||
| profileName | Yes |