'Without any problem', well that's a bit of optimism
So this is what I did. I've a set of DDR4 2400mhz Crucial generic DIMMS.
I ran memtest at stock to make sure they worked fine.
Then I upped the mem from 2400mhz to 2666mhz, with no voltage increase. I did however turn the timings onto auto, so the system would pick the loosest timings and ensure they would work fine at 2666. Test again with memtest, and if it makes maybe 4 passes, then it's okay at that setting.
Try the next speed up, test again. If it fails memtest try a voltage increase (one notch at a time) until it passes memtest. The repeat, until you get the desired speed. Once you hit a ceiling, knock the speed back one level, and begin to tighten timings to get better...