get_vlan_config
Retrieves the switch's full 802.1Q VLAN configuration, including enabled status, VLAN limit, and each VLAN's ID, name, tagged ports, and untagged ports.
Instructions
Get the full 802.1Q VLAN configuration.
Returns: enabled (whether 802.1Q mode is active), max_vlans (device limit, typically 32), and a list of VLANs each with vid, name, tagged_ports, and untagged_ports. VLAN 1 ('Default') always exists with all ports as untagged members by default.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_vlan_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||