Dogs lined up on a San Francisco street Monday for free vaccines to combat an outbreak of a highly contagious illness that can be fatal for some canines if not treated.