This pint-sized pup got a gallon-sized taste of its own medicine.

The puppy in this video is barking away like there's no tomorrow at the big dog, who just sits around showing the least bit of attention or interest to the teeny pooch.

Meanwhile, the pup continues to act like the canine version of that annoying kid in school who always raised his hand and yelled "Oooh, oooh, I know it! Please pick me!" for every question the teacher asked.

Eventually, though, the bigger dog decides he's got to put his small friend in his place. After more than 20 seconds of enduring the shrill barking, the big dog barks once, but it's so deep and surprising that the little fella swiftly and meekly retreats to safety.

He can dish it out, but sure can't take it.