The virulent factor, lipopolysaccharides (LPS), of bacteria after attachment with relevant Toll-like receptors (TLRs) on mammary epithelial cells starts its pathogenesis by using NF-κB signaling to cause mastitis. This evidence concerns the gene NFKB1 and mastitis.