The main purpose of this study was to systematically analyze the ERF family and to explore the mechanism of ERF2 in tomato plants resisting pathogen infection by the Virus-induced Gene Silencing technique. The gene discussed is ERF; the disease is infection.