Well, you can teach them to attack on command but as stated above if you your dog does attack The wrong person you can get in trouble for it. Both my dogs were trained with a word that I can use along with a pointed finger at the person. With the use of the finger pointing and that word my dogs will attack that person. And no I do not have mean dogs, they are very friendly. My dogs were trained that way for my protection because my husband is not around for long periods of time and I refuse to keep a gun.
with my dog, it started off with like teasing between my sister and i, my sister was hitting my leg and my dog - who favouritisees me :D - started barking and jumped on my lap (not light - like 35 kilos XP) and tried to bite my sister when ever she put her hand near me, anyways she's rly good so u can teach them through llike teasing but generally if u have dogs like rottweiler or german shepherd (mines a cross), their pretty much genetically protective
When i got my dog he was automatically protective of us kids. Then Mum met my Stepdad who has two kids. One day my brother and one of my stepbrothers were play fighting and our dog ran up and bit my stepbrother on the arse cheek! Don't worry he didn't bleed or anything, it wasn't enough to hurt him badly. And now they know not to play fight around him XD
You dont. You train your animal to attack and guess what, you create a monster dog that can and will get taken away by the pound and be put down, and you will go to ja.il for assault with a deadly weapon when your dog attacks and injures or k!lls a person.
its instinct if you show it lots of love it will attack a burglar or whatver is trying to harm you.