The results showed that there was no significant difference in the expression levels of TRAF6 and RIP1 during the two test periods, indicating that the activation and inhibition of NF-κB signaling pathway belonged to the category of innate immune of bovine mammary gland and did not lead to mastitis and autoimmune diseases of the analyzed cows. The gene discussed is RIPK1; the disease is mastitis.