Jamie Heaslip (left) tries to evade Edinburgh's Alasdair Strokosch
Leinster (20) 49
Try: Kearney, Contepomi, Horgan (3), Keogh.
Cons: Contepomi (5)
Pens: Contepomi (3)
Gloucester (5) 10
Try: Southwell, Cairns
Leinster ensured their progress to the Heineken Cup quarter-finals by producing some scintillating rugby in this win over Edinburgh at Donnybrook.
Shane Horgan's scored three second-half touchdowns for the home team while the superb Felipe Contepomi, Rob Kearney and Stephen Keogh also notched tries.
Leinster led 20-5 at the break with Hugh Southwell scoring Edinburgh's try.
Ben Cairns scored a second Edinburgh try after the break but it only provoked more brilliant Leinster play.
Leinster attacked right from the start and Kearney waltzed past some woeful Edinburgh tackling to score the Irish side's opening try in the fourth minute.
The home side had to repel some Edinburgh pressure before a break from the outstanding Gordon D'Arcy set up Contepomi's 21st-minute try with Horgan's bullet-like pass ensuring an easy finish for the Argentine.
Edinburgh produced some fine back play of their own to reply three minutes later with Southwell getting the touchdown after great work by Duncan Hodge and Marcus Di Rollo.
Two penalties from Contepomi extended Leinster's lead to 20-5 at the interval although the home side had Jamie Heaslip sin-binned for killing the ball in injury-time.
Leinster over-elaboration gifted Edinburgh a second try straight after the break with Cairns finishing in the corner after a turnover.
However, Leinster responded immediately with yet another D'Arcy break setting up Horgan's opening try.
Edinburgh's prospects weren't helped by the sin-binning of prop Allan Jacobsen in the 56th minute and Contepomi duly added the penalty.
More spectacular Leinster play yielded their fourth try with back row Keogh finishing off a sweeping move which had started on his own team's 10 metre line.
D'Arcy was again the provider for Horgan's second try on 67 minutes as Leinster seemed scarcely to be missing the injured Brian O'Driscoll.
Assisted by D'Arcy, Horgan completed his hat-trick six minutes from time as Leinster emphatically ensured their place in the knockout stages ahead of next weekend's final pool game against Gloucester.
Leinster's Shane Horgan:
"It's very enjoyable to be part of this Leinster team at the moment given the way we are playing but that is the way that Michael (Cheika) and David (Knox) encourage us to play.
"There were some great performances out there tonight but I thought that Trevor Hogan was particularly immense for us. Robert Kearney and Denis Hickie had great games as well."
Edinburgh coach Lynn Howells:
"It becomes more difficult when you lose your two centres early in the game and you have to reshuffle your backline.
"That made it more difficult that it would have been but credit to Leinster, they were superb.
"They had 30 minutes in the second half when they were able to go forward and keep the momentum of the game up. It was good rugby and it's good to see a side playing like that - even though we were on the receiving end."
Leinster: R Kearney, S Horgan, K Lewis, G D'Arcy, D Hickie, F Contepomi (capt), C Whitaker, S Wright, B Jackman, W Green, T Hogan, M O'Kelly, S Keogh, K Gleeson, J Heaslip. Replacements: Warner for D'Arcy (74), Fitzgerald for Hickie (69), Easterby for Whitaker (68), Vermaas for Jackman (74), Corrigan for Green (72), Finegan for O'Kelly (72), Jowitt for Gleeson (72).
Sin Bin: Heaslip (40).
Edinburgh: H Southwell, C Paterson, M Di Rollo, M Dey, B Cairns, D Hodge, J Senio, A Jacobsen, S Lawrie, A Dickinson, F Pringle, S Murray (capt), A Strokosch, A MacDonald, S Taylor. Replacements: Jorgensen for Dey (38), Kelly for Lawrie (59), Hewett for Dickinson (53), Turnbull for Pringle (63), Callam for Taylor (57).
Not Used: Hall, Easson.
Sin Bin: Jacobsen (55).
Referee: David Pearson (RFU)