bridge_vlans
List bridge VLAN filtering table entries on MikroTik RouterOS devices to manage VLAN segmentation across managed switch ports via the bridge VLAN table.
Instructions
List bridge VLAN filtering table entries (/interface/bridge/vlan):
bridge, vlan-ids, tagged, untagged, comment, plus
current-tagged/current-untagged when the device's reply carries
them (RouterOS's own computed effective port lists - not present on
every ROS6/ROS7 version, so only added when actually present, never
invented).
This is the honest completion of the VLAN story for a MANAGED
SWITCH (CRS/hEX-style hardware): the v1.2 list_vlans/add_vlan/
remove_vlan tools operate on standalone /interface/vlan
interfaces (router-on-a-stick style routing), which is a DIFFERENT
RouterOS mechanism from bridge VLAN filtering - a switch that
segments traffic by VLAN across bridge ports needs THIS table, not
/interface/vlan. See bridge_ports above for per-port
pvid/edge/learn config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |