Shabea3,
Welcome to the forum.
Are you aware of the following regarding nanostation m2 xm:
- This device does not have sufficient resources (flash and/or RAM) to provide secure and reliable operation.
- OpenWrt support for this device will end after 2019.
I see in the logs that vlan is supported, but Idk exactly, I don't have a nanostation m2 xm.
If the device is using swconfig (OpenWrt v19 and lower) then vlan's can be configured @ Network / Switch within GUI.
On newer OpenWrt versions (v21+ with DSA instead of swconfig) vlan's are set within Network / Interfaces / Devices.
Hopefully that gets you further.
DG.