Snake aversion training for dogs is one way to keep dogs away from slithering reptiles. The classes, which typically take about three to four hours, introduce a class of dogs to a defanged rattlesnake, allowing them to observe the sight, smell and sound of a rattlesnake. This helps train the snout of a dog to recognize the smell of a rattlesnake.