You wrote it by yourself: you fence it off!
Buffalo will run off a cliff in the hundreds because those in the back can’t see what’s in the front.
https://en.wikipedia.org/wiki/Buffalo_jump
https://en.wikipedia.org/wiki/Ha-ha
There are second hand accounts from indigenous people, excavated bone sites with tools and spear tips, but reportedly no first hand recorded observations from Europeans of buffalo running off cliffs.
Also, not voluntarily pushing the beasts to your fences is going to help a bit, since buffaloes don't run to cliff on their own…