[OpenWrt-Devel] [PATCH] ramips: set default vid of each vlan, so it won't need be set explicitly.

Roman Yeryomin leroi.lists at gmail.com
Tue Jul 1 10:28:56 EDT 2014


On 1 July 2014 17:13, John Crispin <john at phrozen.org> wrote:
>
>
> On 01/07/2014 16:11, Roman Yeryomin wrote:
>> On 1 July 2014 13:57, John Crispin <john at phrozen.org> wrote:
>>>> Great,
>>>>
>>>> Roman can you test / confirm that this fixes the problem on
>>>> rt-n14 ? i don't have that unit myself so i cannot test.
>> Yes, it fixes the default configuration. But I still don't
>> understand why I cannot change neither vid not member ports:
>>
>> root at OpenWrt:/# swconfig dev switch0 vlan 1 show VLAN 1: vid: 1
>> ports: 1 2 3 4 6t root at OpenWrt:/# swconfig dev switch0 vlan 1 set
>> ports '3 4 6t' root at OpenWrt:/# swconfig dev switch0 vlan 1 show
>> VLAN 1: vid: 1 ports: 1 2 3 4 6t
>>
>> So is it broken or what? Although I didn't check earlier versions
>> it seems broken to me...
>>
>
> sounds broken, added to my todo list ....

Figured it out:
swconfig dev switch0 set apply

Completely in-obvious way, seems the help messages should be improved :)

Regards,
Roman
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list