When Mike Aviles arrived at JetBlue Park Tuesday as a member of the visiting team, he went immediately to the home clubhouse.

The former Red Sox infielder, who started at shortstop for Puerto Rico in a pre-World Baseball Classic exhibition game, was excited to catch up with his former teammates.

“I have a little extra energy, a little pep in my step,” said Aviles, who was 2 for 4 with a double in a 4-3 loss to the Sox. “I can see a lot of the guys I didn’t get a chance to see for a while, being in Arizona for spring training.”

The Red Sox acquired Aviles from the Royals at the trade deadline in 2011. He hit .261 with a .681 OPS over parts of two seasons and started games at four positions.

The Red Sox traded Aviles to Toronto last Oct. 21 as compensation for manager John Farrell. The Jays then traded Aviles to the Cleveland Indians 13 days later.

Farrell called Aviles at the time to wish him well.

“It was kind of cool to get a chance to talk to him because he didn’t have to do that,” Aviles said. “It showed me what kind of guy he is. I definitely appreciated that.

“It was definitely weird, what happened. But you can also take it as an honor. I know how much the Red Sox valued his leadership.”