This means that farmers bring their cattle to wherever food is available in the mountains.
In essence, it means that farmers move their cattle to regions with readily available sustenance in the mountains.