[FS#1147] VLAN problem with MT7530 switch

LEDE Bugs lede-bugs at lists.infradead.org
Tue Jan 30 06:21:53 PST 2018


The following task has a new comment added:

FS#1147 - VLAN problem with MT7530 switch
User who did this - Jaap Buurman (Mushoz)

----------
I managed to track down the issue. When creating a new VLAN with a VLAN ID of for example 720, (L)UCI will write the following to the network config file:

config switch_vlan                                  
        option device 'switch0'         
        option vlan '7'             
        option ports '6t'                           
        option vid '720'

If manually edited and changed to:

config switch_vlan                                  
        option device 'switch0'         
        option vlan '720'             
        option ports '6t'                           
        option vid '720'

and then reloading the network settings via /etc/init.d/network reload, it will give you a working VLAN with ID 720 without having to use dummy VLANs.

I am not sure whether this is a (L)UCI issue and the vlan value should have been set to 720 instead, or whether this is an issue with the interpretation where for some reason devices using the MT7530 switch are loading the vlan value where they should be using the vid value. My guess would be an interpretation issue, since other devices are not affected.

Could anyone using a different device please let me know what is being set to the network config file when creating a new VLAN with ID 720, tagged on the CPU and off on all ports? That might be helpful for figuring out whether this is a (L)UCI issue or MT7530 related. Thanks.
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1147#comment4207



More information about the lede-bugs mailing list