The doorbell rings. Your dog barks, runs to the door, jumps, and cannot hear you. That is not the moment to teach the whole greeting.
Manage the doorway first
Use a gate, leash, closed room, or distance before the guest enters. Give the dog something familiar to do. Let the person come inside without leaning over, reaching, or staring at the dog.
Wait for a usable change
Look for four feet on the floor, a softer body, sniffing, or the ability to take food normally. Then decide whether a brief greeting makes sense.
Keep greetings short
Bring the dog out for a few seconds, then guide them away before excitement rebuilds. Some dogs do better without greeting at all.
Practice without a real visitor
Rehearse the sound of a knock, moving behind the gate, and settling with a chew. Start quietly. The goal is for the routine to become familiar before company is waiting.
Try it today
Set up the gate and practice one fake arrival. If the dog can move with you and recover, stop there. Do not repeat until the dog is exhausted.