just add the line:
config switch 'eth1' option name 'eth1'
to my /etc/config/network
then: uci commit network
to find the switch menu under Luci network pane
but of course it doesnt work if the switch is not there ? or am I wrong ?
About the vlan I am still trying to figure out uci set ups in
openwrt/target/linux/ar71xx/base-files/etc/board.d/02_network
wndap360|\
wp543)
ucidef_set_interface_lan "eth0"
;;
a40|\
a60|\
alfa-ap96|\
alfa-nx|\
archer-c25-v1|\
dr344|\
gl-ar150|\
gl-ar300m|\
gl-domino|\
gl-inet|\
gl-mifi|\
jwap003|\
om2p-hsv4|\
om2pv4|\
pb42|\
pb44|\
rb-951ui-2hnd|\
rb-952ui-5ac2nd|\
routerstation|\
tl-wr710n|\
tl-wr720n-v3|\
tl-wr810n|\
tl-wr810n-v2|\
wpe72|\
wrtnode2q)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
;;
rb-750-r2|\
rb-750p-pbr2|\
rb-750up-r2|\
rb-951ui-2nd)
ucidef_set_interfaces_lan_wan "eth1.1" "eth0"
ucidef_add_switch "switch0" \
"0@eth1" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"
gl-ar300m doesnt have any. But I am talking about openwrt 18.06 dont now about currrent working version.
Don't know if you can use some kind of strange set up here.
Sorry can't help more I am in your same spot.
Try here [SOLVED] How to use UCI to configure VLANs on a large installation?
And if somebody knowledgeable have spare time to help a lost soul visit here: