These results suggest TRAF2 may help piglets resist C. perfringens infection by regulating their immune and inflammatory responses. This evidence concerns the gene TRAF2 and infection due to clostridium perfringens.