Well, how I trained my dog was by... not training him He is scared of the hens we have, plus the rooster but he is a coward.
Well, the best way that I would see would be like an underground fence or a shock collar but I have no idea.
well we do have a great white Pyrenees, and he is a goat dog...