add_vlan_members
Add ports to an existing 802.1Q VLAN as tagged or untagged members without affecting other VLAN members; including a port can change its tagging mode.
Instructions
Add ports to an existing 802.1Q VLAN.
Reads the current VLAN state and adds the specified ports without affecting other existing members. A port can be changed from tagged to untagged (or vice versa) by including it in the desired list.
Args: vid: VLAN ID of the existing VLAN to modify. tagged_ports: Ports to add as tagged members. untagged_ports: Ports to add as untagged (access) members.
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": {
"vid": "<vid>"
},
"name": "add_vlan_members"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vid | Yes | ||
| tagged_ports | No | ||
| untagged_ports | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |