Is it possible to create ingress port on switch chip with PVID>64? It looks like that any PVID >64 is ignored. Just compare difference between port 0 and 1 in config and actual configuration of switchchip.
Relevant part of /etc/config/network:
#Switch config Start
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
#config switch_vlan
# option device 'switch0'
# option vlan '1'
# option vid '1'
# option ports '1 2 3 '
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '4 6'
option vid '2'
config switch_vlan
option device 'switch0'
option vlan '158'
option ports '0 5t'
option vid '158'
config switch_vlan
option device 'switch0'
option vlan '10'
option ports '1 5t'
option vid '10'
Output of swconfig:
:~# swconfig dev switch0 show
Global attributes:
enable_vlan: 1
Port 0:
mask: 0x0000: (0)
qmode: 0
pvid: 0
link: port:0 link:down
Port 1:
mask: 0x0000: (1)
qmode: 3
pvid: 10
link: port:1 link:down
Port 2:
mask: 0x0000: (2)
qmode: 0
pvid: 0
link: port:2 link:down
Port 3:
mask: 0x0000: (3)
qmode: 0
pvid: 0
link: port:3 link:down
Port 4:
mask: 0x0000: (4)
qmode: 3
pvid: 2
link: port:4 link:up speed:1000baseT full-duplex
Port 5:
mask: 0x0000: (5)
qmode: 3
pvid: 0
link: port:5 link:up speed:1000baseT full-duplex
Port 6:
mask: 0x0000: (6)
qmode: 3
pvid: 2
link: port:6 link:up speed:1000baseT full-duplex
VLAN 2:
port_based: 0
vid: 2
ports: 4 6
VLAN 10:
port_based: 0
vid: 10
ports: 1 5t