To shave the peak load of the distribution transformer, many studies on coordinated charging have been conducted. In recent studies, electric vehicles (EVs) with Vehicle-to-Grid (V2G) capability have been proven to be able to alleviate the pressure of grid by serving as energy storage devices. However, due to the complex hardware equipment required by V2G, it is hard to equip all the EVs with V2G equipment. Previous studies only assumed that all EVs support V2G (V2G EVs) or energy only flows unidirectionally from the grid to EVs (V1G EVs). In this paper, we proposed a coordinated peak shaving strategy based on a mixed-integer linear programming (MILP) model to optimize the charging plan of both V1G and V2G EVs, which takes the interests of both users and the grid into account. Finally, the strategy is verified to have the ability to minimize the charging cost of users and alleviate the load pressure of the distribution transformer.