I had a mixed breed who used to tease me by offering her left paw when i told her to shake a paw, also, the only way I could give her medication was to let her off her outdoor tether after clipping on her leash - I guess, to her, this meant that I was the boss.
--------------------------------
They are aware of the pecking order. My mother's Doberman quickly recognized me on it and did whatever I asked. It clearly knew what I wanted, simple things like go to where I pointed, lie down and stay there, as mine would. The dog understood exactly where the property boundaries were and would break off chasing a cat or squirrel at them and stand guard.
I think Mom acquired the dog from an elderly friend who could no longer keep it. It must have been well trained but not by her, she had no authority with animals, that was my job. The wild rabbits around here stop running away when they recognize me and sometimes sit nearby nibbling clover and watching me work. Maybe I'm protection from hawks.
A neighbor acquired an unruly black lab that appeared untrained, and would nip at my legs. I finally grabbed under its lower jaw and pressed the lips against the teeth while firmly telling it to stop.
The dog instantly stopped testing and respected me and would do whatever I asked. I didn't want to embarrass the owner so I took the dog for a walk in the woods to see what it knew or picked up on, such as investigate a burrow opening I pointed at, and break off running around when asked to follow me, not "heel" but pay attention and come along, my phrase was "this way". Those were things I'd taught my dog to do, normal dog actions instead of useless tricks which mine would quickly learn and then refuse to repeat. I learned when to stop asking.
Teddy Roosevelt took a vacation between being elected and assuming the Vice Presidency, hunting livestock-killing mountain lions with dogs in Colorado. The dogs were very friendly, even cuddly with humans yet rough on each other, constantly challenging for dominance. When they caught a lion, which are faster sprinters but lack a dog's endurance, the lower ranking pack members would cooperate by grabbing and pulling legs, tail, ears to immobilize it, then a strong dominant dog would close in on the head. A lion could kill a single dog easily, the pack wouldn't allow it to concentrate on one member.
Roosevelt waded into the fights and killed lions with a knife, as a bullet might hit a dog.
formatting link
"Theodore Roosevelt is the only U.S. president with his name in the Boone and Crockett records. And as far as we know, he’s the only hunter to kill a World’s Record with a hunting knife."
When Obama was on Bear Grylls' TV show his guard detail wouldn't let him step off the road.