[PATCH-22.03] netifd: bridge: add support option for untagged

Andrey Jr. Melnikov temnota.am at gmail.com
Fri Sep 9 03:18:59 PDT 2022


Janusz Dziedzic <janusz.dziedzic at gmail.com> wrote:
> [-- text/plain, encoding quoted-printable, charset: UTF-8, 86 lines --]

> pt., 9 wrz 2022 o 04:32 LiXiong Liu <lxliu at ikuai8.com> napisał(a):
> >
> > ### swconfig & DSA VLAN Configuration Comparison

[....]

> > #bridge vlan show
> > port              vlan-id
> > lan1              100 PVID Egress Untagged
> > lan2              100 PVID Egress Untagged
> > lan3              1 PVID Egress Untagged
> > lan4              1 PVID Egress Untagged
> > lan5              1 PVID Egress Untagged
> >                   10
> > br-lan            1 PVID Egress Untagged
> >                   10
> >

> We are using smth like this:

> config bridge-vlan 'vlan1'
>     option name 'vlan1'
>     option device 'br-lan'
>     option vlan '1'
>     option flags 'untagged pvid'
"untagged pvid" is tautology. PVID stands for "Port VLAN ID" - is a default VLAN ID that is assigned to an access
port. Access ports only for untagged (stripped tag) frames. So, drop 'untagged'
from options or 'pvid'.

>     option local '1'
>     list ports 'eth2:*'
>     list ports 'eth3:*'

[...]




More information about the openwrt-devel mailing list