setSwitchPortProfile
Assign a LAN profile to a single switch port to control its network behavior. Provide the switch MAC, port number, and profile ID to apply the desired settings.
Instructions
Assign a LAN profile to a single switch port.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"switchMac": "<switchMac>",
"port": "<port>",
"profileId": "<profileId>"
},
"name": "setSwitchPortProfile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| siteId | No | ||
| profileId | Yes | ||
| switchMac | Yes |