We use one or two strands of electric wire (solar powered) for the cows.
I actually love sheep milk cheeses, so I could be persuaded! Also our land is extremely hilly. I do'nt know the angle, but our pasture is quite steep. The cows are navigating it pretty well, but it's probably somewhat more suited to sheep.
In any case, right now we have a heifer and are borrowing a bull to get things started for her, so we're committed to cows for the time being.
The goats: it's only 3 (well, four because we had a little one born this week 💕) so they each get their own stake and tether. It seems like a lot of work to me but it's in my husband's daily rhythm and he enjoys it.