It's probably an airway obstruction. If it's a breed with a short face (Pug, bulldog), it's very common. If not, it could be allergies. If he does it a lot, then it could be serious. If he just snuffles around or snorts when he's excited, it's probably not life threatening.