Understand the dog's behavior. In a dog's world, it is instinctual to greet another dog by coming nose-to-nose with them. This allows them to sniff each other's faces and become acquainted with the other dog's scent. Of course, your nose is a bit higher to reach so it is only natural that your dog will jump up to get closer to your face when greeting you.[1] This can be quite annoying and unnecessary, but fortunately, the habit can be broken.

Dogs with poor social skills oftentimes just don’t know better. They will bounce off of everything, jump on everyone, run around like crazy, and investigate everything they can get their paws, snout, and eyes on! These dogs can come from any background, whether a rescue or puppy from a great breeder; if they haven’t had experience in new places and new situations, this can be how they respond. 
An L-footer is a great way to stop your dog from jumping over the fence if used a little differently. You’ll want to turn it upside down and use it at the top of the fence. Create the L-shape and securely fasten the short side to the top of the fence and have the rest of the hardware angled towards the yard so that when your pooch looks up they will see fencing.

3. Because they have been rewarded for this behavior in the past, whether purposely or unknowingly. Some owners may, at one point or another, allowed the dog to jump on them or on their furniture, welcoming their dog's enthusiasm to see them. Other owners inadvertently reward their dogs jumping, simply by doing something good--such as walking or feeding the dog--right after the dog has jumped. Even if they told off the dog for jumping, by providing the dog with a walk or with food, they make the dog connect these positive actions, with a not-so-positive action: jumping! The dog sees thing in a very simple, linear fashion: if he jumps, he'll get to go for a walk--or even better, he'll get fed!
Remember, Jumping up can be dangerous as well as annoying. Just as many owners are sued for their jumping dogs as their biting dogs. Young children and elderly people can easily be toppled over and seriously injured by exuberant, friendly dogs. Start now to teach your puppy not to jump up. Even little dogs can cause problems and injury to themselves and others when they jump up.

Dogs like and need consistency, so if you are not allowing your dog to jump on you, everyone in the family and everyone who greets the dog must do the same. You, as an owner, must make sure this happens. It will only confuse a dog if you allow them to jump on some people who say they do not mind, and tell him not to jump on others. Once you decide you do not wish your dog to jump on people you must apply this to everyone at all times unless you give the dog a command to jump. A dog should never jump on a human of its own free will.

An L-footer is a great way to stop your dog from jumping over the fence if used a little differently. You’ll want to turn it upside down and use it at the top of the fence. Create the L-shape and securely fasten the short side to the top of the fence and have the rest of the hardware angled towards the yard so that when your pooch looks up they will see fencing.
I remember going to a dog park where a little 4-month-old Boxer puppy ran around jumping on everyone. The dog was not heavy enough to knock most of the adults down. However, it left everyone with muddy pants and the dog was big enough to knock over small children. The owner did nothing to stop the jumping puppy. After all, it was just a small pup. Everyone around her was pretty annoyed at the muddy prints the dog was leaving all over their clothes. That is an owner who will have a problem with her dog jumping on people when it gets older.
×