The anti-inflammatory effect of B. megaterium may be through the activation of toll-like receptor 2 (TLR-2) in intestinal epithelial cells of animals so as to regulate the secretion of pro-inflammatory factors and anti-inflammatory factors by the NF-κB signaling pathway, and then reduce the infection of pathogenic bacteria [46,47,48]. The gene discussed is NFKB1; the disease is infection.