Tennis - Australian Open - Melbourne Park, Melbourne, Australia - January 19, 2022 Spain's Rafael Nadal before his second round match against Germany's Yannick Hanfmann REUTERS/Loren Elliott | LOREN ELLIOTT

Rafa Nadal put on a clinical performance to ease past German qualifier Yannick Hanfmann 6-2 6-3 6-4 and reach the third round of the Australian Open on Wednesday keeping the Spaniard on course for a men's record 21st Grand Slam title.

The only former champion left in the men's draw at Melbourne Park, Nadal is tied on 20 majors with Roger Federer and world number one Novak Djokovic, who are both absent from the tournament.

A second Australian Open title will also make the Spaniard only the second man after Djokovic to win each of the four Grand Slam titles twice since the sport became professional in 1968.

Nadal has, however, repeatedly said that his only objective at this year's opening major was to stay healthy, having returned to the Tour after recovering from a long-standing foot problem and contracting COVID-19 last month.

"I said here before the tournament start, things are not going to be perfect, but every day that I'm going to spend on court, the chances to play better are higher," said Nadal, who won an Australian Open tune-up event, his first since August.

"I think I am doing things well. I'm excited about the fact that I'm going to be playing in a third round for one more time here after all the things I am going through. I don't have big pressure on my shoulders, honestly. I don't feel it."

The 2009 champion's only previous meeting with the 126th-ranked Hanfmann came on the Roland Garros clay in 2019 when Nadal lost just six games en route to a straight-sets victory.

The 30-year-old German did slightly better on a windy day at the Rod Laver Arena but not enough to trouble Nadal, who hit 30 winners and broke his opponent's serve four times while saving both breakpoints he faced.

Hanfmann started well by advancing to the net regularly and also drawing Nadal forward with drop shots but the Spaniard improved as the match progressed.

The sixth seed needed five match points before sealing victory when Hanfmann sent a forehand long and he will next meet either Russian Karen Khachanov or Benjamin Bonzi of France for a place in the fourth round.

Nadal said he wanted to be more aggressive on court.

"Only five matches after such a long period of time, not enough in general terms to appreciate if I am able to change something or not," he said.

"If I'm able to play more matches in the next couple of months, I hope to be able to play better and better and to improve couple of things."