The mRNA and protein expression of TLR4, NF-κB, IL-1β, and TNF-α were up-regulated in mastitis induced by LPS and activated the TLR4/NF-κB signaling pathway. Here, TNF is linked to mastitis.