update_bridge_vlan
Updates an existing bridge VLAN table entry on a MikroTik device, letting you change tagged or untagged ports, comments, and disabled state while verifying the change.
Instructions
Updates an existing bridge VLAN table entry.
Notes: vlan_ids: must match the stored value exactly (it is a list property) e.g. an entry created with "100-199" is matched by "100-199", not "150" tagged/untagged: comma-separated port lists; pass "" to clear the list Dynamic (D-flag) entries auto-created from PVIDs cannot be updated. A change is confirmed on the device before success is reported.
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": {
"bridge": "<bridge>",
"vlan_ids": "<vlan_ids>"
},
"name": "update_bridge_vlan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bridge | Yes | ||
| device | No | ||
| tagged | No | ||
| comment | No | ||
| disabled | No | ||
| untagged | No | ||
| vlan_ids | Yes | ||
| new_vlan_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |