Hello,
there are numerous posts about vlan tagging for this device, but after hours of reading I am confused.
My AVM 4040 router is behind a VMG1312 that acts as modem. The ISP requires internet traffic being tagged with vlan 7, and this is currently dealt with by the VMG1312. I would like to transfer vlan tagging to the router.
The approach would be to change the /etc/config/network file to
config interface 'wan'
option ifname 'eth1.7'
option proto 'pppoe'
... other pppoe options
config switch_vlan
option device 'switch0'
option vlan '7'
option vid '7'
option ports '0t 5t'
Thank you, I might give it a try tomorrow.
I hope, since your router apparently sits behind another router, this does not make a (the) difference. Is your WAN port number 5 and CPU number 1?
Couldn't wait until tomorrow ....
As soon as I set ports 0&5 to vlan7 tagged and wan port to eth1.7 I was disconnected from the internet. The computer connected through ethernet cable could not reach the router.
I was lucky that I still could access the router via wlan and reset changes.
My fault, did in in a hurry and made typos. It is the config in the initial post and as proposed by @Gingernut.
One important note though: tagging with vlan 7 had been handled by the modem device. Addtionally setting vlan 7 by the router resulted in failure to connect to the internet. I had to turn it off on the modem.