[RFC PATCH v2 0/1] Introduce UCI support for configuring DSA VLAN filter rules

Bjørn Mork bjorn at mork.no
Wed Jul 15 05:39:29 EDT 2020


Jo-Philipp Wich <jo at mein.io> writes:

> config device
> 	option name switch0
> 	option type bridge
>
> config bridge-vlan
> 	option device switch0
> 	option vlan 1
> 	list ports 'lan1'
> 	list ports 'lan2:t'

If we can't come up with a working automatic scheme, maybe we could have
an option to disable the cpu port per vlan?  Something like

 config bridge-vlan
 	option device switch0
 	option vlan 2
        option self 0  # defaults to true
 	list ports 'lan2:t'


Bjørn



More information about the openwrt-devel mailing list