IL-17 is protective against pulmonary infection with TIGR4, a representative invasive strain of relatively low capsular thickness, but has an adverse effect on outcome following infection with 2 separate highly encapsulated strains (SRL1 and SRL2) that are representative of strains of lower invasive potential. This evidence concerns the gene IL17A and infection.