The present study showed that HDF decreased the plasma IL-1β, IL-17, and TGF-β contents of TB and XB pigs, whereas HDF increased the ileal IL-1β, IL-2, IL-6, IL-10, IL-17, IFN-γ, TGF-β, and TNF-α contents in the DR pigs. Here, IL17A is linked to tuberculosis.