A longitudinal wave propagates when the rod is hit vertically.When hit horizontally too, a longitudinal wave is produced (sound wave). However, if the rod vibrates, the wave so developed is transverse in nature.