Chasing the offending animal or person, half way, is probably enough already to make the animal or person leave .. Quick smart.
Now, why in the world would you want to do that? You could into BIG trouble in doing this. Your dog is a LOVING pet, nothing else. Your dog is NOT an attack kind of animal. The breed is wrong. Do this, & your pet will be forcibly taken away from you. Destroyed if dangerous to the public. You will also be slapped with a BIG fine & quite possibly be put in jail. Think 2x about this.
Believe it or not ripley. It is called guard dog training classes.depending on the type and personality of the dog will determine how long it takes to train the dog to obey commands.i watched a special on training drug dogs how to signal when they found their target and how to show their handler which person is carrying drugs. In some cases they would actually touch their nose to the bag or locker and in the case of the person they were trained to take them down depending on the area they were patrolling. It was very interesting to see a dog from a pound go from a untrained mutt to a highly skilled/trained drug dog worth over a hundred k. It took in some cases up to 6 months to train a drug dog. Then they went into showing a cadaver dog being trained.it was another mutt/hound/hunting dog that no one wanted. The man that trained him takes the dog to his house and keeps them while training them.from everything to handling big noises/explosions to trains running right next to the dog. One of the dogs test was to find a scent bag in a football stadium out of thousands of seats with all the other smells from previous games. The dog found the scent bag in less than 2 hours out of the whole stadium.i guess it was to simulate finding a person in a collapsed building. Anyway i guess what i am getting at is don't expect your dog to become the perfect guard dog in a month or two.
Train it too, or send the dog to obedience school.