setSwitchPortStatus
Enable or disable a single switch port on TP-Link Omada SDN controllers by specifying switch MAC, port number, and status (0 for off, 1 for on).
Instructions
Enable or disable a single switch port. 0=off, 1=on.
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>",
"status": "<status>"
},
"name": "setSwitchPortStatus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| siteId | No | ||
| status | Yes | 0=off, 1=on | |
| switchMac | Yes |