Taken together, these data show that the microbiota promotes GM-CSF production during respiratory infection through IL-17A signaling. Here, CSF2 is linked to respiratory tract infectious disorder.