Roger Federer Switzerland
Roger Federer is over the moon after winning the point needed to clinch the Davis Cup title for SwitzerlandReuters

Roger Federer produced a vintage performance to crush Richard Gasquet 6-4, 6-2, 6-2 and seal Switzerland's maiden Davis Cup title with a 3-1 win over hosts France on Sunday.

The 17-time Grand Slam champion shook off back problems during the weekend and recovered from Friday's defeat by Gael Monfils to hand France a third defeat in their last three finals.

With Federer imperious on serve, there was a sense of inevitability in the air of the Pierre Mauroy stadium despite the support of a record 27,448 raucous crowd and Gasquet's decent level of play.

He made more unforced errors than the gifted Frenchman -- 24 to 21 -- but hit an astonishing 62 winners, kneeling down before lying on his stomach after wrapping up the match with a cunning drop shot.

The Swiss dropped only four points on serve in the opening set, which he sealed with a whipping forehand winner after breaking Gasquet in the third game.

Varying his shots to devastating effect, Federer toyed with his opponent, who dropped serve in the first and seventh games as the Swiss bagged the second set with a drop shot having not conceded a single break point.

Gasquet, sent to the clay court by captain Arnaud Clement in place of Jo-Wilfried Tsonga, looked slightly better at the beginning of the third set as Federer became careless.

But the Swiss, who withdrew from last Sunday's ATP World Tour final with a back injury, was still the sharper player and he broke on his first opportunity in the fifth game when Gasquet sent a backhand wide.

Stan Wawrinka gave them the first point by beating Tsonga in the first singles rubber before Monfils levelled on Friday.

Switzerland were 2-1 up going into Sunday's reverse singles after Wawrinka and Federer teamed up to beat Gasquet and Julien Benneteau in the doubles on Saturday.

The fifth match between Wawrinka and Monfils was cancelled.