update_vlan
Update an existing VLAN's configuration by ID, changing its tag, priority, parent interface, or description. Apply changes immediately if needed.
Instructions
Update an existing VLAN by ID
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": {
"vlan_id": "<vlan_id>"
},
"name": "update_vlan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pcp | No | VLAN priority code point (0-7) | |
| tag | No | VLAN tag (1-4094) | |
| descr | No | Description | |
| vlan_id | Yes | VLAN ID (from search_vlans) | |
| parent_interface | No | Parent physical interface | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||