My ISP uses FTTH.
They provided a modem+router device, which got an interface where fiber cable is connected. And two lan ports.
One of the lan port is connected to my Access point and every one connect to that access point to access internet.
In the Network->WAN configuration page of ISP provided device,
I would like to stop this device acting acting as a router and use an openwrt device (Aruba AP-303H flahed with openwrt) as a router.
In the WAN configuration page of openwrt, I didnt find any place to put this VLAN ID and Multicast VLAN ID.
My Aruba AP-303H powers based on POE only via the port labelled as E0. And I use a POE switch to power it up.
So should I be connecting one of the LAN port from ISP provided device to the SWITCH as uplink? And from SWITCH to E0 of Aruba AP-303H to power it up as well act as WAN port?
Or can I make any other port (E1, E2 or E3) on Aruba AP-303H as wan port? And use E0 just to power up the device?
You have to direct your questions about connecting switch in place of their router to your provider ONLY. Probably you can figure out things on your own if the switch supports VLANs.
What are the other choices for Mode in the second box down?
You have to keep this device since there is no GPON (fiber) connection on the AP-303. Many "home gateway" boxes offer a "bridge" or "IP Passthrough" mode which is mostly a transparent unrouted link from your router's Ethernet to the ISP. When a Home Gateway is operating as a bridge, its wifi is not operational, and the only connection to it from your side would be one Ethernet cable to the WAN side of your system.
Another option is the ISP may be able to provide a simplified "ONT" box to replace the gateway you have now. An ONT operates as a bridge to one Ethernet port for a customer-supplied router.
Ideally the gateway or ONT will be able to continue to terminate the PPPoE tunnel (including applying VLAN tags). That is certainly supported on OpenWrt but there is no hardware acceleration for pppoe so it is rather CPU intensive on OpenWrt.
Wired openwrt (Aruba AP-303H) wan (E0) to modem LAN 2 port.
And in openwrt I configured WAN as PPPoE with username and password.
And once I applied, I got a public IPv4 assigned on wan interface and IPv6 and IPv6-PD got assigned on wan_6 interrace.
Any address in the same subnet as the modem interface. The 192.168.20.10 you have in your example will be fine. However the device for the modem interface needs to be the L2 device not @wan