list_vlans
Retrieve VLAN interfaces from a MikroTik device, including name, VLAN ID, parent interface, and status. Disabled interfaces are excluded by default; set include_disabled to list them.
Instructions
List VLAN interfaces (/interface/vlan): name, vlan-id,
interface (the parent interface it rides on top of), mtu,
running, disabled, comment (if set).
Excludes disabled VLAN interfaces by default, like interfaces;
pass include_disabled=True to see them too.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_name | Yes | ||
| include_disabled | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |