India in command Chittagong, Bangladesh - Opener Gautam Gambhir slammed his maiden Test century and Rahul Dravid notched his 18th hundred to put India in command Friday on the opening day of the second cricket Test against Bangladesh.