I thinks it is bag. After I adding VLAN filtering I can't access to the router.
But bridge is running and I can see all network connected to the bridge.
Pls Help !!!
Router mt7621 mqmaker board.
Not sure how a suitable algorithm for that would work. Migrate any "br-lan" users to "br-lan.X" upon declaring the first VLAN? What if the VLAN is deleted again? Or the ID changed? What if the "Local" flag is disabled? I am afraid that it'll be a lot more complex than swconfig.
How about similar solution like you did with swconfig to prevent softbricks: define always a vlan for lan already in the device default config definition.