MikroTik User Manager (RADIUS): Add user with VLAN
The following RouterOS terminal command adds a User Manager user assigned to a VLAN with ID 998
. This setup is compatible with Unifi access points.
/user-manager user add attributes=Tunnel-Type:13,Tunnel-Medium-Type:6,Tunnel-Private-Group-ID:998 name=myuser password=uNah2ieghi
Note that Tunnel-Type:13,Tunnel-Medium-Type:6
will always stay the same, they will tell RADIUS to assign a VLAN.
In WebFig, the same config looks like this:
In WinBox, these settings look like this: