Chasing 315 for a win, Bangladesh folded up for 286 as India not only won the match by 28 runs, but also qualified for the knockout stages.