MEXICO CITY (Reuters) - The peso rallied on Friday to a nearly four-month high after the new U.S. commerce secretary offered a softer tone on trade talks and as his Mexican counterpart echoed the sentiment that the two sides could reach a mutually beneficial trade deal.

A picture illustration shows Mexican pesos and U.S. dollars banknotes in Mexico City July 6, 2015. REUTERS/Edgard Garrido

Already the best performing major currency in recent weeks, the peso MXN=MXN=D2 strengthened as much as 2.5 percent to 19.5085 per dollar on Friday, its best since Nov. 9, the day after Donald Trump's surprise presidential election win.

The peso hit a historic low on Jan. 11, after tumbling about 17 percent on concerns that Trump would follow through on threats to tear up the North America Free Trade Agreement (NAFTA) that underpins Mexico’s economy.

Speaking on CNBC, Secretary of Commerce Wilber Ross said a sensible trade deal with Mexico would help the peso, which he acknowledged had been hit by fears about what could happen to NAFTA.

“It’s a much more neighborly discourse,” said Benito Berber, an analyst at Nomura in New York. “The best tool to help the peso is to change the tone on NAFTA.”

Berber said the recent signals from the U.S. administration were calming worries that Trump would seek to end NAFTA or impose hefty tariffs on U.S.-bound Mexican goods.

In the interview, Ross highlighted rules of origin clauses in NAFTA as one of the pact’s weak points, an area Mexico has said it is willing to discuss.

In Detroit on Friday, Mexican Economy Minister Ildefonso Guajardo said he was hopeful that Mexico, Canada and the United States could begin discussions in June to “modernize” NAFTA, stressing that Mexico would not accept tariffs.

“It makes no sense to introduce an agreement with border restrictions or tariffs,” he told an audience of several hundred people, including executives of the Detroit automakers.

The peso’s deep losses had been working against Trump’s objective to narrow the U.S. trade deficit with Mexico, since the weaker peso makes U.S. exports more expensive in Mexico while making Mexican exports cheaper in the United States.

“A weak peso works against the interest of the U.S. administration, because it makes Mexican exports more attractive,” Guajardo said.

In his interview, Ross also suggested that a new mechanism should be created to stabilize the peso exchange rate, which added to recent speculation that Mexico could try to use more measures to bolster the currency.

Central Bank governor Agustin Carstens denied a Bloomberg story this week suggesting that Banco de Mexico was seeking a swap line with the U.S. Federal Reserve to boost liquidity.

Mexico’s central bank, which has hiked interest rates by 325 basis points since last year, last week announced plans to offer up to $20 billion in currency hedges to shore up the peso.

The central bank on Monday will auction up to $1 billion of the new hedge instruments, and on Friday it said it would offer six maturities of up to one year, offering more in shorter maturities than longer.