Teaching alternative behaviors for greeting/play barking involves training your dog to go to a designated spot and stay there when the door opens. Rewarding calm behavior and gradually increasing distractions can help your dog learn to greet guests without excessive barking.