In the present study, S. aureus significantly elevated IL-1β expression (p < 0.05) and TNF-α expression of (p < 0.01) in the mammary gland, indicating the occurrence of mammary inflammation, while L. plantarum X86 inhibited the expression of these two cytokines to varying degrees. Here, IL1B is linked to inflammation.