NOTE: This is not a request for help as much as it is commentary or maybe even a request to MT to simplify/normalize the config schema… thanks for reading though!
Trying to wrap my head around ROS L2 and am getting frustrated by the inability to enumerate VLANs per interface rather than enumerating interfaces per VLAN.
[admin@Mikrotik] /interface/bridge/vlan> add bridge=bridge1 vlan-ids=82,250 tagged=ether1
[admin@Mikrotik] /interface/bridge/vlan> add bridge=bridge1 vlan-ids=83,250 tagged=ether2
failure: vlan already added
There are no VLANs on ether2, so how can it already have been added?
I am aware that I can enumerate the interfaces instead, but in a complex environment, that can be VERY tedious to work through… I need and want to be able to see, at a glance, which VLANs are on a particular interface. This is preferred over seeing which interfaces belong to a particular VLAN.
There are use cases for both. Sometimes you need to create a VLAN and need to add multiple interfaces. Other times, you need to turn up an interface and add multiple VLANs. There’s no one right answer, but ROS shouldn’t have an opinion one way or the other.
In the ISP sector, at least in my experience, it’s much more common to turn up an interface than to create a new VLAN. In fact, that’s probably the case in enterprise as well.
If I have a dozen VLANS and need to add a new trunk port, then I have to touch every entry, which means that I have a dozen chances to make a service affecting mistake. On the other hand, if we can enumerate VLANs by interface, then I can only screw up that ONE interface and no other interface is at risk.