create_lag
Creates or modifies a link aggregation group (LAG/port trunk) by bonding member ports into one logical link on TP-Link SG1016 switches; ports must share identical speed and duplex.
Instructions
Create or modify a link aggregation group (LAG / port trunk).
Member ports are bonded into a single logical link. Ports in a LAG must have identical speed and duplex settings.
Args: group_id: LAG group ID (1-8). ports: Member port numbers to bond together.
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": {
"group_id": "<group_id>",
"ports": "<ports>"
},
"name": "create_lag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ports | Yes | ||
| group_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |