Gin was awesome for that, laid back and alert, he'd give a stern warning on approaching loose dogs, especially if there were more than one. the second warning was enough to send any dogs the other way..
Back then he was big and ripped with muscles though, and could move like lighnting.
He did mellow out a lot after PoohBear passed.
Id also suggest using trails with less loose dogs and distractions.