Near my home there's the Lech river. I often encounter "Wanderschafe" ("hiking" sheep) there on and around its dike.
Research has shown that this is the best method to maintain a dike, as sheep simultaneously keep the grass short, while not dislodging, but rather compacting and strengthening the structure.