LEINSTER (18) 54
- Tries: Jennings, McFadden, Cronin, Carr, Nacewa, Auva'a, Macken, Toner
- Cons: Nacewa 2, Madigan 2
- Pens: McFadden, Nacewa
Glasgow (7) 13
- Tries: De Luca
- Cons: Laidlaw
- Pens: Laidlaw 2
Leinster scored eight tries against Edinburgh at the RDS to secure a home semi-final in the RaboDirect Pro12.
Shane Jennings went over for the leaders but it was cancelled out by Nick De Luca's try before Fergus McFadden and Sean Cronin touched down.
Leinster led 18-7 at the break and surged clear in the second half.
Tries from Fionn Carr, Isa Nacewa, Leo Auva'a, Brendan Macken and Devin Toner secured a comfortable win which guarantees a top-two league finish.
The game burst into life with a number of players looking to press their claims for more regular game-time, and the sight of Toner galloping into the Edinburgh 22 delighted the home support.
McFadden watched a penalty attempt flick away off the left post, but covering winger Lee Jones failed to control the difficult bouncing ball and Jennings swept in to ground it for the opening try.
McFadden failed to add the conversion and Edinburgh initiated an immediate response, piling through the middle before Greig Laidlaw's pass sent De Luca over for a well-worked try.
The right-sided conversion was landed by Laidlaw to move the Scots 7-5 ahead, but their lead was a brief one as Leinster hit back with a stunning second touchdown.
Countering from deep, Nacewa sent David Kearney surging down the right wing and his inside pass was perfectly timed for McFadden to gather and complete a 40-metre dash to the corner.
But the centre's place-kicking woes continued with a missed conversion and a penalty attempt that went wide at the midpoint of the half.
Edinburgh defended well until Kyle Traynor infringed at a 29th-minute scrum and McFadden was back on target from the resulting kick, splitting the posts from the left.
Laidlaw missed a long range effort and the hosts, retaining possession well, added a third unconverted try when hooker Cronin charged on to Isaac Boss' pass to score from close range.
Edinburgh conceded a try early in the second half as Ian Madigan's clever kick to the left was gobbled up by Carr and the conversion was supplied by Nacewa.
Two penalties from Laidlaw kept Michael Bradley's men in touch at 25-13 down, however the hosts bossed the final quarter.
A Nacewa penalty put 15 points between the sides and then the full-back burst on to a Boss pass to grab try number five which he converted himself.
A powerful lineout maul saw replacement Auva'a crash over for the sixth, and a scintillating length of the field break, sparked by man-of-the-match Madigan, put Macken over in the same right corner.
The icing on the cake for Joe Schmidt's charges was a last-minute try for giant lock Toner, who darted through a gap and muscled over past the final two defenders.
I Nacewa; D Kearney, F McFadden, G D'Arcy, F Carr; I Madigan, I Boss; H van der Merwe, S Cronin, N White; D Browne, D Toner; R Ruddock, S Jennings, J Heaslip (capt).
N Reid for Nacewa (66), B Macken for McFadden (69), E Reddan for D'Arcy (72), J McGrath for van der Merwe (66), R Strauss for Cronin (66), M Moore for White (72), K McLaughlin for Browne (61), L Auva'a for Heaslip (66).
T Brown, L Jones, N De Luca. M Scott, T Visser, G Laidlaw (capt), C Leck, K Traynor, R Ford, G Cross, E Lozada, S Cox, S McInally, R Grant, N Talei
J Thompson for Brown (48), R Hislop for Traynor (61), A Kelly for Ford (61), J Gilding for Cross (61), G Gilchrist for Cox (40), P Godman for McInally (76), D Denton for Grant (61), R Rennie for Talei (61).
P Fitzgibbon (Ireland)