Community discussions

MikroTik App
 
dadaniel
Member Candidate
Member Candidate
Topic Author
Posts: 227
Joined: Fri May 14, 2010 11:51 pm

dynamic entries in Bridge-VLANs result in duplicates?

Tue Jun 10, 2025 4:33 pm

In recent RouterOS versions entries with dynamic flag and comment "added by vlan on bridge" get automatically created in bridge-VLANs when a VLAN interface is created on a bridge. The VLAN interface is then listed as current tagged in this entry.
Despite this automatism it is still possible that a new or existing manual entry exists with the same VLAN ID and the same VLAN interface listed as current tagged.

Wouldn't it be wise to avoid these duplicates in a future RouterOS version and display tagged and untagged ports in the same entry?
tagged.png
You do not have the required permissions to view the files attached to this post.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 4963
Joined: Sun May 01, 2016 7:12 pm
Location: California
Contact:

Re: dynamic entries in Bridge-VLANs result in duplicates?

Tue Jun 10, 2025 5:09 pm

The background is the comments you see explain the "why" it was dynamically added. Since they were added for different reasons, there are multiple dynamic entries.

In this scheme, you can already have a static and dynamic (so a "duplicate") for same VLAN in /interface/bridge/vlans. So I'm not sure it's terrible there are multiple dynamic VLANs shows.

The whole topic of the bridged vlans starts confusing... So whether multiple dynamic entires with comments is "easier" than just one dynamic entire lumping everything together is a pick-your-poison sitution.

If wrote script/tool that "visualizes" the bridge configuration here:
viewtopic.php?t=214189#p1123276

Since the presentation is tough to read even with just one dynamic and one static configured....