However, weakness in banking stocks saw the Sensex paring some of its gains and finally ending below the 17,000 level at 16,939 -- up 154 points.
Nifty ended up 48 points at 5,098.
Markets would be looking towards the Reserve Bank of India's monetary policy review tomorrow for direction. RBI, in a continued effort to tame inflation, may hike rates by 25 bps feels bankers and analysts.
"Despite the moderation in growth, inflation is not coming off its highs and is set to remain elevated as underlying inflationary pressures remain firmly in place as excess demand should only gradually dissipate.
Against this backdrop, RBI should still, on balance, consider inflation the dominant concern and, therefore, continue to tighten, giving the repo rate a 25bp lift on Tuesday," said Leif Lybecker Eskesen, chief economist for India and ASEAN, HSBC Global Research.
The markets are likely to be volatile tomorrow as traders roll-over positions for the derivatives expiry.
On Thursday, markets are closed and Wednesday will have a special mahurat trading on the Indian bourses.
Asian markets rose on the back of hopes that European leaders are closer to a solution of the Euro-zone debt crisis.
The Hang Seng surged 4 per cent to 18,772.
Seoul Composite, Straits Times and Taiwan Weighted gained 2-3 per cent each.
BSE IT, auto and oil & gas indices jumped nearly 2 per cent each.
Bankex erased all of its gains and ended down 0.3 per cent at 11,052.
Heavyweight Reliance contributed the most to the Sensex's upmove and rose 1.3% at Rs 846.
Tata Motors from the auto pack remained the major gainer and was up 4.4 per cent at Rs 186.
The company is looking to raise $750
'India's environment for entrepreneurship positive'
Special Diwali recipes from India's FIRST MasterChef
Public sector banks get a pat from Pranab
Strike at Maruti's Manesar plant ends
Indian market not cheaper than global peers