The custom of 'Beating the Bounds' has taken place in a variety of forms in Britain for over 2000 years. Its origins have roots in many different cultures from across Europe and beyond. In essence it involves local inhabitants perambulating their farm, manorial, church or civic boundaries, pausing as they pass certain trees, walls and hedges that denote the extent of the boundary to exclaim, pray and ritually 'beat' particular landmarks (or even young boys) with sticks. The ceremony might also involve the blessing of crops or animals and the inspection of fences. (
http://www.bbc.co.uk/dna/h2g2/A805871)
Alternatively,
http://www.strangebritain.co.uk/traditions/bounds.html