Cristian Benitez, who came off the bench in the 56th minute, gave Ecuador the lead with just five minutes remaining.

The El Nacional forward profited from a defensive mistake after a corner kick to beat Peru keeper George Forsyth with a powerful shot.

And in injury-time, Reading wing-back Ulises de la Cruz netted the Tricolor's second goal after a burst from the right wing.

With the win, Luis Fernando Suarez's men got revenge for the 2-1 defeat to the Peruvians in Madrid last Sunday, with PSV Eindhoven forward Jefferson Farfan picking up the man-of-the-match award.

Ecuador and Peru will feature in the Copa America, which is being hosted in Venezuela from June 26 to July 15.

Ecuador have been drawn in Group B, alongside reigning champions Brazil, Mexico and Chile, while Peru share Group A with the hosts, as well as Bolivia and Uruguay.