"Where there is a Mexican migrant at risk that requires our support, your country should be there," Peña Nieto said in a brief address to his nation, which he said was a response to Trump's actions earlier in the day.
"Our communities are not alone," Peña Nieto said. "The Mexican Government will provide them with the legal advice, which guarantees the protection they require."
More from NBC News:
Trump Signs Executive Orders Aimed at Cracking Down on Illegal Immigration
Minister: Mexico May Leave NAFTA if Renegotiation Unfavorable
Trump Immigration Orders Are 'Harmful,' Pediatricians Say
Specifically, he said, "the 50 Mexican consulates in the United States will become authentic advocates for the rights of migrants." He didn't provide details on what he said he wanted them to do.
Peña Nieto is scheduled to meet with Trump next Tuesday to discuss trade and immigration. But after Trump signed the two orders — one to begin steps to fund Trump's promised wall along the U.S.-Mexican border and the other to significantly boost the U.S. Border Patrol — Peña Nieto said he was consulting with Mexican officials in Washington to decide on "the next steps."