I just updated my Xiaomi R3P to 19.07.03 and still get strange VLAN IDs when using "swconfig dev mt7530 show". This issue is existing at least since 19.07.0.
root@OpenWrt:~# swconfig dev mt7530 show
.
.
.
VLAN 1:
vid: 1
ports: 1 2 3 6t
VLAN 2:
vid: 2
ports: 4 6t
VLAN 297:
vid: 297
ports:
VLAN 1093:
vid: 1093
ports:
VLAN 1639:
vid: 1639
ports:
VLAN 1901:
vid: 1901
ports:
VLAN 2165:
vid: 2165
ports:
VLAN 2438:
vid: 2438
ports:
VLAN 2709:
vid: 2709
ports:
VLAN 3803:
vid: 3803
ports:
VLAN 4049:
vid: 4049
ports:
my "/etc/config/network" has only 2 VLAN entries
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd90:d964:0ea9::/48'
config interface 'lan'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.39.1'
option netmask '255.255.255.0'
option ip6assign '60'
option ifname 'eth0.1 ra0 rai0'
config device 'lan_eth0_1_dev'
option name 'eth0.1'
option macaddr 'ec:41:18:0a:c1:80'
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
config interface 'wan6'
option ifname 'eth0.2'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 6t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '4 6t'
strangely these "artificial VLANs" randomly change over time / every second
VLAN 1:
vid: 1
ports: 1 2 3 6t
VLAN 2:
vid: 2
ports: 4 6t
VLAN 112:
vid: 112
ports:
VLAN 383:
vid: 383
ports:
VLAN 1209:
vid: 1209
ports:
VLAN 1483:
vid: 1483
ports:
VLAN 1732:
vid: 1732
ports:
VLAN 2004:
vid: 2004
ports:
VLAN 2544:
vid: 2544
ports:
VLAN 3068:
vid: 3068
ports:
VLAN 3069:
vid: 3069
ports:
VLAN 3313:
vid: 3313
ports:
and two seconds later:
VLAN 1:
vid: 1
ports: 1 2 3 6t
VLAN 2:
vid: 2
ports: 4 6t
VLAN 40:
vid: 40
ports:
VLAN 313:
vid: 313
ports:
VLAN 835:
vid: 835
ports:
VLAN 1382:
vid: 1382
ports:
VLAN 1384:
vid: 1384
ports:
VLAN 1642:
vid: 1642
ports:
VLAN 1898:
vid: 1898
ports:
VLAN 2161:
vid: 2161
ports:
VLAN 3803:
vid: 3803
ports:
Is there anything wrong with my config or is it a bug? Is it just a cosmetic problem or something serious?