This study showed that B5 could not kill K. pneumoniae in vitro; however, intranasal B5 promoted the recruitment of macrophages and dendritic cells in the lungs in the early infection phase, and inhibited the secretion of TNF-α, IL-1β, and IL-17 in the lungs in the later infection phase. Here, IL17A is linked to infection.